Revert "GIOScheduler: Avoid constant iteration over pending job list"
[platform/upstream/glib.git] / gio / abicheck.sh
1 #! /bin/sh
2
3 egrep '^#([^i]|if).*[^\]$' "${top_builddir:-..}/glib/glibconfig.h" > glibconfig.cpp
4
5 INCLUDES="-include ${top_builddir:-..}/config.h"
6 INCLUDES="$INCLUDES -include glibconfig.cpp"
7
8 cpp -P $INCLUDES ${srcdir:-.}/gio.symbols | sed -e '/^$/d' -e 's/ PRIVATE$//' | sort > expected-abi
9 rm glibconfig.cpp
10
11 nm -D -g --defined-only .libs/libgio-2.0.so | cut -d ' ' -f 3 | egrep -v '^(__bss_start|_edata|_end)' | sort > actual-abi
12
13 diff -u expected-abi actual-abi && rm expected-abi actual-abi