Commit b34eac20 authored by Simon McVittie's avatar Simon McVittie

g_atomic_int_add: document that the return value is new

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=654988Reviewed-by: Matthias Clasen's avatarMatthias Clasen <mclasen@redhat.com>
parent 79b80579
......@@ -206,6 +206,9 @@ gboolean
*
* This call acts as a full compiler and hardware memory barrier.
*
* Before version 2.30, this function did not return a value
* (but g_atomic_int_exchange_and_add() did, and had the same meaning).
*
* Returns: the value of @atomic before the add, signed
*
* Since: 2.4
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment