mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-27 17:52:58 +02:00
added g_hash_table_find and a bunch of g_queue_*
2003-02-26 Hans Breuer <hans@breuer.org> * glib/glib.def : added g_hash_table_find and a bunch of g_queue_* * glib/gmain.c : make it compile on win32, child_wake_up_pipe replaced by semaphore like it is done for the other wake_up_pipe * config.h.win32.in : added HAVE_INT64_AND_I64 * glibconfig.h.win32.in : G_MAXSIZE .. G_M??INT64, and typedef for GPid * test/env-test.c : don't let the local log function collide in namespace with standard C
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
#endif
|
||||
|
||||
static void
|
||||
log (const gchar *log_domain,
|
||||
_log (const gchar *log_domain,
|
||||
GLogLevelFlags log_level,
|
||||
const gchar *message,
|
||||
gpointer user_data)
|
||||
@@ -62,7 +62,7 @@ main (int argc, char *argv[])
|
||||
gchar *value1 = "works";
|
||||
gchar *value2 = "again";
|
||||
|
||||
g_log_set_handler ("GLib", G_LOG_LEVEL_CRITICAL, log, NULL);
|
||||
g_log_set_handler ("GLib", G_LOG_LEVEL_CRITICAL, _log, NULL);
|
||||
|
||||
data = g_getenv (variable);
|
||||
g_assert (data == NULL && "TEST_G_SETENV already set");
|
||||
|
Reference in New Issue
Block a user