mirror of
https://github.com/ziglang/zig.git
synced 2025-12-17 11:43:16 +00:00
correct @frameSize() params in documentation
The documentation omitted the primary parameter, making it difficult to understand what this function actually does.
This commit is contained in:
parent
72992b6513
commit
cd43f323d2
@ -8664,7 +8664,7 @@ fn func() void {
|
|||||||
{#header_close#}
|
{#header_close#}
|
||||||
|
|
||||||
{#header_open|@frameSize#}
|
{#header_open|@frameSize#}
|
||||||
<pre>{#syntax#}@frameSize() usize{#endsyntax#}</pre>
|
<pre>{#syntax#}@frameSize(func: anytype) usize{#endsyntax#}</pre>
|
||||||
<p>
|
<p>
|
||||||
This is the same as {#syntax#}@sizeOf(@Frame(func)){#endsyntax#}, where {#syntax#}func{#endsyntax#}
|
This is the same as {#syntax#}@sizeOf(@Frame(func)){#endsyntax#}, where {#syntax#}func{#endsyntax#}
|
||||||
may be runtime-known.
|
may be runtime-known.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user