mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 15:56:23 +01:00
grefcount: Clarify that the initial reference count is 1
This commit is contained in:
parent
346e4867ea
commit
eb6ca282f0
@ -84,7 +84,7 @@
|
|||||||
* g_ref_count_init:
|
* g_ref_count_init:
|
||||||
* @rc: the address of a reference count variable
|
* @rc: the address of a reference count variable
|
||||||
*
|
*
|
||||||
* Initializes a reference count variable.
|
* Initializes a reference count variable to 1.
|
||||||
*
|
*
|
||||||
* Since: 2.58
|
* Since: 2.58
|
||||||
*/
|
*/
|
||||||
@ -199,7 +199,7 @@ gboolean
|
|||||||
* g_atomic_ref_count_init:
|
* g_atomic_ref_count_init:
|
||||||
* @arc: the address of an atomic reference count variable
|
* @arc: the address of an atomic reference count variable
|
||||||
*
|
*
|
||||||
* Initializes a reference count variable.
|
* Initializes a reference count variable to 1.
|
||||||
*
|
*
|
||||||
* Since: 2.58
|
* Since: 2.58
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user