diff options
| author | Evan Haas <evan@lagerdata.com> | 2023-06-28 11:58:45 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-06-28 17:35:22 -0700 |
| commit | 77dcd903a05936925620f8d8005f16ed4e64a7ef (patch) | |
| tree | 01b2650444ff01baefe713e06ae7f5da3678986d | |
| parent | 82520a214ca7149a1acf658c3e4ddf257c450e79 (diff) | |
| download | zig-77dcd903a05936925620f8d8005f16ed4e64a7ef.tar.gz zig-77dcd903a05936925620f8d8005f16ed4e64a7ef.zip | |
langref: Add c_char to the list of primitive types
| -rw-r--r-- | doc/langref.html.in | 6 |
1 files changed, 6 insertions, 0 deletions
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 @@ -737,6 +737,11 @@ pub fn main() void { </tr> <tr> + <th scope="row">{#syntax#}c_char{#endsyntax#}</th> + <td><code class="c">char</code></td> + <td>for ABI compatibility with C</td> + </tr> + <tr> <th scope="row">{#syntax#}c_short{#endsyntax#}</th> <td><code class="c">short</code></td> <td>for ABI compatibility with C</td> @@ -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. </p> <ul> + <li>{#syntax#}c_char{#endsyntax#}</li> <li>{#syntax#}c_short{#endsyntax#}</li> <li>{#syntax#}c_ushort{#endsyntax#}</li> <li>{#syntax#}c_int{#endsyntax#}</li> |
