summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2010-09-24 15:41:24 -0300
committerJohan Dahlin <johan@gnome.org>2010-09-24 16:06:54 -0300
commit4fd326d0dc1935be6e5ecb293fd157f9349d53aa (patch)
tree37c1e01aa80b496681db448f14b4eb1bce3ff90f /misc
parent7cc31be7753b124b7f17febbbe0607765b426fa0 (diff)
downloadgobject-introspection-4fd326d0dc1935be6e5ecb293fd157f9349d53aa.tar.gz
Add a script to extract gio annotations
Diffstat (limited to 'misc')
-rwxr-xr-xmisc/extract-gio-sources.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/misc/extract-gio-sources.sh b/misc/extract-gio-sources.sh
new file mode 100755
index 00000000..ed1b8c1f
--- /dev/null
+++ b/misc/extract-gio-sources.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+GLIBDIR=$1
+tools/g-ir-annotation-tool --extract \
+ -DGIO_COMPILATION \
+ -I$GLIBDIR \
+ -I$GLIBDIR/glib \
+ -I$GLIBDIR/gobject \
+ -I$GLIBDIR/gmodule \
+ -I$GLIBDIR/gio \
+ $GLIBDIR/gio/*.c $GLIBDIR/gio/*.h