mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
Clarify g_ptr_array_set_size() docs re: free_func
This commit is contained in:
parent
eadd2ce7ff
commit
f393e80587
@ -252,8 +252,11 @@ the array.
|
|||||||
|
|
||||||
<!-- ##### FUNCTION g_ptr_array_set_size ##### -->
|
<!-- ##### FUNCTION g_ptr_array_set_size ##### -->
|
||||||
<para>
|
<para>
|
||||||
Sets the size of the array, expanding it if necessary.
|
Sets the size of the array. When making the array larger, newly-added
|
||||||
New elements are set to %NULL.
|
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>
|
</para>
|
||||||
|
|
||||||
@array: a #GPtrArray.
|
@array: a #GPtrArray.
|
||||||
|
Loading…
Reference in New Issue
Block a user