projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
79b8057
)
g_atomic_int_add: document that the return value is new
author
Simon McVittie
<simon.mcvittie@collabora.co.uk>
Thu, 21 Jul 2011 09:22:01 +0000
(10:22 +0100)
committer
Simon McVittie
<simon.mcvittie@collabora.co.uk>
Thu, 21 Jul 2011 09:22:01 +0000
(10:22 +0100)
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=654988
Reviewed-by: Matthias Clasen <mclasen@redhat.com>
glib/gatomic.c
patch
|
blob
|
history
diff --git
a/glib/gatomic.c
b/glib/gatomic.c
index
495d090
..
328ad4f
100644
(file)
--- a/
glib/gatomic.c
+++ b/
glib/gatomic.c
@@
-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