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 606452 - Pointers to structures in structures indistinguishable from nested structures
Pointers to structures in structures indistinguishable from nested structures
Status: RESOLVED INVALID
Product: gobject-introspection
Classification: Platform
Component: general
2.23.x
Other Linux
: Normal normal
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Blocks: 603537
 
 
Reported: 2010-01-08 21:00 UTC by Simon van der Linden
Modified: 2015-02-07 16:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Testcase (1.45 KB, patch)
2010-02-06 15:44 UTC, Simon van der Linden
none Details | Review

Description Simon van der Linden 2010-01-08 21:00:59 UTC
For the following fields, g_type_info_is_pointer returns False in both cases, making it impossible to tell them apart.

typedef struct {
	FooStruct struct_;
} FooStructWithStructValue;

and

typedef struct {
	FooStruct *struct_;
} FooStructWithStructPointer;
Comment 1 Javier Jardón (IRC: jjardon) 2010-01-09 14:08:36 UTC
Hello Simon,

what version of Glib are you using?
Comment 2 Simon van der Linden 2010-01-09 14:17:25 UTC
(In reply to comment #1)
> what version of Glib are you using?

git master for the GLib, 0.6.7 for GObject-Introspection.
Comment 3 Simon van der Linden 2010-02-06 15:44:04 UTC
Created attachment 153142 [details] [review]
Testcase
Comment 4 Simon van der Linden 2010-02-06 15:45:14 UTC
The bug doesn't seem to be valid in the last version of gobject-introspection.
Comment 5 André Klapper 2015-02-07 16:53:27 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]