diff options
author | Colin Walters <walters@verbum.org> | 2013-02-24 11:58:57 -0500 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2013-02-26 16:25:11 -0500 |
commit | 95f80c1ae03dfe8a68d3c7ec21ce696ac839ea57 (patch) | |
tree | 4c29e80f91de948ca3c2df9fc9b7d9e60a38d7ca /giscanner/scannermain.py | |
parent | dfeaf33c8a4ae7e25b4a83d0b31c4d435b4ef7de (diff) | |
download | gobject-introspection-95f80c1ae03dfe8a68d3c7ec21ce696ac839ea57.tar.gz |
scanner: internals cleanup: Move shared libraries to Namespace
Continuing on with previous commit.
Diffstat (limited to 'giscanner/scannermain.py')
-rwxr-xr-x | giscanner/scannermain.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/giscanner/scannermain.py b/giscanner/scannermain.py index 9ca45a2f..ccd828da 100755 --- a/giscanner/scannermain.py +++ b/giscanner/scannermain.py @@ -194,7 +194,6 @@ def passthrough_gir(path, f): parser.parse(path) writer = GIRWriter(parser.get_namespace(), - parser.get_shared_libraries(), parser.get_pkgconfig_packages(), parser.get_c_includes()) f.write(writer.get_xml()) @@ -450,6 +449,8 @@ def scanner_main(args): else: shlibs = [] + transformer.namespace.shared_libraries = shlibs + main = MainTransformer(transformer, blocks) main.transform() @@ -472,7 +473,7 @@ def scanner_main(args): else: exported_packages = options.packages - writer = Writer(transformer.namespace, shlibs, + writer = Writer(transformer.namespace, exported_packages, options.c_includes) data = writer.get_xml() |