diff options
author | Jérémy Zurcher <jeremy.zurcher@heraeus.com> | 2011-04-18 15:13:07 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy.zurcher@heraeus.com> | 2011-04-18 15:13:07 +0200 |
commit | b2d1dc07f424ccf484daa27bbb259cc41859e1dd (patch) | |
tree | b0a1648370dce8b3a3e25d464e51e8edc06f6458 /tools/extract-api.sh | |
parent | 407a73b868c98a2e275b2f00663f62d7b9df32b9 (diff) | |
download | ffi-efl-b2d1dc07f424ccf484daa27bbb259cc41859e1dd.zip ffi-efl-b2d1dc07f424ccf484daa27bbb259cc41859e1dd.tar.gz |
update tools/sed-* and tools/extract-api.sh
Diffstat (limited to 'tools/extract-api.sh')
-rwxr-xr-x | tools/extract-api.sh | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tools/extract-api.sh b/tools/extract-api.sh index 04d51d2..00c3a5d 100755 --- a/tools/extract-api.sh +++ b/tools/extract-api.sh @@ -15,6 +15,7 @@ for header in \ "${INCLUDE}/evas-1/Evas_GL.h" \ "${INCLUDE}/ecore-1/Ecore.h" \ "${INCLUDE}/ecore-1/Ecore_Con.h" \ + "${INCLUDE}/ecore-1/Ecore_Input.h" \ "${INCLUDE}/ecore-1/Ecore_Evas.h" \ "${INCLUDE}/ecore-1/Ecore_Fb.h" \ "${INCLUDE}/ecore-1/Ecore_File.h" \ @@ -26,11 +27,9 @@ for header in \ # mv $CURRENT/$FILE-* $PREV/ 2>/dev/null # - 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 + for what in functions enums types callbacks; do + F=$FILE-$what + cat $header | sed -r -n -f sed-$what > $CURRENT/$F if [ -f $PREV/$F ]; then diff -u0 $PREV/$F $CURRENT/$F > $F-diff N=$(cat $F-diff | wc -l) |