grefcount: Clarify that the initial reference count is 1

This commit is contained in:
Dor Askayo 2021-04-09 13:15:30 +03:00
parent 346e4867ea
commit eb6ca282f0

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
*/