3 # Produces two lists in docscripts:
4 # public-api with the public API except the Wapi
5 # wapi the public WAPI API
11 sed -e 's/^\t<h4>//' -e 's/$/<\/h4>/'
16 fgrep
-v -f $dir/ignore
21 fgrep
-w -v -f $dir/hidden_methods
26 grep ' T ' |
sed 's/.* T //'
31 grep -v _wapi | fgrep
-v -f $dir/wapi
34 if grep ^$ ignore
>/dev
/null
; then
35 echo The ignore
file contains empty lines
, which breaks this
script, please remove
40 # generate the internals file
41 objdump
-t ..
/mono
/mini
/.libs
/libmono-2.0.a |
grep "\.hidden" |
sed 's/.*\.hidden //' > hidden_methods
43 nm
$dir/..
/mono
/io-layer
/.libs
/*.o | clean_nm |
grep -v _wapi | ignore_known |
sort > $dir/wapi
44 nm
$dir/..
/mono
/mini
/.libs
/libmono-2.0.a | clean_nm | ignore_known | ignore_hidden | ignore_wapi |
grep -v ^ves_icall |
egrep -v '^(mono_arch_|monoeg)' |
sort > $dir/public-api