projects
/
platform
/
upstream
/
gobject-introspection.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24d9f13
)
Revert "scanner: Include all headers when building the dumper binary"
author
Colin Walters
<walters@verbum.org>
Tue, 11 Jan 2011 15:46:01 +0000
(10:46 -0500)
committer
Colin Walters
<walters@verbum.org>
Tue, 11 Jan 2011 15:46:01 +0000
(10:46 -0500)
This reverts commit
bedd7dd61508684b78bd1e95fed8025d48661b48
.
giscanner/dumper.py
patch
|
blob
|
history
diff --git
a/giscanner/dumper.py
b/giscanner/dumper.py
index fcc00026451acac3577eda54ac2f33d4acb3d38b..d9c52890f02304b2337bc76d06885718b26a8eee 100644
(file)
--- a/
giscanner/dumper.py
+++ b/
giscanner/dumper.py
@@
-37,8
+37,6
@@
_PROGRAM_TEMPLATE = """/* This file is generated, do not edit */
#include <string.h>
#include <stdlib.h>
-%(c_include)s
-
%(gdump_include)s
int
@@
-109,7
+107,6
@@
class DumpCompiler(object):
gdump_file = open(gdump_path)
gdump_contents = gdump_file.read()
gdump_file.close()
- tpl_args['c_include'] = "\n".join("#include <%s>" % i for i in self._options.c_includes)
tpl_args['gdump_include'] = gdump_contents
tpl_args['init_sections'] = "\n".join(self._options.init_sections)