mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-06-15 09:03:49 +02:00
gbitlock: Drop @returns syntax from doc comments
This commit is contained in:
parent
22d3972284
commit
4527e7cbf7
@ -255,7 +255,6 @@ g_bit_lock (volatile gint *address,
|
|||||||
* g_bit_trylock:
|
* g_bit_trylock:
|
||||||
* @address: a pointer to an integer
|
* @address: a pointer to an integer
|
||||||
* @lock_bit: a bit value between 0 and 31
|
* @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
|
* Sets the indicated @lock_bit in @address, returning %TRUE if
|
||||||
* successful. If the bit is already set, returns %FALSE immediately.
|
* 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
|
* @address must be atomic in order for this function to work
|
||||||
* reliably.
|
* reliably.
|
||||||
*
|
*
|
||||||
|
* Returns: %TRUE if the lock was acquired
|
||||||
|
*
|
||||||
* Since: 2.24
|
* Since: 2.24
|
||||||
**/
|
**/
|
||||||
gboolean
|
gboolean
|
||||||
@ -445,7 +446,6 @@ void
|
|||||||
* g_pointer_bit_trylock:
|
* g_pointer_bit_trylock:
|
||||||
* @address: a pointer to a #gpointer-sized value
|
* @address: a pointer to a #gpointer-sized value
|
||||||
* @lock_bit: a bit value between 0 and 31
|
* @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
|
* This is equivalent to g_bit_trylock, but working on pointers (or
|
||||||
* other pointer-sized values).
|
* other pointer-sized values).
|
||||||
@ -453,6 +453,8 @@ void
|
|||||||
* For portability reasons, you may only lock on the bottom 32 bits of
|
* For portability reasons, you may only lock on the bottom 32 bits of
|
||||||
* the pointer.
|
* the pointer.
|
||||||
*
|
*
|
||||||
|
* Returns: %TRUE if the lock was acquired
|
||||||
|
*
|
||||||
* Since: 2.30
|
* Since: 2.30
|
||||||
**/
|
**/
|
||||||
gboolean
|
gboolean
|
||||||
|
Loading…
x
Reference in New Issue
Block a user