summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2011-01-10 18:53:55 +0100
committerBenjamin Otte <otte@redhat.com>2011-01-10 19:22:41 +0100
commit88553b4cd6776b7eff9a3b1d63eb8e49be0bd8f2 (patch)
tree537e968374d0d119d839a641fa9b8b9239073634
parentbedd7dd61508684b78bd1e95fed8025d48661b48 (diff)
downloadgobject-introspection-88553b4cd6776b7eff9a3b1d63eb8e49be0bd8f2.tar.gz
scanner: Stop predeclaring the functions that are to be scanned
Instead, rely on the c_includes. See the previous commit for details.
-rw-r--r--giscanner/dumper.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/giscanner/dumper.py b/giscanner/dumper.py
index 538fe0e4..36a88076 100644
--- a/giscanner/dumper.py
+++ b/giscanner/dumper.py
@@ -121,8 +121,6 @@ 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: