Welcome to mirror list, hosted at ThFree Co, Russian Federation.

check-exports « docs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 549a0d4ae5e238171b4f296cd4a2719b9ebd8fd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
dir=`dirname $0`

for file in $*; 
do
	perl $dir/exdoc $file | grep ^Function:  | sed -e 's/Function: //' -e 's/://' > documented
	nm `dirname $file`/.libs/`basename $file .c`.o | grep ' T ' | sed 's/.* T //' > public
	for i in `cat public | grep -v $dir/ignore`; do
		if grep $i documented > /dev/null; then
			true
		else
			echo $i is not documented | grep -v ves_icall
		fi
	done
done