mirror of
https://github.com/ziglang/zig.git
synced 2025-12-16 03:03:09 +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_open|@frameSize#}
|
||||
<pre>{#syntax#}@frameSize() usize{#endsyntax#}</pre>
|
||||
<pre>{#syntax#}@frameSize(func: anytype) usize{#endsyntax#}</pre>
|
||||
<p>
|
||||
This is the same as {#syntax#}@sizeOf(@Frame(func)){#endsyntax#}, where {#syntax#}func{#endsyntax#}
|
||||
may be runtime-known.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user