mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Change CBool to be 1 byte.
This commit is contained in:
@@ -29,7 +29,7 @@ def CUChar = char;
|
||||
|
||||
def CChar = $typefrom($$C_CHAR_IS_SIGNED ? ichar.typeid : char.typeid);
|
||||
|
||||
enum CBool : CInt
|
||||
enum CBool : char
|
||||
{
|
||||
FALSE,
|
||||
TRUE
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
- Use `weak` on dyn-symbols on Linux.
|
||||
- Fix crash on project.json not having an empty set of targets.
|
||||
- Miscompile when indexing an array with small unsigned types for enums.
|
||||
- Change CBool to be 1 byte.
|
||||
|
||||
### Stdlib changes
|
||||
- Increase BitWriter.write_bits limit up to 32 bits.
|
||||
|
||||
Reference in New Issue
Block a user