Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (12 sloc) 0.39 kb
#!/bin/bash
# Extract function prototypes from header files
# Thomas Perl <m@thp.io>; 2012-10-19
for file in $*; do
echo "*** $file ***"
rm -f $file.h $file.missing
cproto -x <$file >tmp
for symbol in $(cat $(dirname $file)/$(basename $file .includes.android)); do
grep '\<'$symbol'\>(' <tmp >>$file.h || (echo $symbol >>$file.missing)
done
rm -f tmp
done
Jump to Line
Something went wrong with that request. Please try again.