Debian Codegraph @

xbin/get-internal-calls

raw
1 echo '(setq all-references ('
2 for v in $@ ; do
3 echo
4 echo ';;/*' for file $v '*/'
5 echo
6 echo '(' \"$v\"
7 grep ":IC" $v > tmpx.c
8 gcc -E tmpx.c | sed -e '/# [0-9]/d' -e '/ static /d' \
9 -e "s:\\(.*\\) \\([a-zA-Z_0-9]*\\) \\((.*)\\);:\"\\2\":g" | sort
10 echo ')'
11 done
12 echo '))'