2005-12-05  Matthias Clasen  <mclasen@redhat.com>

	* glib/glib-sections.txt: Updates

	* glib/tmpl/memory_slices.sgml: Fix a small formatting
	problem.
This commit is contained in:
Matthias Clasen
2005-12-05 16:04:28 +00:00
committed by Matthias Clasen
parent cab5611661
commit 0f63e9a347
3 changed files with 24 additions and 8 deletions

View File

@@ -1,5 +1,7 @@
2005-12-05 Matthias Clasen <mclasen@redhat.com> 2005-12-05 Matthias Clasen <mclasen@redhat.com>
* glib/glib-sections.txt: Updates
* glib/tmpl/memory_slices.sgml: Fix a small formatting * glib/tmpl/memory_slices.sgml: Fix a small formatting
problem. problem.

View File

@@ -30,6 +30,7 @@ G_HAVE_GINT64
gint64 gint64
guint64 guint64
G_GINT64_CONSTANT G_GINT64_CONSTANT
G_GUINT64_CONSTANT
<SUBSECTION> <SUBSECTION>
gfloat gfloat
@@ -1577,12 +1578,13 @@ g_mem_chunk_print
g_slice_alloc g_slice_alloc
g_slice_alloc0 g_slice_alloc0
g_slice_free1 g_slice_free1
g_slice_free_chain g_slice_free_chain_with_offset
<SUBSECTION> <SUBSECTION>
g_slice_new g_slice_new
g_slice_new0 g_slice_new0
g_slice_free g_slice_free
g_slice_free_chain
<SUBSECTION Private> <SUBSECTION Private>
GSliceConfig GSliceConfig

View File

@@ -127,22 +127,34 @@ and the @block_size has to match the size specified upon allocation.
@Since: 2.10 @Since: 2.10
<!-- ##### FUNCTION g_slice_free_chain ##### --> <!-- ##### FUNCTION g_slice_free_chain_with_offset ##### -->
<para> <para>
Frees a linked list of memory blocks of structure type @type. Frees a linked list of memory blocks of structure type @type.
The memory blocks must be equal-sized, allocated via The memory blocks must be equal-sized, allocated via
g_slice_alloc() or g_slice_alloc0() g_slice_alloc() or g_slice_alloc0()
and linked together by a @next pointer (similar to #GSList). The name of the and linked together by a @next pointer (similar to #GSList). The offset
of the @next field in each block is passed as third argument.
</para>
@block_size: the size of the blocks
@mem_chain: a pointer to the first block of the chain
@next_offset: the offset of the @next field in the blocks
@Since: 2.10
<!-- ##### FUNCTION g_slice_free_chain ##### -->
<para>
Frees a linked list of memory blocks of structure type @type.
The memory blocks must be equal-sized, allocated via
g_slice_alloc() or g_slice_alloc0() and linked together by a
@next pointer (similar to #GSList). The name of the
@next field in @type is passed as third argument. @next field in @type is passed as third argument.
</para> </para>
@block_size:
@mem_chain: a pointer to the first block of the chain
@next_offset:
@Since: 2.10
<!-- # Unused Parameters # -->
@type: the type of the @mem_chain blocks @type: the type of the @mem_chain blocks
@mem_chain: a pointer to the first block of the chain
@next: the field name of the next pointer in @type @next: the field name of the next pointer in @type
@Since: 2.10
<!-- ##### MACRO g_slice_new ##### --> <!-- ##### MACRO g_slice_new ##### -->