After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 702193 - No bitfield information in typelib files
No bitfield information in typelib files
Status: RESOLVED DUPLICATE of bug 560280
Product: gobject-introspection
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-06-13 16:45 UTC by DTJF
Modified: 2015-02-07 16:59 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description DTJF 2013-06-13 16:45:37 UTC
typelib files don't contain information about the number of bits in a bitfield (GI_INFO_TYPE_FIELD-->bits is allways set to zero.)

Presumptively the initialization in file

  girnode.c --> _g_ir_node_build_typelib

is buggy. Line

  blob->bits = 0; // ~ line 1570

should be replaced by

  blob->bits = field->bits;
  blob->reserved2 = 0;

BR
Comment 1 Emmanuele Bassi (:ebassi) 2013-08-26 11:21:19 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 560280 ***
Comment 2 André Klapper 2015-02-07 16:59:22 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]