mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 14:25:16 +00:00
docs: Fix wrong extern fn definition
This commit is contained in:
parent
a6b74cdd38
commit
eb5e6259aa
@ -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#}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user