langref: fix documentation for @extern

This commit is contained in:
Jacob G-W 2023-07-08 09:11:58 -04:00
parent 9e19969e09
commit 4d22bae27e

View File

@ -8467,9 +8467,10 @@ export fn @"A function name that is a complete sentence."() void {}
{#header_close#}
{#header_open|@extern#}
<pre>{#syntax#}@extern(T: type, comptime options: std.builtin.ExternOptions) *T{#endsyntax#}</pre>
<pre>{#syntax#}@extern(T: type, comptime options: std.builtin.ExternOptions) T{#endsyntax#}</pre>
<p>
Creates a reference to an external symbol in the output object file.
T must be a pointer type.
</p>
{#see_also|@export#}
{#header_close#}