diff --git a/lib/std/core/cinterop.c3 b/lib/std/core/cinterop.c3 index 8dad2c883..13480a64b 100644 --- a/lib/std/core/cinterop.c3 +++ b/lib/std/core/cinterop.c3 @@ -29,6 +29,12 @@ def CUChar = char; def CChar = $typefrom($$C_CHAR_IS_SIGNED ? ichar.typeid : char.typeid); +enum CBool : CInt +{ + FALSE, + TRUE +} + // Helper macros macro typeid signed_int_from_bitsize(usz $bitsize) @private { diff --git a/releasenotes.md b/releasenotes.md index 87f43738b..acc5625f0 100644 --- a/releasenotes.md +++ b/releasenotes.md @@ -23,6 +23,7 @@ - Remove unintended print of `char[]` as String - Add read/write to stream with big endian ints. - Move accidently hidden "wrap_bytes". +- Added CBool #1530. ## 0.6.3 Change list