gbitlock: fix gtkdoc brokenness

This commit is contained in:
Ryan Lortie 2010-01-30 12:13:50 -05:00
parent d51b6c471a
commit 522dafe126
2 changed files with 4 additions and 3 deletions

View 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.

View File

@ -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