Tighten up ABI checking a bit

This commit is contained in:
Matthias Clasen
2005-08-07 13:46:06 +00:00
parent 4b73b75936
commit d40699c1b5
5 changed files with 14 additions and 2 deletions

View File

@@ -1,5 +1,8 @@
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>

View File

@@ -1,5 +1,8 @@
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>

View File

@@ -1,5 +1,8 @@
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>

View File

@@ -1,5 +1,5 @@
#! /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

View File

@@ -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