docs: Fix wrong extern fn definition

This commit is contained in:
LemonBoy
2020-02-18 23:35:08 +01:00
committed by Andrew Kelley
parent a6b74cdd38
commit eb5e6259aa

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#}