[glib] gbitlock: Drop @returns syntax from doc comments
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gbitlock: Drop @returns syntax from doc comments
- Date: Mon, 21 Nov 2011 16:10:26 +0000 (UTC)
commit 4527e7cbf75f5f06a3f8b3ee9c5ecb16f6a27406
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Nov 21 11:09:42 2011 -0500
gbitlock: Drop @returns syntax from doc comments
glib/gbitlock.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/glib/gbitlock.c b/glib/gbitlock.c
index 1b2d172..7674f9a 100644
--- a/glib/gbitlock.c
+++ b/glib/gbitlock.c
@@ -255,7 +255,6 @@ g_bit_lock (volatile gint *address,
* g_bit_trylock:
* @address: a pointer to an integer
* @lock_bit: a bit value between 0 and 31
- * @returns: %TRUE if the lock was acquired
*
* Sets the indicated @lock_bit in @address, returning %TRUE if
* successful. If the bit is already set, returns %FALSE immediately.
@@ -270,6 +269,8 @@ g_bit_lock (volatile gint *address,
* @address must be atomic in order for this function to work
* reliably.
*
+ * Returns: %TRUE if the lock was acquired
+ *
* Since: 2.24
**/
gboolean
@@ -445,7 +446,6 @@ void
* g_pointer_bit_trylock:
* @address: a pointer to a #gpointer-sized value
* @lock_bit: a bit value between 0 and 31
- * @returns: %TRUE if the lock was acquired
*
* This is equivalent to g_bit_trylock, but working on pointers (or
* other pointer-sized values).
@@ -453,6 +453,8 @@ void
* For portability reasons, you may only lock on the bottom 32 bits of
* the pointer.
*
+ * Returns: %TRUE if the lock was acquired
+ *
* Since: 2.30
**/
gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]