Fixed PLT symbol exports for gtestframework.h.
authorTim Janik <timj@src.gnome.org>
Tue, 20 Nov 2007 15:00:48 +0000 (15:00 +0000)
committerTim Janik <timj@src.gnome.org>
Tue, 20 Nov 2007 15:00:48 +0000 (15:00 +0000)
* glib/glib.symbols: added all exported gtestframework.h symbols.

* glib/gtestframework.c: include galias.h, galiasdef.c, define __G_TESTFRAMEWORK_C__.

svn path=/trunk/; revision=5901

glib/glib.symbols
glib/gtestframework.c

index deb7d8d..72c8a89 100644 (file)
@@ -1240,6 +1240,46 @@ g_thread_pool_set_sort_function
 #endif
 #endif
 
+#if IN_HEADER(__G_TESTFRAMEWORK_H__)
+#if IN_FILE(__G_TESTFRAMEWORK_C__)
+g_assertion_message
+g_assertion_message_cmpnum
+g_assertion_message_cmpstr
+g_assertion_message_expr
+g_strcmp0
+g_test_add_func
+g_test_add_vtable
+g_test_create_case
+g_test_create_suite
+g_test_get_root
+g_test_init
+g_test_log_buffer_free
+g_test_log_buffer_new
+g_test_log_buffer_pop
+g_test_log_buffer_push
+g_test_log_msg_free
+g_test_log_type_name
+g_test_maximized_result
+g_test_minimized_result
+g_test_queue_free
+g_test_rand_double
+g_test_rand_double_range
+g_test_rand_int
+g_test_rand_int_range
+g_test_run
+g_test_run_suite
+g_test_suite_add
+g_test_suite_add_suite
+g_test_timer_elapsed
+g_test_timer_last
+g_test_timer_start
+g_test_trap_assertions
+g_test_trap_fork
+g_test_trap_has_passed
+g_test_trap_reached_timeout
+#endif
+#endif
+
 #if IN_HEADER(__G_TIMER_H__)
 #if IN_FILE(__G_TIMER_C__)
 g_timer_continue
index a459f9a..c2e1c03 100644 (file)
@@ -18,6 +18,7 @@
  */
 #include "config.h"
 #include "gtestframework.h"
+#include "galias.h"
 #include <sys/types.h>
 #include <sys/wait.h>
 #include <fcntl.h>
@@ -1258,3 +1259,6 @@ g_test_log_msg_free (GTestLogMsg *tmsg)
   g_free (tmsg->nums);
   g_free (tmsg);
 }
+
+#define __G_TESTFRAMEWORK_C__
+#include "galiasdef.c"