commit 4d22bae27e2ccad4fdacb2fee053f31f815cf405 (tree) parent 9e19969e09ffee8aca39f28a42d566cc62b479d6 Author: Jacob G-W <jacoblevgw@gmail.com> Date: Sat, 8 Jul 2023 09:11:58 -0400 langref: fix documentation for @extern Diffstat:
| M | doc/langref.html.in | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/langref.html.in b/doc/langref.html.in @@ -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#}