| ... | @@ -6889,7 +6889,7 @@ fn func(y: *i32) void { | ... | @@ -6889,7 +6889,7 @@ fn func(y: *i32) void { |
| 6889 | This builtin function atomically dereferences a pointer and returns the value. | 6889 | This builtin function atomically dereferences a pointer and returns the value. |
| 6890 | </p> | 6890 | </p> |
| 6891 | <p> | 6891 | <p> |
| 6892 | {#syntax#}T{#endsyntax#} must be a {#syntax#}bool{#endsyntax#}, a float, | 6892 | {#syntax#}T{#endsyntax#} must be a pointer, a {#syntax#}bool{#endsyntax#}, a float, |
| 6893 | an integer or an enum. | 6893 | an integer or an enum. |
| 6894 | </p> | 6894 | </p> |
| 6895 | {#header_close#} | 6895 | {#header_close#} |
| ... | @@ -6899,7 +6899,7 @@ fn func(y: *i32) void { | ... | @@ -6899,7 +6899,7 @@ fn func(y: *i32) void { |
| 6899 | This builtin function atomically modifies memory and then returns the previous value. | 6899 | This builtin function atomically modifies memory and then returns the previous value. |
| 6900 | </p> | 6900 | </p> |
| 6901 | <p> | 6901 | <p> |
| 6902 | {#syntax#}T{#endsyntax#} must be a {#syntax#}bool{#endsyntax#}, a float, | 6902 | {#syntax#}T{#endsyntax#} must be a pointer, a {#syntax#}bool{#endsyntax#}, a float, |
| 6903 | an integer or an enum. | 6903 | an integer or an enum. |
| 6904 | </p> | 6904 | </p> |
| 6905 | <p> | 6905 | <p> |
| ... | @@ -6925,7 +6925,7 @@ fn func(y: *i32) void { | ... | @@ -6925,7 +6925,7 @@ fn func(y: *i32) void { |
| 6925 | This builtin function atomically stores a value. | 6925 | This builtin function atomically stores a value. |
| 6926 | </p> | 6926 | </p> |
| 6927 | <p> | 6927 | <p> |
| 6928 | {#syntax#}T{#endsyntax#} must be a {#syntax#}bool{#endsyntax#}, a float, | 6928 | {#syntax#}T{#endsyntax#} must be a pointer, a {#syntax#}bool{#endsyntax#}, a float, |
| 6929 | an integer or an enum. | 6929 | an integer or an enum. |
| 6930 | </p> | 6930 | </p> |
| 6931 | {#header_close#} | 6931 | {#header_close#} |
| ... | @@ -7208,7 +7208,7 @@ fn cmpxchgStrongButNotAtomic(comptime T: type, ptr: *T, expected_value: T, new_v | ... | @@ -7208,7 +7208,7 @@ fn cmpxchgStrongButNotAtomic(comptime T: type, ptr: *T, expected_value: T, new_v |
| 7208 | more efficiently in machine instructions. | 7208 | more efficiently in machine instructions. |
| 7209 | </p> | 7209 | </p> |
| 7210 | <p> | 7210 | <p> |
| 7211 | {#syntax#}T{#endsyntax#} must be a {#syntax#}bool{#endsyntax#}, a float, | 7211 | {#syntax#}T{#endsyntax#} must be a pointer, a {#syntax#}bool{#endsyntax#}, a float, |
| 7212 | an integer or an enum. | 7212 | an integer or an enum. |
| 7213 | </p> | 7213 | </p> |
| 7214 | <p>{#syntax#}@TypeOf(ptr).alignment{#endsyntax#} must be {#syntax#}>= @sizeOf(T).{#endsyntax#}</p> | 7214 | <p>{#syntax#}@TypeOf(ptr).alignment{#endsyntax#} must be {#syntax#}>= @sizeOf(T).{#endsyntax#}</p> |
| ... | @@ -7237,7 +7237,7 @@ fn cmpxchgWeakButNotAtomic(comptime T: type, ptr: *T, expected_value: T, new_val | ... | @@ -7237,7 +7237,7 @@ fn cmpxchgWeakButNotAtomic(comptime T: type, ptr: *T, expected_value: T, new_val |
| 7237 | However if you need a stronger guarantee, use {#link|@cmpxchgStrong#}. | 7237 | However if you need a stronger guarantee, use {#link|@cmpxchgStrong#}. |
| 7238 | </p> | 7238 | </p> |
| 7239 | <p> | 7239 | <p> |
| 7240 | {#syntax#}T{#endsyntax#} must be a {#syntax#}bool{#endsyntax#}, a float, | 7240 | {#syntax#}T{#endsyntax#} must be a pointer, a {#syntax#}bool{#endsyntax#}, a float, |
| 7241 | an integer or an enum. | 7241 | an integer or an enum. |
| 7242 | </p> | 7242 | </p> |
| 7243 | <p>{#syntax#}@TypeOf(ptr).alignment{#endsyntax#} must be {#syntax#}>= @sizeOf(T).{#endsyntax#}</p> | 7243 | <p>{#syntax#}@TypeOf(ptr).alignment{#endsyntax#} must be {#syntax#}>= @sizeOf(T).{#endsyntax#}</p> |