mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 07:26:15 +01:00
Merge branch 'wip/smcv/atomic-pointer-exchange-docs' into 'main'
Correct documentation of g_atomic_pointer_exchange See merge request GNOME/glib!2770
This commit is contained in:
commit
ea7be5b249
@ -432,7 +432,7 @@ gboolean
|
||||
|
||||
/**
|
||||
* g_atomic_pointer_exchange:
|
||||
* @atomic: a pointer to a #gint or #guint
|
||||
* @atomic: a pointer to a #gpointer-sized value
|
||||
* @newval: the value to replace with
|
||||
*
|
||||
* Sets the @atomic to @newval and returns the old value from @atomic.
|
||||
@ -444,7 +444,7 @@ gboolean
|
||||
*
|
||||
* This call acts as a full compiler and hardware memory barrier.
|
||||
*
|
||||
* Returns: the value of @atomic before the exchange, signed
|
||||
* Returns: the value of @atomic before the exchange
|
||||
*
|
||||
* Since: 2.74
|
||||
**/
|
||||
|
Loading…
Reference in New Issue
Block a user