[gobject-introspection] Revert "scanner: Stop predeclaring the functions that are to be scanned"
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] Revert "scanner: Stop predeclaring the functions that are to be scanned"
- Date: Tue, 11 Jan 2011 16:17:02 +0000 (UTC)
commit f5655f0a885210624e907e34912f37175543216b
Author: Colin Walters <walters verbum org>
Date: Tue Jan 11 10:46:12 2011 -0500
Revert "scanner: Stop predeclaring the functions that are to be scanned"
This reverts commit 88553b4cd6776b7eff9a3b1d63eb8e49be0bd8f2.
giscanner/dumper.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/giscanner/dumper.py b/giscanner/dumper.py
index d9c5289..0e2bb59 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:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]