From 4d22bae27e2ccad4fdacb2fee053f31f815cf405 Mon Sep 17 00:00:00 2001 From: Jacob G-W Date: Sat, 8 Jul 2023 09:11:58 -0400 Subject: [PATCH] langref: fix documentation for @extern --- doc/langref.html.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/langref.html.in b/doc/langref.html.in index 8f9874c276..0dbd84f2d5 100644 --- 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#} -
{#syntax#}@extern(T: type, comptime options: std.builtin.ExternOptions) *T{#endsyntax#}
+
{#syntax#}@extern(T: type, comptime options: std.builtin.ExternOptions) T{#endsyntax#}

Creates a reference to an external symbol in the output object file. + T must be a pointer type.

{#see_also|@export#} {#header_close#}