def _parse_function(self, func):
if func.symbol in SYMBOL_BLACKLIST:
- print "WARNING: Skipping blacklisted function: %r" \
- % (func.symbol, )
return
if self._parse_get_type_function(func):
return
symbol = func.symbol
if not symbol.endswith('_get_type'):
return False
+ if self._namespace_name == 'GLib':
+ # No GObjects in GLib
+ return False
# GType *_get_type(void)
# This is a bit fishy, why do we need all these aliases?
if func.retval.type.name not in ['Type',
# already
if func.symbol.endswith('_get_type'):
return None
+ if self._namespace_name == 'GLib':
+ # No GObjects in GLib
+ return None
if not is_method:
target_arg = func.retval