mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-05 02:36:19 +01:00
docs: Clarify that g_array_unref() works like g_ptr_array_unref().
This makes the documentation for this function more consistent with that of g_ptr_array_unref(), which makes it clear that it acts like g_(ptr_)array_free with free_segment=TRUE.
This commit is contained in:
parent
26bc1d08ec
commit
14adec6a54
@ -448,9 +448,9 @@ static gchar *array_free (GRealArray *, ArrayFreeFlags);
|
||||
* @array: A #GArray
|
||||
*
|
||||
* Atomically decrements the reference count of @array by one. If the
|
||||
* reference count drops to 0, all memory allocated by the array is
|
||||
* released. This function is thread-safe and may be called from any
|
||||
* thread.
|
||||
* reference count drops to 0, the effect is the same as calling
|
||||
* g_array_free() with @free_segment set to %TRUE. This function is
|
||||
* thread-safe and may be called from any thread.
|
||||
*
|
||||
* Since: 2.22
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user