docs: Fix wrong extern fn definition

master
LemonBoy 2020-02-18 23:35:08 +01:00 committed by Andrew Kelley
parent a6b74cdd38
commit eb5e6259aa
No known key found for this signature in database
GPG Key ID: 7C5F548F728501A9
1 changed files with 1 additions and 1 deletions

View File

@ -7399,7 +7399,7 @@ comptime {
@export(internalName, .{ .name = "foo", .linkage = .Strong });
}
extern fn internalName() void {}
fn internalName() callconv(.C) void {}
{#code_end#}
<p>This is equivalent to:</p>
{#code_begin|obj#}