mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 15:06:14 +01:00
declare gboolean vtable_set static.
2001-07-31 Sven Neumann <sven@gimp.org> * glib/gmem.c: declare gboolean vtable_set static.
This commit is contained in:
parent
ee998b3538
commit
8800b2542b
@ -1,3 +1,7 @@
|
|||||||
|
2001-07-31 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* glib/gmem.c: declare gboolean vtable_set static.
|
||||||
|
|
||||||
2001-07-30 Ron Steinke <rsteinke@w-link.net>
|
2001-07-30 Ron Steinke <rsteinke@w-link.net>
|
||||||
|
|
||||||
* glib/giochannel.c docs/reference/glib/glib-sections.txt
|
* glib/giochannel.c docs/reference/glib/glib-sections.txt
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
2001-07-31 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* glib/gmem.c: declare gboolean vtable_set static.
|
||||||
|
|
||||||
2001-07-30 Ron Steinke <rsteinke@w-link.net>
|
2001-07-30 Ron Steinke <rsteinke@w-link.net>
|
||||||
|
|
||||||
* glib/giochannel.c docs/reference/glib/glib-sections.txt
|
* glib/giochannel.c docs/reference/glib/glib-sections.txt
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
2001-07-31 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* glib/gmem.c: declare gboolean vtable_set static.
|
||||||
|
|
||||||
2001-07-30 Ron Steinke <rsteinke@w-link.net>
|
2001-07-30 Ron Steinke <rsteinke@w-link.net>
|
||||||
|
|
||||||
* glib/giochannel.c docs/reference/glib/glib-sections.txt
|
* glib/giochannel.c docs/reference/glib/glib-sections.txt
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
2001-07-31 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* glib/gmem.c: declare gboolean vtable_set static.
|
||||||
|
|
||||||
2001-07-30 Ron Steinke <rsteinke@w-link.net>
|
2001-07-30 Ron Steinke <rsteinke@w-link.net>
|
||||||
|
|
||||||
* glib/giochannel.c docs/reference/glib/glib-sections.txt
|
* glib/giochannel.c docs/reference/glib/glib-sections.txt
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
2001-07-31 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* glib/gmem.c: declare gboolean vtable_set static.
|
||||||
|
|
||||||
2001-07-30 Ron Steinke <rsteinke@w-link.net>
|
2001-07-30 Ron Steinke <rsteinke@w-link.net>
|
||||||
|
|
||||||
* glib/giochannel.c docs/reference/glib/glib-sections.txt
|
* glib/giochannel.c docs/reference/glib/glib-sections.txt
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
2001-07-31 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* glib/gmem.c: declare gboolean vtable_set static.
|
||||||
|
|
||||||
2001-07-30 Ron Steinke <rsteinke@w-link.net>
|
2001-07-30 Ron Steinke <rsteinke@w-link.net>
|
||||||
|
|
||||||
* glib/giochannel.c docs/reference/glib/glib-sections.txt
|
* glib/giochannel.c docs/reference/glib/glib-sections.txt
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
2001-07-31 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* glib/gmem.c: declare gboolean vtable_set static.
|
||||||
|
|
||||||
2001-07-30 Ron Steinke <rsteinke@w-link.net>
|
2001-07-30 Ron Steinke <rsteinke@w-link.net>
|
||||||
|
|
||||||
* glib/giochannel.c docs/reference/glib/glib-sections.txt
|
* glib/giochannel.c docs/reference/glib/glib-sections.txt
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
2001-07-31 Sven Neumann <sven@gimp.org>
|
||||||
|
|
||||||
|
* glib/gmem.c: declare gboolean vtable_set static.
|
||||||
|
|
||||||
2001-07-30 Ron Steinke <rsteinke@w-link.net>
|
2001-07-30 Ron Steinke <rsteinke@w-link.net>
|
||||||
|
|
||||||
* glib/giochannel.c docs/reference/glib/glib-sections.txt
|
* glib/giochannel.c docs/reference/glib/glib-sections.txt
|
||||||
|
@ -224,11 +224,11 @@ fallback_calloc (gsize n_blocks,
|
|||||||
void
|
void
|
||||||
g_mem_set_vtable (GMemVTable *vtable)
|
g_mem_set_vtable (GMemVTable *vtable)
|
||||||
{
|
{
|
||||||
gboolean vtable_set = FALSE;
|
static gboolean vtable_set = FALSE;
|
||||||
|
|
||||||
if (!vtable_set)
|
if (!vtable_set)
|
||||||
{
|
{
|
||||||
vtable_set |= TRUE;
|
vtable_set = TRUE;
|
||||||
if (vtable->malloc && vtable->realloc && vtable->free)
|
if (vtable->malloc && vtable->realloc && vtable->free)
|
||||||
{
|
{
|
||||||
glib_mem_vtable.malloc = vtable->malloc;
|
glib_mem_vtable.malloc = vtable->malloc;
|
||||||
|
Loading…
Reference in New Issue
Block a user