diff options
Diffstat (limited to 'CNativeCode/getProtos')
-rwxr-xr-x | CNativeCode/getProtos | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/CNativeCode/getProtos b/CNativeCode/getProtos new file mode 100755 index 0000000..d133bea --- /dev/null +++ b/CNativeCode/getProtos @@ -0,0 +1,11 @@ +#! /bin/sh + +rm a.h + +for i in $(cat aaa.txt); do + echo looking for $i + sed -n "/$i(/,/);/w a.tmp.h" /usr/local/src/mesa/include/GL/gl.h + cat a.tmp.h >> a.h +done + +rm a.tmp.h |