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:
3f35eb9
)
only attempt load a library if one was specified
author
Johan Dahlin
<johan@src.gnome.org>
Tue, 22 Apr 2008 04:31:44 +0000
(
04:31
+0000)
committer
Johan Dahlin
<johan@src.gnome.org>
Tue, 22 Apr 2008 04:31:44 +0000
(
04:31
+0000)
svn path=/trunk/; revision=210
tools/g-ir-scanner
patch
|
blob
|
history
diff --git
a/tools/g-ir-scanner
b/tools/g-ir-scanner
index
4a5b4ea
..
c5ffb79
100755
(executable)
--- a/
tools/g-ir-scanner
+++ b/
tools/g-ir-scanner
@@
-72,7
+72,8
@@
def main(args):
ss.parse_macros()
builder = GObjectTreeBuilder(options.namespace)
- builder.load_library(options.library)
+ if options.library:
+ builder.load_library(options.library)
for include in options.includes:
builder.register_include(include)
builder.parse(TreeBuilder(ss).get_nodes())