Change boolean size to 1 byte

This commit is contained in:
2025-12-07 12:17:40 +00:00
parent 432e4a48d5
commit 9c5b95c229
41 changed files with 489 additions and 364 deletions

View File

@@ -3,7 +3,7 @@
#include "test_str8_array.h"
TestFuncResult test_str8_array(void) {
b32 result;
b8 result;
Str8 expected[] = {wapp_str8_lit("Hello"), wapp_str8_lit("Hi"), wapp_str8_lit("Bye")};
Str8Array array = wapp_str8_array(wapp_str8_lit("Hello"), wapp_str8_lit("Hi"), wapp_str8_lit("Bye"));
@@ -12,7 +12,7 @@ TestFuncResult test_str8_array(void) {
Str8 *item;
u64 count = array.count;
u64 index = 0;
b32 running = true;
b8 running = true;
while (running) {
item = wapp_str8_array_get(&array, index);
result = result && item && (wapp_str8_equal(item, &expected[index]));