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 460127 - parsing nested union/structs confuses public/private state
parsing nested union/structs confuses public/private state
Status: RESOLVED FIXED
Product: gtk-doc
Classification: Platform
Component: general
1.8
Other Linux
: Normal normal
: 1.9
Assigned To: gtk-doc maintainers
gtk-doc maintainers
Depends on:
Blocks:
 
 
Reported: 2007-07-25 07:17 UTC by Stefan Sauer (gstreamer, gtkdoc dev)
Modified: 2007-09-22 19:54 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Stefan Sauer (gstreamer, gtkdoc dev) 2007-07-25 07:17:40 UTC
struct _MyObject {
  GObject      object;

  /*< public >*/
  gint a;

  /*< private >*/
  union {
    struct {
      gint b;
    } ABI;
    gpointer _reserved[GST_PADDING + 0];
  } abidata;
};

yields an entry in -undocumented.txt
MyObject (_reserved)
Comment 1 Stefan Sauer (gstreamer, gtkdoc dev) 2007-07-25 10:03:22 UTC
This must be in gtkdoc-common.pl::ParseStructDeclaration
Comment 2 Stefan Sauer (gstreamer, gtkdoc dev) 2007-08-12 18:42:11 UTC
Fixed together with other fixes.