mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue