mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-03 22:52:09 +01:00
Move glib_debug_objects out of the G_ENABLE_DEBUG #ifdef.
2001-01-03 Alexander Larsson <alexl@redhat.com> * gobject.c: Move glib_debug_objects out of the G_ENABLE_DEBUG #ifdef.
This commit is contained in:
parent
e3c9221e8c
commit
2b579b5933
@ -1,3 +1,8 @@
|
|||||||
|
2001-01-03 Alexander Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
|
* gobject.c:
|
||||||
|
Move glib_debug_objects out of the G_ENABLE_DEBUG #ifdef.
|
||||||
|
|
||||||
Thu Dec 28 11:36:44 2000 Tim Janik <timj@gtk.org>
|
Thu Dec 28 11:36:44 2000 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gbsearcharray.c (upper_power2): disable G_BSEARCH_ALIGN_POWER2
|
* gbsearcharray.c (upper_power2): disable G_BSEARCH_ALIGN_POWER2
|
||||||
|
@ -133,13 +133,14 @@ static gulong gobject_signals[LAST_SIGNAL] = { 0, };
|
|||||||
|
|
||||||
|
|
||||||
/* --- functions --- */
|
/* --- functions --- */
|
||||||
#ifdef G_ENABLE_DEBUG
|
|
||||||
/* We need an actual method for handling debug keys in GLib.
|
/* We need an actual method for handling debug keys in GLib.
|
||||||
* For now, we'll simply use, as a method
|
* For now, we'll simply use, as a method
|
||||||
* 'extern gboolean glib_debug_objects'
|
* 'extern gboolean glib_debug_objects'
|
||||||
*/
|
*/
|
||||||
static volatile GObject *glib_trap_object_ref = NULL;
|
|
||||||
gboolean glib_debug_objects = FALSE;
|
gboolean glib_debug_objects = FALSE;
|
||||||
|
|
||||||
|
#ifdef G_ENABLE_DEBUG
|
||||||
|
static volatile GObject *glib_trap_object_ref = NULL;
|
||||||
static guint debug_objects_count = 0;
|
static guint debug_objects_count = 0;
|
||||||
static GHashTable *debug_objects_ht = NULL;
|
static GHashTable *debug_objects_ht = NULL;
|
||||||
static void
|
static void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user