mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 07:32:44 +00:00
[doc update] add size_t (#11482)
For those souls looking for a zig `size_t` equivalent, and not lucky/educated enough (that was me yesterday) to know it's the same as `uintptr_t`. From a recent discussion on IRC.
This commit is contained in:
parent
42ed34d1f6
commit
6d0283e6bc
@ -672,8 +672,8 @@ pub fn main() void {
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">{#syntax#}usize{#endsyntax#}</th>
|
<th scope="row">{#syntax#}usize{#endsyntax#}</th>
|
||||||
<td><code class="c">uintptr_t</code></td>
|
<td><code class="c">uintptr_t</code>, <code class="c">size_t</code></td>
|
||||||
<td>unsigned pointer sized integer</td>
|
<td>unsigned pointer sized integer. Also see <a href="https://github.com/ziglang/zig/issues/5185">#5185</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
|
Loading…
Reference in New Issue
Block a user