Bug 572075 - Make the scanner work with static and convenience libraries
authorOwen W. Taylor <otaylor@fishsoup.net>
Mon, 16 Feb 2009 21:52:52 +0000 (16:52 -0500)
committerOwen W. Taylor <otaylor@fishsoup.net>
Thu, 19 Feb 2009 17:05:10 +0000 (12:05 -0500)
commitec3bcb29fb938ac3d0ea70c1b739a76970613403
treeca9b66c1652fc85fd7421097a9886a285f6ba247
parent8b1299bec2c976420bc987daf25ad74d9b615d55
Bug 572075 - Make the scanner work with static and convenience libraries

We need to reference the get_type() functions we are going to dlsym
or otherwise the linker may not include them in the introspection
binary.

giscanner/dumper.py: Accept a list of _get_type() functions
  and write an array referencing them into the introspection
  binary.
giscanner/glibtransformer.py: Break parsing into too stages -
 the stage where we compute the _get_type() functions and the
 stage where we invoke the introspection binary.
tools/g-ir-scanner: Pass _get_type() functions from the
 scanner when creating the introspection binary.

http://bugzilla.gnome.org/show_bug.cgi?id=572075
giscanner/dumper.py
giscanner/glibtransformer.py
tools/g-ir-scanner