GNOME Bugzilla – Bug 628270
[VFuncBlob] Unknown struct offset should be 0xFFFF
Last modified: 2015-02-07 16:50:35 UTC
When the struct offset is unknown, it is currently set to 0 instead of 0xFFFF, which is the value specified by the documentation. This is a problem as it is a legal value.
Created attachment 169016 [details] [review] [VFuncBlob] Unknown struct offset should be 0xFFFF Documentation says about g_vfunc_get_offset(): "Obtain the offset of the function pointer in the class struct. The value 0xFFFF indicates that the struct offset is unknown." But g-ir-compiler did set the value to 0 when the offset is unknown. This patch fixes it.
Review of attachment 169016 [details] [review]: This should be okay, as far as I know no bindings use GIVFuncInfo yet.
Attachment 169016 [details] pushed as f1a4bb9 - [VFuncBlob] Unknown struct offset should be 0xFFFF
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]