diff options
author | Colin Walters <walters@verbum.org> | 2011-01-11 10:46:12 -0500 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2011-01-11 10:46:12 -0500 |
commit | f5655f0a885210624e907e34912f37175543216b (patch) | |
tree | a71e538baf2b5e92a21ee80c350aa5b836912461 | |
parent | d27ff4659789d701bcc79a5ae713e445d0d7f9d8 (diff) | |
download | gobject-introspection-f5655f0a885210624e907e34912f37175543216b.tar.gz |
Revert "scanner: Stop predeclaring the functions that are to be scanned"
This reverts commit 88553b4cd6776b7eff9a3b1d63eb8e49be0bd8f2.
-rw-r--r-- | giscanner/dumper.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/giscanner/dumper.py b/giscanner/dumper.py index d9c52890..0e2bb59a 100644 --- a/giscanner/dumper.py +++ b/giscanner/dumper.py @@ -118,6 +118,8 @@ class DumpCompiler(object): # pulled in at the linking stage if the library is a static library # rather than a shared library. if len(self._get_type_functions) > 0: + for func in self._get_type_functions: + f.write("extern GType " + func + "(void);\n") f.write("GType (*GI_GET_TYPE_FUNCS_[])(void) = {\n") first = True for func in self._get_type_functions: |