| ... | @@ -736,6 +736,11 @@ pub fn main() void { | ... | @@ -736,6 +736,11 @@ pub fn main() void { |
| 736 | <td>unsigned pointer sized integer. Also see <a href="https://github.com/ziglang/zig/issues/5185">#5185</a></td> | 736 | <td>unsigned pointer sized integer. Also see <a href="https://github.com/ziglang/zig/issues/5185">#5185</a></td> |
| 737 | </tr> | 737 | </tr> |
| 738 | | 738 | |
| | 739 | <tr> |
| | 740 | <th scope="row">{#syntax#}c_char{#endsyntax#}</th> |
| | 741 | <td><code class="c">char</code></td> |
| | 742 | <td>for ABI compatibility with C</td> |
| | 743 | </tr> |
| 739 | <tr> | 744 | <tr> |
| 740 | <th scope="row">{#syntax#}c_short{#endsyntax#}</th> | 745 | <th scope="row">{#syntax#}c_short{#endsyntax#}</th> |
| 741 | <td><code class="c">short</code></td> | 746 | <td><code class="c">short</code></td> |
| ... | @@ -10813,6 +10818,7 @@ lib.addCSourceFile("src/lib.c", &[_][]const u8{ | ... | @@ -10813,6 +10818,7 @@ lib.addCSourceFile("src/lib.c", &[_][]const u8{ |
| 10813 | These have guaranteed C ABI compatibility and can be used like any other type. | 10818 | These have guaranteed C ABI compatibility and can be used like any other type. |
| 10814 | </p> | 10819 | </p> |
| 10815 | <ul> | 10820 | <ul> |
| | 10821 | <li>{#syntax#}c_char{#endsyntax#}</li> |
| 10816 | <li>{#syntax#}c_short{#endsyntax#}</li> | 10822 | <li>{#syntax#}c_short{#endsyntax#}</li> |
| 10817 | <li>{#syntax#}c_ushort{#endsyntax#}</li> | 10823 | <li>{#syntax#}c_ushort{#endsyntax#}</li> |
| 10818 | <li>{#syntax#}c_int{#endsyntax#}</li> | 10824 | <li>{#syntax#}c_int{#endsyntax#}</li> |