2 # Plugin API consistency check for VLC
3 # Copyright © 2007 Rémi Denis-Courmont.
5 rm -f libvlc-headers.sym
7 cat ${srcdir}/..
/include
/vlc_
*.h | \
8 sed -n -e 's/^VLC_EXPORT\s*([^,]*,\s*\([a-zA-Z0-9_]*\)\s*,.*$/\1/p' | \
9 sort -du > libvlc-headers.sym
11 if ! diff -u ${srcdir}/libvlc.sym libvlc-headers.sym
; then
12 echo "Mismatching symbols found!"
16 # TODO: we should pass this:
17 #if grep -e "^_" libvlc-headers.sym; then
18 # echo "Illegal symbol name (starting with underscore) found!";