projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eadd2ce
)
Clarify g_ptr_array_set_size() docs re: free_func
author
Dan Winship
<danw@gnome.org>
Tue, 8 Sep 2009 15:19:13 +0000
(11:19 -0400)
committer
Dan Winship
<danw@gnome.org>
Tue, 8 Sep 2009 15:19:13 +0000
(11:19 -0400)
docs/reference/glib/tmpl/arrays_pointer.sgml
patch
|
blob
|
history
diff --git
a/docs/reference/glib/tmpl/arrays_pointer.sgml
b/docs/reference/glib/tmpl/arrays_pointer.sgml
index
07c4569
..
6cf53bc
100644
(file)
--- a/
docs/reference/glib/tmpl/arrays_pointer.sgml
+++ b/
docs/reference/glib/tmpl/arrays_pointer.sgml
@@
-252,8
+252,11
@@
the array.
<!-- ##### FUNCTION g_ptr_array_set_size ##### -->
<para>
-Sets the size of the array, expanding it if necessary.
-New elements are set to %NULL.
+Sets the size of the array. When making the array larger, newly-added
+elements will be set to %NULL. When making it smaller, if @array has a
+non-%NULL #GDestroyNotify function then it will be called for the
+removed elements.
+
</para>
@array: a #GPtrArray.