Rename Str8

This commit is contained in:
2026-06-26 16:18:46 +01:00
parent acbfc9088c
commit e2b57d4aba
23 changed files with 867 additions and 867 deletions
+5 -5
View File
@@ -5,11 +5,11 @@
WpTestFuncResult test_str8_array(void) {
b8 result;
WpStr8 expected[] = {wapp_str8_lit("Hello"), wapp_str8_lit("Hi"), wapp_str8_lit("Bye")};
WpStr8 expected[] = {wpStr8Lit("Hello"), wpStr8Lit("Hi"), wpStr8Lit("Bye")};
WpStr8 str1 = wapp_str8_lit("Hello");
WpStr8 str2 = wapp_str8_lit("Hi");
WpStr8 str3 = wapp_str8_lit("Bye");
WpStr8 str1 = wpStr8Lit("Hello");
WpStr8 str2 = wpStr8Lit("Hi");
WpStr8 str3 = wpStr8Lit("Bye");
WpStr8Array array = wapp_array(WpStr8, str1, str2, str3);
result = wapp_array_count(array) == 3 && wapp_array_capacity(array) == 8;
@@ -20,7 +20,7 @@ WpTestFuncResult test_str8_array(void) {
b8 running = true;
while (running) {
item = wapp_array_get(WpStr8, array, index);
result = result && item && (wapp_str8_equal(item, &expected[index]));
result = result && item && (wpStr8Equal(item, &expected[index]));
++index;
running = index < count;