Commit 4290e73c authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Protect the the various push/pop allocator functions by #ifndef

2004-12-02  Matthias Clasen  <mclasen@redhat.com>

	* glib/glib.symbols: Protect the the various push/pop allocator
	functions by #ifndef DISABLE_MEM_POOLS.  (#160215, Frederic Crozat)

	* glib/makegalias.pl: Support #ifndef'ed sections.
parent 0860274e
2004-12-02 Matthias Clasen <mclasen@redhat.com>
* glib/glib.symbols: Protect the the various push/pop allocator
functions by #ifndef DISABLE_MEM_POOLS. (#160215, Frederic Crozat)
* glib/makegalias.pl: Support #ifndef'ed sections.
* glib/gutils.c (g_get_system_config_dirs): Don't forget to
initialize g_system_config_dirs. (#160213, Frederic Crozat)
......
2004-12-02 Matthias Clasen <mclasen@redhat.com>
* glib/glib.symbols: Protect the the various push/pop allocator
functions by #ifndef DISABLE_MEM_POOLS. (#160215, Frederic Crozat)
* glib/makegalias.pl: Support #ifndef'ed sections.
* glib/gutils.c (g_get_system_config_dirs): Don't forget to
initialize g_system_config_dirs. (#160213, Frederic Crozat)
......
2004-12-02 Matthias Clasen <mclasen@redhat.com>
* glib/glib.symbols: Protect the the various push/pop allocator
functions by #ifndef DISABLE_MEM_POOLS. (#160215, Frederic Crozat)
* glib/makegalias.pl: Support #ifndef'ed sections.
* glib/gutils.c (g_get_system_config_dirs): Don't forget to
initialize g_system_config_dirs. (#160213, Frederic Crozat)
......
2004-12-02 Matthias Clasen <mclasen@redhat.com>
* glib/glib.symbols: Protect the the various push/pop allocator
functions by #ifndef DISABLE_MEM_POOLS. (#160215, Frederic Crozat)
* glib/makegalias.pl: Support #ifndef'ed sections.
* glib/gutils.c (g_get_system_config_dirs): Don't forget to
initialize g_system_config_dirs. (#160213, Frederic Crozat)
......
2004-12-02 Matthias Clasen <mclasen@redhat.com>
* glib/glib.symbols: Protect the the various push/pop allocator
functions by #ifndef DISABLE_MEM_POOLS. (#160215, Frederic Crozat)
* glib/makegalias.pl: Support #ifndef'ed sections.
* glib/gutils.c (g_get_system_config_dirs): Don't forget to
initialize g_system_config_dirs. (#160213, Frederic Crozat)
......
......@@ -379,10 +379,12 @@ g_list_length
g_list_nth
g_list_nth_data
g_list_nth_prev
#ifndef DISABLE_MEM_POOLS
g_list_pop_allocator
g_list_push_allocator
#endif
g_list_position
g_list_prepend
g_list_push_allocator
g_list_remove
g_list_remove_all
g_list_remove_link
......@@ -481,9 +483,11 @@ g_node_n_children
g_node_new
g_node_n_nodes
g_node_nth_child
#ifndef DISABLE_MEM_POOLS
g_node_pop_allocator
g_node_prepend
g_node_push_allocator
#endif
g_node_prepend
g_node_reverse_children
g_node_traverse
g_node_unlink
......@@ -660,10 +664,12 @@ g_slist_last
g_slist_length
g_slist_nth
g_slist_nth_data
#ifndef DISABLE_MEM_POOLS
g_slist_pop_allocator
g_slist_push_allocator
#endif
g_slist_position
g_slist_prepend
g_slist_push_allocator
g_slist_remove
g_slist_remove_all
g_slist_remove_link
......
......@@ -70,7 +70,7 @@ while (<>) {
next;
}
if ($_ =~ /^\#ifdef\s+G/)
if ($_ =~ /^\#ifn?def\s+(G|DISABLE_MEM_POOLS)/)
{
print $_;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment