glib/gobject/abicheck.sh
Manish Singh 1864918b3b filter G_GNUC before PRIVATE so $ is still true.
Sun Nov 28 13:21:12 2004  Manish Singh  <yosh@gimp.org>

        * abicheck.sh: filter G_GNUC before PRIVATE so $ is still true.
2004-11-28 21:22:05 +00:00

6 lines
281 B
Bash
Executable File

#! /bin/sh
cpp -P -DG_OS_UNIX ${srcdir:-.}/gobject.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' -e 's/ PRIVATE$//' | sort > expected-abi
nm -D .libs/libgobject-2.0.so | grep " T " | cut -d ' ' -f 3 | sort > actual-abi
diff -u expected-abi actual-abi && rm expected-abi actual-abi