mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-22 08:58:54 +02:00
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.
This commit is contained in:
committed by
Matthias Clasen
parent
0860274eea
commit
4290e73c47
@@ -1,5 +1,10 @@
|
|||||||
2004-12-02 Matthias Clasen <mclasen@redhat.com>
|
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
|
* glib/gutils.c (g_get_system_config_dirs): Don't forget to
|
||||||
initialize g_system_config_dirs. (#160213, Frederic Crozat)
|
initialize g_system_config_dirs. (#160213, Frederic Crozat)
|
||||||
|
|
||||||
|
@@ -1,5 +1,10 @@
|
|||||||
2004-12-02 Matthias Clasen <mclasen@redhat.com>
|
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
|
* glib/gutils.c (g_get_system_config_dirs): Don't forget to
|
||||||
initialize g_system_config_dirs. (#160213, Frederic Crozat)
|
initialize g_system_config_dirs. (#160213, Frederic Crozat)
|
||||||
|
|
||||||
|
@@ -1,5 +1,10 @@
|
|||||||
2004-12-02 Matthias Clasen <mclasen@redhat.com>
|
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
|
* glib/gutils.c (g_get_system_config_dirs): Don't forget to
|
||||||
initialize g_system_config_dirs. (#160213, Frederic Crozat)
|
initialize g_system_config_dirs. (#160213, Frederic Crozat)
|
||||||
|
|
||||||
|
@@ -1,5 +1,10 @@
|
|||||||
2004-12-02 Matthias Clasen <mclasen@redhat.com>
|
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
|
* glib/gutils.c (g_get_system_config_dirs): Don't forget to
|
||||||
initialize g_system_config_dirs. (#160213, Frederic Crozat)
|
initialize g_system_config_dirs. (#160213, Frederic Crozat)
|
||||||
|
|
||||||
|
@@ -1,5 +1,10 @@
|
|||||||
2004-12-02 Matthias Clasen <mclasen@redhat.com>
|
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
|
* glib/gutils.c (g_get_system_config_dirs): Don't forget to
|
||||||
initialize g_system_config_dirs. (#160213, Frederic Crozat)
|
initialize g_system_config_dirs. (#160213, Frederic Crozat)
|
||||||
|
|
||||||
|
@@ -379,10 +379,12 @@ g_list_length
|
|||||||
g_list_nth
|
g_list_nth
|
||||||
g_list_nth_data
|
g_list_nth_data
|
||||||
g_list_nth_prev
|
g_list_nth_prev
|
||||||
|
#ifndef DISABLE_MEM_POOLS
|
||||||
g_list_pop_allocator
|
g_list_pop_allocator
|
||||||
|
g_list_push_allocator
|
||||||
|
#endif
|
||||||
g_list_position
|
g_list_position
|
||||||
g_list_prepend
|
g_list_prepend
|
||||||
g_list_push_allocator
|
|
||||||
g_list_remove
|
g_list_remove
|
||||||
g_list_remove_all
|
g_list_remove_all
|
||||||
g_list_remove_link
|
g_list_remove_link
|
||||||
@@ -481,9 +483,11 @@ g_node_n_children
|
|||||||
g_node_new
|
g_node_new
|
||||||
g_node_n_nodes
|
g_node_n_nodes
|
||||||
g_node_nth_child
|
g_node_nth_child
|
||||||
|
#ifndef DISABLE_MEM_POOLS
|
||||||
g_node_pop_allocator
|
g_node_pop_allocator
|
||||||
g_node_prepend
|
|
||||||
g_node_push_allocator
|
g_node_push_allocator
|
||||||
|
#endif
|
||||||
|
g_node_prepend
|
||||||
g_node_reverse_children
|
g_node_reverse_children
|
||||||
g_node_traverse
|
g_node_traverse
|
||||||
g_node_unlink
|
g_node_unlink
|
||||||
@@ -660,10 +664,12 @@ g_slist_last
|
|||||||
g_slist_length
|
g_slist_length
|
||||||
g_slist_nth
|
g_slist_nth
|
||||||
g_slist_nth_data
|
g_slist_nth_data
|
||||||
|
#ifndef DISABLE_MEM_POOLS
|
||||||
g_slist_pop_allocator
|
g_slist_pop_allocator
|
||||||
|
g_slist_push_allocator
|
||||||
|
#endif
|
||||||
g_slist_position
|
g_slist_position
|
||||||
g_slist_prepend
|
g_slist_prepend
|
||||||
g_slist_push_allocator
|
|
||||||
g_slist_remove
|
g_slist_remove
|
||||||
g_slist_remove_all
|
g_slist_remove_all
|
||||||
g_slist_remove_link
|
g_slist_remove_link
|
||||||
|
@@ -70,7 +70,7 @@ while (<>) {
|
|||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($_ =~ /^\#ifdef\s+G/)
|
if ($_ =~ /^\#ifn?def\s+(G|DISABLE_MEM_POOLS)/)
|
||||||
{
|
{
|
||||||
print $_;
|
print $_;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user