mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-06 01:16:17 +01:00
Fixed another stupid fault of mine: Did s/g_static_/g_private_/g
1999-03-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * gmem.c: Fixed another stupid fault of mine: Did s/g_static_/g_private_/g
This commit is contained in:
parent
9f18edbb99
commit
849005f98e
@ -1,3 +1,8 @@
|
||||
1999-03-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* gmem.c: Fixed another stupid fault of mine: Did
|
||||
s/g_static_/g_private_/g
|
||||
|
||||
Wed Mar 17 03:17:42 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* configure.in bumped versin number to GLib 1.2.1, interface 1,
|
||||
|
@ -1,3 +1,8 @@
|
||||
1999-03-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* gmem.c: Fixed another stupid fault of mine: Did
|
||||
s/g_static_/g_private_/g
|
||||
|
||||
Wed Mar 17 03:17:42 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* configure.in bumped versin number to GLib 1.2.1, interface 1,
|
||||
|
@ -1,3 +1,8 @@
|
||||
1999-03-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* gmem.c: Fixed another stupid fault of mine: Did
|
||||
s/g_static_/g_private_/g
|
||||
|
||||
Wed Mar 17 03:17:42 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* configure.in bumped versin number to GLib 1.2.1, interface 1,
|
||||
|
@ -1,3 +1,8 @@
|
||||
1999-03-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* gmem.c: Fixed another stupid fault of mine: Did
|
||||
s/g_static_/g_private_/g
|
||||
|
||||
Wed Mar 17 03:17:42 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* configure.in bumped versin number to GLib 1.2.1, interface 1,
|
||||
|
@ -1,3 +1,8 @@
|
||||
1999-03-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* gmem.c: Fixed another stupid fault of mine: Did
|
||||
s/g_static_/g_private_/g
|
||||
|
||||
Wed Mar 17 03:17:42 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* configure.in bumped versin number to GLib 1.2.1, interface 1,
|
||||
|
@ -1,3 +1,8 @@
|
||||
1999-03-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* gmem.c: Fixed another stupid fault of mine: Did
|
||||
s/g_static_/g_private_/g
|
||||
|
||||
Wed Mar 17 03:17:42 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* configure.in bumped versin number to GLib 1.2.1, interface 1,
|
||||
|
@ -1,3 +1,8 @@
|
||||
1999-03-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* gmem.c: Fixed another stupid fault of mine: Did
|
||||
s/g_static_/g_private_/g
|
||||
|
||||
Wed Mar 17 03:17:42 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* configure.in bumped versin number to GLib 1.2.1, interface 1,
|
||||
|
@ -1,3 +1,8 @@
|
||||
1999-03-18 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* gmem.c: Fixed another stupid fault of mine: Did
|
||||
s/g_static_/g_private_/g
|
||||
|
||||
Wed Mar 17 03:17:42 1999 Tim Janik <timj@gtk.org>
|
||||
|
||||
* configure.in bumped versin number to GLib 1.2.1, interface 1,
|
||||
|
10
glib/gmem.c
10
glib/gmem.c
@ -60,11 +60,11 @@
|
||||
|
||||
#if defined(ENABLE_MEM_PROFILE) && defined(ENABLE_MEM_PROFILE_EXCLUDES_MEM_CHUNKS)
|
||||
#define ENTER_MEM_CHUNK_ROUTINE() \
|
||||
g_static_set (allocating_for_mem_chunk, \
|
||||
g_static_get (allocating_for_mem_chunk) + 1)
|
||||
g_private_set (allocating_for_mem_chunk, \
|
||||
g_private_get (allocating_for_mem_chunk) + 1)
|
||||
#define LEAVE_MEM_CHUNK_ROUTINE() \
|
||||
g_static_set (allocating_for_mem_chunk, \
|
||||
g_static_get (allocating_for_mem_chunk) - 1)
|
||||
g_private_set (allocating_for_mem_chunk, \
|
||||
g_private_get (allocating_for_mem_chunk) - 1)
|
||||
#else
|
||||
#define ENTER_MEM_CHUNK_ROUTINE()
|
||||
#define LEAVE_MEM_CHUNK_ROUTINE()
|
||||
@ -144,7 +144,7 @@ static gulong allocated_mem = 0;
|
||||
static gulong freed_mem = 0;
|
||||
static GPrivate* allocating_for_mem_chunk = NULL;
|
||||
#define IS_IN_MEM_CHUNK_ROUTINE() \
|
||||
GPOINTER_TO_UINT (g_static_get (allocating_for_mem_chunk))
|
||||
GPOINTER_TO_UINT (g_private_get (allocating_for_mem_chunk))
|
||||
#endif /* ENABLE_MEM_PROFILE */
|
||||
|
||||
|
||||
|
10
gmem.c
10
gmem.c
@ -60,11 +60,11 @@
|
||||
|
||||
#if defined(ENABLE_MEM_PROFILE) && defined(ENABLE_MEM_PROFILE_EXCLUDES_MEM_CHUNKS)
|
||||
#define ENTER_MEM_CHUNK_ROUTINE() \
|
||||
g_static_set (allocating_for_mem_chunk, \
|
||||
g_static_get (allocating_for_mem_chunk) + 1)
|
||||
g_private_set (allocating_for_mem_chunk, \
|
||||
g_private_get (allocating_for_mem_chunk) + 1)
|
||||
#define LEAVE_MEM_CHUNK_ROUTINE() \
|
||||
g_static_set (allocating_for_mem_chunk, \
|
||||
g_static_get (allocating_for_mem_chunk) - 1)
|
||||
g_private_set (allocating_for_mem_chunk, \
|
||||
g_private_get (allocating_for_mem_chunk) - 1)
|
||||
#else
|
||||
#define ENTER_MEM_CHUNK_ROUTINE()
|
||||
#define LEAVE_MEM_CHUNK_ROUTINE()
|
||||
@ -144,7 +144,7 @@ static gulong allocated_mem = 0;
|
||||
static gulong freed_mem = 0;
|
||||
static GPrivate* allocating_for_mem_chunk = NULL;
|
||||
#define IS_IN_MEM_CHUNK_ROUTINE() \
|
||||
GPOINTER_TO_UINT (g_static_get (allocating_for_mem_chunk))
|
||||
GPOINTER_TO_UINT (g_private_get (allocating_for_mem_chunk))
|
||||
#endif /* ENABLE_MEM_PROFILE */
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user