Merge branch 'clarify-refcount-init-api' into 'master'

grefcount: Clarify that the initial reference count is 1

See merge request GNOME/glib!2042
This commit is contained in:
Philip Withnall 2021-04-13 13:41:12 +00:00
commit 73d759e8dd

View File

@ -84,7 +84,7 @@
* g_ref_count_init:
* @rc: the address of a reference count variable
*
* Initializes a reference count variable.
* Initializes a reference count variable to 1.
*
* Since: 2.58
*/
@ -199,7 +199,7 @@ gboolean
* g_atomic_ref_count_init:
* @arc: the address of an atomic reference count variable
*
* Initializes a reference count variable.
* Initializes a reference count variable to 1.
*
* Since: 2.58
*/