zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit eb5e6259aa21774e3dffba9518a94cb904285f8a (tree)
parent a6b74cdd38a2aac25275c97c00133ec7134aacd2
Author: LemonBoy <thatlemon@gmail.com>
Date:   Tue, 18 Feb 2020 23:35:08 +0100

docs: Fix wrong extern fn definition

Diffstat:
Mdoc/langref.html.in | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/langref.html.in b/doc/langref.html.in @@ -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#}