mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
docs: Remove some unneeded decorations
@var is not expanded inside literal `` blocks. Just remove those @ characters.
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
Reference in New Issue
Block a user