]> git.sesse.net Git - vlc/blob - src/check_symbols
SplitMRL: warn if we get a path instead of a MRL/URI
[vlc] / src / check_symbols
1 #! /bin/sh
2 # Plugin API consistency check for VLC
3 # Copyright © 2007 Rémi Denis-Courmont.
4
5 if ! diff -u libvlc-headers.sym libvlc-sorted.sym; then
6         echo "Mismatching symbols found!"
7         exit 1
8 fi
9
10 # TODO: we should pass this:
11 #if grep -e "^_" libvlc-headers.sym; then
12 #       echo "Illegal symbol name (starting with underscore) found!";
13 #       exit 1
14 #fi