gbitlock: fix gtkdoc brokenness
authorRyan Lortie <desrt@desrt.ca>
Sat, 30 Jan 2010 17:13:50 +0000 (12:13 -0500)
committerRyan Lortie <desrt@desrt.ca>
Sat, 30 Jan 2010 17:32:37 +0000 (12:32 -0500)
glib/gbitlock.c
glib/gbitlock.h

index 33cbb2a..c62ec30 100644 (file)
@@ -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.
index 15ee0e2..5f6a67f 100644 (file)
 
 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