Commit d40699c1 authored by Matthias Clasen's avatar Matthias Clasen

Tighten up ABI checking a bit

parent 4b73b759
2005-08-07 Matthias Clasen <mclasen@redhat.com>
* gdk/gdk.symbols: Add the gdk_display variable.
* gdk/abicheck.sh:
* gtk/abicheck.sh: Also check exported variables.
Fri Aug 5 16:54:19 2005 Søren Sandmann <sandmann@redhat.com>
......
2005-08-07 Matthias Clasen <mclasen@redhat.com>
* gdk/gdk.symbols: Add the gdk_display variable.
* gdk/abicheck.sh:
* gtk/abicheck.sh: Also check exported variables.
Fri Aug 5 16:54:19 2005 Søren Sandmann <sandmann@redhat.com>
......
2005-08-07 Matthias Clasen <mclasen@redhat.com>
* gdk/gdk.symbols: Add the gdk_display variable.
* gdk/abicheck.sh:
* gtk/abicheck.sh: Also check exported variables.
Fri Aug 5 16:54:19 2005 Søren Sandmann <sandmann@redhat.com>
......
#! /bin/sh
cpp -P -DALL_FILES -DGDK_ENABLE_BROKEN -DGDK_WINDOWING_X11 ${srcdir:-.}/gdk.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' | sort | uniq > expected-abi
nm -D .libs/libgdk-x11-2.0.so | grep " T " | cut -d ' ' -f 3 | sort > actual-abi
cpp -DINCLUDE_VARIABLES -P -DALL_FILES -DGDK_ENABLE_BROKEN -DGDK_WINDOWING_X11 ${srcdir:-.}/gdk.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' | sort | uniq > expected-abi
nm -D .libs/libgdk-x11-2.0.so | grep " [BDTR] " | cut -d ' ' -f 3 | sort > actual-abi
diff -u expected-abi actual-abi && rm expected-abi actual-abi
......@@ -1195,4 +1195,7 @@ gdk_xid_table_lookup_for_display
gdk_threads_mutex
gdk_threads_lock
gdk_threads_unlock
#ifdef GDK_WINDOWING_X11
gdk_display
#endif
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment