[glib: 1/2] grefcount: Clarify that the initial reference count is 1
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/2] grefcount: Clarify that the initial reference count is 1
- Date: Tue, 13 Apr 2021 13:41:14 +0000 (UTC)
commit eb6ca282f08476e9ea103695aebad1e20985d807
Author: Dor Askayo <dor askayo gmail com>
Date: Fri Apr 9 13:15:30 2021 +0300
grefcount: Clarify that the initial reference count is 1
glib/grefcount.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glib/grefcount.c b/glib/grefcount.c
index 7cb12fc46..240b44efb 100644
--- a/glib/grefcount.c
+++ b/glib/grefcount.c
@@ -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
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]