mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-13 11:15:12 +01:00
Merge branch 'garray_unref_docs_clarify' into 'main'
docs: Clarify that g_array_unref() works like g_ptr_array_unref(). See merge request GNOME/glib!4460
This commit is contained in:
commit
82c179e624
@ -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…
x
Reference in New Issue
Block a user