[glib] gbitlock: fix gtkdoc brokenness



commit 522dafe126ed814a1699238142fbc12b7f55b0b6
Author: Ryan Lortie <desrt desrt ca>
Date:   Sat Jan 30 12:13:50 2010 -0500

    gbitlock: fix gtkdoc brokenness

 glib/gbitlock.c |    1 +
 glib/gbitlock.h |    6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/glib/gbitlock.c b/glib/gbitlock.c
index 33cbb2a..c62ec30 100644
--- a/glib/gbitlock.c
+++ b/glib/gbitlock.c
@@ -233,6 +233,7 @@ 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.
diff --git a/glib/gbitlock.h b/glib/gbitlock.h
index 15ee0e2..5f6a67f 100644
--- a/glib/gbitlock.h
+++ b/glib/gbitlock.h
@@ -31,11 +31,11 @@
 
 G_BEGIN_DECLS
 
-void      g_bit_lock                      (volatile gint *lock,
+void      g_bit_lock                      (volatile gint *address,
                                            gint           lock_bit);
-gboolean  g_bit_trylock                   (volatile gint *lock,
+gboolean  g_bit_trylock                   (volatile gint *address,
                                            gint           lock_bit);
-void      g_bit_unlock                    (volatile gint *lock,
+void      g_bit_unlock                    (volatile gint *address,
                                            gint           lock_bit);
 
 G_END_DECLS



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]