Added CBool #1530.

This commit is contained in:
Christoffer Lerno
2024-10-08 22:00:06 +02:00
parent 39d4a97e24
commit 31f48829b0
2 changed files with 7 additions and 0 deletions

View File

@@ -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
{