check_symbols
资源名称:vlc-1.0.5.zip [点击查看]
上传用户:kjfoods
上传日期:2020-07-06
资源大小:29949k
文件大小:1k
源码类别:
midi
开发平台:
Unix_Linux
- #! /bin/sh
- # Plugin API consistency check for VLC
- # Copyright 漏 2007 R茅mi Denis-Courmont.
- rm -f libvlc-headers.sym
- cat ${srcdir}/../include/vlc_*.h ${srcdir}/control/*.h |
- sed -n -e 's/^[ ]*VLC_EXPORT[ ]*([^,]*,([^,]*),.*/1/p' |
- sed -e 's/[^a-zA-Z0-9_]*//' |
- sort -fdu > libvlc-headers.sym
- if ! diff -u ${srcdir}/libvlccore.sym libvlc-headers.sym; then
- echo "Mismatching symbols found!"
- exit 1
- fi
- # TODO: we should pass this:
- #if grep -e "^_" libvlc-headers.sym; then
- # echo "Illegal symbol name (starting with underscore) found!";
- # exit 1
- #fi
- rm -f libvlc-headers.sym