authorgravatar for thatlemon@gmail.comLemonBoy <thatlemon@gmail.com> 2020-02-18 23:35:08+01:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-02-18 18:18:29-05:00
logeb5e6259aa21774e3dffba9518a94cb904285f8a
tree67acbb1e9622b30d5d4370ff6f7fcf1867a42f9c
parenta6b74cdd38a2aac25275c97c00133ec7134aacd2
signaturelock-open Commit is signed but in an unrecognized format.

docs: Fix wrong extern fn definition


1 files changed, 1 insertions(+), 1 deletions(-)

doc/langref.html.in+1-1
...@@ -7399,7 +7399,7 @@ comptime {...@@ -7399,7 +7399,7 @@ comptime {
7399 @export(internalName, .{ .name = "foo", .linkage = .Strong });7399 @export(internalName, .{ .name = "foo", .linkage = .Strong });
7400}7400}
74017401
7402extern fn internalName() void {}7402fn internalName() callconv(.C) void {}
7403 {#code_end#}7403 {#code_end#}
7404 <p>This is equivalent to:</p>7404 <p>This is equivalent to:</p>
7405 {#code_begin|obj#}7405 {#code_begin|obj#}