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 560250 - [PATCH] Fully parse included modules
[PATCH] Fully parse included modules
Status: RESOLVED FIXED
Product: gobject-introspection
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Blocks: 560252
 
 
Reported: 2008-11-10 23:30 UTC by Owen Taylor
Modified: 2015-02-07 16:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch as described (8.08 KB, patch)
2008-11-10 23:31 UTC, Owen Taylor
accepted-commit_now Details | Review

Description Owen Taylor 2008-11-10 23:30:49 UTC
For some things, like computing structure offsets to put into the typelib
we need more than just the aliases from included modules. Do a completel
parse of included modules and store in module->included_modules.

Also add g_ir_find_node() to find node information from within the
active set of modules and their includes.
Comment 1 Owen Taylor 2008-11-10 23:31:16 UTC
Created attachment 122370 [details] [review]
Patch as described
Comment 2 Johan (not receiving bugmail) Dahlin 2008-11-11 00:29:42 UTC
Comment on attachment 122370 [details] [review]
Patch as described

Looks good to me.
We're not really worrying about leaks in the scanner/compiler at the moment, they're just a one-shot anyway.
Comment 3 Owen Taylor 2008-11-11 05:14:02 UTC
Committed.
Comment 4 André Klapper 2015-02-07 16:58:09 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]