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