2008-10-12 Johan Bilien <jobi@via.ecp.fr>
* giscanner/transformer.py: prefix for constants have an underscore,
so remove them as if they were functions, not objects.
svn path=/trunk/; revision=694
+2008-10-12 Johan Bilien <jobi@via.ecp.fr>
+
+ * giscanner/transformer.py: prefix for constants have an underscore,
+ so remove them as if they were functions, not objects.
+
2008-10-12 Johan Bilien <jobi@via.ecp.fr>
* tests/scanner/foo-1.0-expected.gir: add constants to expected gir
def _create_const(self, symbol):
name = self._remove_prefix(symbol.ident)
- name = self.strip_namespace_object(name)
+ name = self._strip_namespace_func(name)
if symbol.const_string is None:
type_name = 'int'
value = symbol.const_int