GNOME Bugzilla – Bug 596420
guint8 pointer as return value scanned as array
Last modified: 2015-02-07 17:03:17 UTC
/** * uint8_return_ptr: * Returns: (transfer none): */ guint8 *uint8_return_ptr (void); gives <function name="uint8_return_ptr" c:identifier="uint8_return_ptr"> <return-value transfer-ownership="none"> <array c:type="guint8*"> <type name="uint8"/> </array> </return-value> </function> I'd expect it to be scanned as a simple pointer, not as an array. For any other type (i.e. int8, (u)int, (u)int16, 32, etc.), it works as expected.
This is correct, there are no 'simple pointers' in the typelib.
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]