grefcount: Improve annotations

Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
This commit is contained in:
Sergey Bugaev
2025-04-14 15:53:25 +03:00
parent b133c78c96
commit 6d3322e769

View File

@@ -61,7 +61,7 @@
/** /**
* g_ref_count_init: * g_ref_count_init:
* @rc: the address of a reference count variable * @rc: (out): the address of a reference count variable
* *
* Initializes a reference count variable to 1. * Initializes a reference count variable to 1.
* *
@@ -86,7 +86,7 @@ void
/** /**
* g_ref_count_inc: * g_ref_count_inc:
* @rc: the address of a reference count variable * @rc: (inout): the address of a reference count variable
* *
* Increases the reference count. * Increases the reference count.
* *
@@ -117,7 +117,7 @@ void
/** /**
* g_ref_count_dec: * g_ref_count_dec:
* @rc: the address of a reference count variable * @rc: (inout): the address of a reference count variable
* *
* Decreases the reference count. * Decreases the reference count.
* *
@@ -180,7 +180,7 @@ gboolean
/** /**
* g_atomic_ref_count_init: * g_atomic_ref_count_init:
* @arc: the address of an atomic reference count variable * @arc: (out): the address of an atomic reference count variable
* *
* Initializes a reference count variable to 1. * Initializes a reference count variable to 1.
* *