From 77dcd903a05936925620f8d8005f16ed4e64a7ef Mon Sep 17 00:00:00 2001 From: Evan Haas Date: Wed, 28 Jun 2023 11:58:45 -0700 Subject: [PATCH] langref: Add c_char to the list of primitive types --- doc/langref.html.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/langref.html.in b/doc/langref.html.in index 774149b1c3..1db18fb218 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -736,6 +736,11 @@ pub fn main() void { unsigned pointer sized integer. Also see #5185 + + {#syntax#}c_char{#endsyntax#} + char + for ABI compatibility with C + {#syntax#}c_short{#endsyntax#} short @@ -10813,6 +10818,7 @@ lib.addCSourceFile("src/lib.c", &[_][]const u8{ These have guaranteed C ABI compatibility and can be used like any other type.