Add some warnings regarding --disable-mem-pools.

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

	* glib/building.sgml:
	* glib/tmpl/linked_lists_single.sgml:
	* glib/tmpl/linked_lists_double.sgml:
	* glib/tmpl/trees-nary.sgml: Add some warnings regarding
	--disable-mem-pools.
This commit is contained in:
Matthias Clasen 2004-12-02 15:46:09 +00:00 committed by Matthias Clasen
parent 4290e73c47
commit eb12e6983b
5 changed files with 36 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2004-12-02 Matthias Clasen <mclasen@redhat.com>
* glib/building.sgml:
* glib/tmpl/linked_lists_single.sgml:
* glib/tmpl/linked_lists_double.sgml:
* glib/tmpl/trees-nary.sgml: Add some warnings regarding
--disable-mem-pools.
2004-12-01 Matthias Clasen <mclasen@redhat.com> 2004-12-01 Matthias Clasen <mclasen@redhat.com>
* glib/tmpl/iochannels.sgml: Fix a typo. (#160162, Tom Copeland) * glib/tmpl/iochannels.sgml: Fix a typo. (#160162, Tom Copeland)

View File

@ -244,7 +244,10 @@ How to compile GLib itself
<para> <para>
<structname>GList</structname>, <structname>GSList</structname>, <structname>GList</structname>, <structname>GSList</structname>,
<structname>GNode</structname>, <structname>GHash</structname> <structname>GNode</structname>, <structname>GHash</structname>
allocations allocations. The functions g_list_push_allocator(),
g_list_pop_allocator(), g_slist_push_allocator(),
g_slist_pop_allocator(), g_node_push_allocator() and
g_node_pop_allocator() are not available
</para> </para>
</listitem> </listitem>
<listitem> <listitem>

View File

@ -486,6 +486,10 @@ is not found.
Sets the allocator to use to allocate #GList elements. Sets the allocator to use to allocate #GList elements.
Use g_list_pop_allocator() to restore the previous allocator. Use g_list_pop_allocator() to restore the previous allocator.
</para> </para>
<para>
Note that this function is not available if GLib has been compiled
with <option>--disable-mem-pools</option>
</para>
@allocator: the #GAllocator to use when allocating #GList elements. @allocator: the #GAllocator to use when allocating #GList elements.
@ -494,6 +498,10 @@ Use g_list_pop_allocator() to restore the previous allocator.
<para> <para>
Restores the previous #GAllocator, used when allocating #GList elements. Restores the previous #GAllocator, used when allocating #GList elements.
</para> </para>
<para>
Note that this function is not available if GLib has been compiled
with <option>--disable-mem-pools</option>
</para>

View File

@ -407,6 +407,10 @@ is not found.
Sets the allocator to use to allocate #GSList elements. Sets the allocator to use to allocate #GSList elements.
Use g_slist_pop_allocator() to restore the previous allocator. Use g_slist_pop_allocator() to restore the previous allocator.
</para> </para>
<para>
Note that this function is not available if GLib has been compiled
with <option>--disable-mem-pools</option>
</para>
@allocator: the #GAllocator to use when allocating #GSList elements. @allocator: the #GAllocator to use when allocating #GSList elements.
@ -415,6 +419,10 @@ Use g_slist_pop_allocator() to restore the previous allocator.
<para> <para>
Restores the previous #GAllocator, used when allocating #GSList elements. Restores the previous #GAllocator, used when allocating #GSList elements.
</para> </para>
<para>
Note that this function is not available if GLib has been compiled
with <option>--disable-mem-pools</option>
</para>

View File

@ -519,6 +519,10 @@ allocated.
Sets the allocator to use to allocate #GNode elements. Sets the allocator to use to allocate #GNode elements.
Use g_node_pop_allocator() to restore the previous allocator. Use g_node_pop_allocator() to restore the previous allocator.
</para> </para>
<para>
Note that this function is not available if GLib has been compiled
with <option>--disable-mem-pools</option>
</para>
@allocator: the #GAllocator to use when allocating #GNode elements. @allocator: the #GAllocator to use when allocating #GNode elements.
@ -527,6 +531,10 @@ Use g_node_pop_allocator() to restore the previous allocator.
<para> <para>
Restores the previous #GAllocator, used when allocating #GNode elements. Restores the previous #GAllocator, used when allocating #GNode elements.
</para> </para>
<para>
Note that this function is not available if GLib has been compiled
with <option>--disable-mem-pools</option>
</para>