summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2010-09-24 16:24:17 -0300
committerJohan Dahlin <johan@gnome.org>2010-09-24 16:24:17 -0300
commite734369158a6da373f8213abe58efbde4d0b0904 (patch)
tree90a3e82383ff9337941cd5acf9a5682ba0b48cce
parent5c6bd7a8f2c9477b7826c6261b1be654bb4a3acd (diff)
downloadgobject-introspection-e734369158a6da373f8213abe58efbde4d0b0904.tar.gz
Add a script to import gobject annotations
-rwxr-xr-xmisc/extract-gobject-sources.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/misc/extract-gobject-sources.sh b/misc/extract-gobject-sources.sh
new file mode 100755
index 00000000..9e7679e6
--- /dev/null
+++ b/misc/extract-gobject-sources.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+GLIBDIR=$1
+tools/g-ir-annotation-tool --extract \
+ -DGOBJECT_COMPILATION \
+ -I$GLIBDIR \
+ -I$GLIBDIR/glib \
+ -I$GLIBDIR/gobject \
+ -I$GLIBDIR/gmodule \
+ $GLIBDIR/gobject/*.c $GLIBDIR/gobject/*.h