glib/glib/abicheck.sh
Manish Singh 131f4c67fb filter G_GNUC before PRIVATE so $ is still true.
Sun Nov 28 13:13:56 2004  Manish Singh  <yosh@gimp.org>

        * glib/abicheck.sh: filter G_GNUC before PRIVATE so $ is still true.

        * tests/utf8-validate.c: cast pointer math to gint for error print
        message.
2004-11-28 21:21:14 +00:00

6 lines
302 B
Bash
Executable File

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