summaryrefslogtreecommitdiffstats
path: root/tools/extract-api.sh
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy.zurcher@heraeus.com>2011-04-18 10:51:52 +0200
committerJérémy Zurcher <jeremy.zurcher@heraeus.com>2011-04-18 10:51:52 +0200
commit407a73b868c98a2e275b2f00663f62d7b9df32b9 (patch)
treee405d5d0c9693fdadb862870965f68d2e5aa0118 /tools/extract-api.sh
parentb1da07fc80bb63e21ef38d3632f6175d7e623be0 (diff)
downloadffi-efl-407a73b868c98a2e275b2f00663f62d7b9df32b9.zip
ffi-efl-407a73b868c98a2e275b2f00663f62d7b9df32b9.tar.gz
generate -callbacks
Diffstat (limited to 'tools/extract-api.sh')
-rwxr-xr-xtools/extract-api.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/extract-api.sh b/tools/extract-api.sh
index 406c033..04d51d2 100755
--- a/tools/extract-api.sh
+++ b/tools/extract-api.sh
@@ -26,9 +26,9 @@ for header in \
#
mv $CURRENT/$FILE-* $PREV/ 2>/dev/null
#
- cat $header | sed -r -n -f sed-functions > $CURRENT/$FILE-funcs
- cat $header | sed -r -n -f sed-enums > $CURRENT/$FILE-enums
- cat $header | sed -r -n -f sed-structs > $CURRENT/$FILE-structs
+ for what in functions enums structs callbacks; do
+ cat $header | sed -r -n -f sed-$what > $CURRENT/$FILE-$what
+ done
#
for F in $FILE-funcs $FILE-enums $FILE-structs ; do
if [ -f $PREV/$F ]; then