Skip to content

Commit

Permalink
Added CBool #1530.
Browse files Browse the repository at this point in the history
  • Loading branch information
lerno committed Oct 8, 2024
1 parent 39d4a97 commit 31f4882
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/std/core/cinterop.c3
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
1 change: 1 addition & 0 deletions releasenotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 31f4882

Please sign in to comment.