Replace bool, true and false with aliases

This commit is contained in:
2025-08-09 22:38:03 +01:00
parent b8c548ee4b
commit 011083ab83
9 changed files with 560 additions and 515 deletions

View File

@@ -77,11 +77,6 @@ def make_array(user_datatypes: Dict[CDataType, ArrayData] = {}):
array_typename="VoidPArray",
)
continue
elif _type == CType.BOOL:
datatypes[_type.value] = ArrayData(
array_typename="BoolArray",
)
continue
type_title = _type.value.title()
datatypes[_type.value] = ArrayData(

View File

@@ -8,7 +8,7 @@
// MSVC Spectre mitigation warnings
u64 to_copy = src->count < dst->capacity ? src->count : dst->capacity;
u64 item_index = 0;
bool running = true;
b32 running = true;
while (running) {{
item = wapp_{Tlower}_array_get(src, item_index);
++item_index;

View File

@@ -9,7 +9,7 @@
// MSVC Spectre mitigation warnings
u64 items_to_add = other->count;
u64 item_index = 0;
bool running = true;
b32 running = true;
while (running) {{
item = wapp_{Tlower}_array_get(other, item_index);
++item_index;