Improve the docs

svn path=/trunk/; revision=7702
This commit is contained in:
Matthias Clasen 2008-11-28 19:52:37 +00:00
parent b5321fe34c
commit e4834e31c3
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,10 @@
@008-11-28 Matthias Clasen <mclasen@redhat.com>
Bug 562549 g_byte_array_free should tell how free data
* glib/tmpl/arrays_byte.sgml: Improve docs, proposed by
Guillaume Desmottes
2008-11-21 Matthias Clasen <mclasen@redhat.com> 2008-11-21 Matthias Clasen <mclasen@redhat.com>
* glib/Makefile.am: * glib/Makefile.am:

View File

@ -186,6 +186,8 @@ If @free_segment is %TRUE it frees the actual byte data.
@array: a #GByteArray. @array: a #GByteArray.
@free_segment: if %TRUE the actual byte data is freed as well. @free_segment: if %TRUE the actual byte data is freed as well.
@Returns: the element data if @free_segment is %FALSE, otherwise %NULL @Returns: the element data if @free_segment is %FALSE, otherwise %NULL.
The element data should be freed using g_free().