diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-12-05 16:04:28 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-12-05 16:04:28 +0000 |
commit | 0f63e9a347ab861261ee8d0191b42319cacfe438 (patch) | |
tree | e7cecb42fb497ba3716fc02c4f10dc97bb7e5fcb /docs | |
parent | cab5611661b78028a0cb2170552ceb22cf34e039 (diff) |
Updates
2005-12-05 Matthias Clasen <mclasen@redhat.com>
* glib/glib-sections.txt: Updates
* glib/tmpl/memory_slices.sgml: Fix a small formatting
problem.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/reference/ChangeLog | 2 | ||||
-rw-r--r-- | docs/reference/glib/glib-sections.txt | 4 | ||||
-rw-r--r-- | docs/reference/glib/tmpl/memory_slices.sgml | 26 |
3 files changed, 24 insertions, 8 deletions
diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index acdd65177..0534e7b31 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,5 +1,7 @@ 2005-12-05 Matthias Clasen <mclasen@redhat.com> + * glib/glib-sections.txt: Updates + * glib/tmpl/memory_slices.sgml: Fix a small formatting problem. diff --git a/docs/reference/glib/glib-sections.txt b/docs/reference/glib/glib-sections.txt index 23b030814..53f202341 100644 --- a/docs/reference/glib/glib-sections.txt +++ b/docs/reference/glib/glib-sections.txt @@ -30,6 +30,7 @@ G_HAVE_GINT64 gint64 guint64 G_GINT64_CONSTANT +G_GUINT64_CONSTANT <SUBSECTION> gfloat @@ -1577,12 +1578,13 @@ g_mem_chunk_print g_slice_alloc g_slice_alloc0 g_slice_free1 -g_slice_free_chain +g_slice_free_chain_with_offset <SUBSECTION> g_slice_new g_slice_new0 g_slice_free +g_slice_free_chain <SUBSECTION Private> GSliceConfig diff --git a/docs/reference/glib/tmpl/memory_slices.sgml b/docs/reference/glib/tmpl/memory_slices.sgml index 8a1706766..362a6937a 100644 --- a/docs/reference/glib/tmpl/memory_slices.sgml +++ b/docs/reference/glib/tmpl/memory_slices.sgml @@ -127,22 +127,34 @@ and the @block_size has to match the size specified upon allocation. @Since: 2.10 -<!-- ##### FUNCTION g_slice_free_chain ##### --> +<!-- ##### FUNCTION g_slice_free_chain_with_offset ##### --> <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. +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: -@mem_chain: a pointer to the first block of the chain -@next_offset: +@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 -<!-- # Unused Parameters # --> + + +<!-- ##### 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. +</para> + @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 +@Since: 2.10 <!-- ##### MACRO g_slice_new ##### --> |