[glib] docs: Remove some unneeded decorations
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] docs: Remove some unneeded decorations
- Date: Sat, 15 Feb 2014 03:14:24 +0000 (UTC)
commit bcab7ba002f052481329f2b70b4c7ea31b544b86
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Feb 14 21:39:11 2014 -0500
docs: Remove some unneeded decorations
@var is not expanded inside literal `` blocks.
Just remove those @ characters.
glib/gatomic.c | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/glib/gatomic.c b/glib/gatomic.c
index d765112..30a5c5d 100644
--- a/glib/gatomic.c
+++ b/glib/gatomic.c
@@ -138,7 +138,7 @@ void
*
* Increments the value of @atomic by 1.
*
- * Think of this operation as an atomic version of `{ * atomic += 1; }`.
+ * Think of this operation as an atomic version of `{ *atomic += 1; }`.
*
* This call acts as a full compiler and hardware memory barrier.
*
@@ -157,7 +157,7 @@ void
* Decrements the value of @atomic by 1.
*
* Think of this operation as an atomic version of
- * `{ * atomic -= 1; return (* atomic == 0); }`.
+ * `{ *atomic -= 1; return (*atomic == 0); }`.
*
* This call acts as a full compiler and hardware memory barrier.
*
@@ -183,7 +183,7 @@ gboolean
* This compare and exchange is done atomically.
*
* Think of this operation as an atomic version of
- * `{ if (* atomic == @oldval) { * atomic = @newval; return TRUE; } else return FALSE; }`.
+ * `{ if (*atomic == oldval) { *atomic = newval; return TRUE; } else return FALSE; }`.
*
* This call acts as a full compiler and hardware memory barrier.
*
@@ -207,7 +207,7 @@ gboolean
* Atomically adds @val to the value of @atomic.
*
* Think of this operation as an atomic version of
- * `{ tmp = *atomic; * atomic += @val; return tmp; }`.
+ * `{ tmp = *atomic; *atomic += val; return tmp; }`.
*
* This call acts as a full compiler and hardware memory barrier.
*
@@ -236,7 +236,7 @@ gint
* This call acts as a full compiler and hardware memory barrier.
*
* Think of this operation as an atomic version of
- * `{ tmp = *atomic; * atomic &= @val; return tmp; }`.
+ * `{ tmp = *atomic; *atomic &= val; return tmp; }`.
*
* Returns: the value of @atomic before the operation, unsigned
*
@@ -258,7 +258,7 @@ guint
* storing the result back in @atomic.
*
* Think of this operation as an atomic version of
- * `{ tmp = *atomic; * atomic |= @val; return tmp; }`.
+ * `{ tmp = *atomic; *atomic |= val; return tmp; }`.
*
* This call acts as a full compiler and hardware memory barrier.
*
@@ -282,7 +282,7 @@ guint
* storing the result back in @atomic.
*
* Think of this operation as an atomic version of
- * `{ tmp = *atomic; * atomic ^= @val; return tmp; }`.
+ * `{ tmp = *atomic; *atomic ^= val; return tmp; }`.
*
* This call acts as a full compiler and hardware memory barrier.
*
@@ -348,7 +348,7 @@ void
* This compare and exchange is done atomically.
*
* Think of this operation as an atomic version of
- * `{ if (* atomic == @oldval) { * atomic = @newval; return TRUE; } else return FALSE; }`.
+ * `{ if (*atomic == oldval) { *atomic = newval; return TRUE; } else return FALSE; }`.
*
* This call acts as a full compiler and hardware memory barrier.
*
@@ -373,7 +373,7 @@ gboolean
* Atomically adds @val to the value of @atomic.
*
* Think of this operation as an atomic version of
- * `{ tmp = *atomic; * atomic += @val; return tmp; }`.
+ * `{ tmp = *atomic; *atomic += val; return tmp; }`.
*
* This call acts as a full compiler and hardware memory barrier.
*
@@ -397,7 +397,7 @@ gssize
* storing the result back in @atomic.
*
* Think of this operation as an atomic version of
- * `{ tmp = *atomic; * atomic &= @val; return tmp; }`.
+ * `{ tmp = *atomic; *atomic &= val; return tmp; }`.
*
* This call acts as a full compiler and hardware memory barrier.
*
@@ -421,7 +421,7 @@ gsize
* storing the result back in @atomic.
*
* Think of this operation as an atomic version of
- * `{ tmp = *atomic; * atomic |= @val; return tmp; }`.
+ * `{ tmp = *atomic; *atomic |= val; return tmp; }`.
*
* This call acts as a full compiler and hardware memory barrier.
*
@@ -445,7 +445,7 @@ gsize
* storing the result back in @atomic.
*
* Think of this operation as an atomic version of
- * `{ tmp = *atomic; * atomic ^= @val; return tmp; }`.
+ * `{ tmp = *atomic; *atomic ^= val; return tmp; }`.
*
* This call acts as a full compiler and hardware memory barrier.
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]