summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/abicheck.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gdk-pixbuf/abicheck.sh')
-rwxr-xr-xgdk-pixbuf/abicheck.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdk-pixbuf/abicheck.sh b/gdk-pixbuf/abicheck.sh
new file mode 100755
index 0000000000..9363c889d1
--- /dev/null
+++ b/gdk-pixbuf/abicheck.sh
@@ -0,0 +1,5 @@
+#! /bin/sh
+
+cpp -P -DINCLUDE_INTERNAL_SYMBOLS -DINCLUDE_MMX_SYMBOLS gdk-pixbuf.symbols | sed -e '/^$/d' | sort > expected-abi
+nm -D .libs/libgdk_pixbuf-2.0.so | grep " T " | cut -c12- | grep "^\(gdk\|pixops\)_" | sort > actual-abi
+diff -u expected-abi actual-abi