Remove array structs #10

Merged
abdelrahman merged 6 commits from no-array-structs into main 2026-01-02 16:50:53 +00:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit 1cf1a3f69e - Show all commits

View File

@@ -212,7 +212,7 @@ TestFuncResult test_i32_array_copy_alloc(void) {
I32Array src = wapp_array(i32, 1, 2, 3, 4, 5);
I32Array dst1 = wapp_array(i32, 1, 2, 3, 4, 5, 6);
I32Array dst2 = wapp_array(i32, 1, 2);
I32Array array = NULL;
I32Array array = NULL;
u64 expected_count = 5;
array = wapp_array_copy_alloc(i32, &allocator, dst1, src);
@@ -228,7 +228,7 @@ TestFuncResult test_i32_array_copy_alloc(void) {
}
expected_count = 5;
array = wapp_array_copy_alloc(i32, &allocator, dst2, src);
array = wapp_array_copy_alloc(i32, &allocator, dst2, src);
result = result && wapp_array_count(array) == expected_count && array != dst2;
index = 0;

View File

@@ -231,8 +231,8 @@ TestFuncResult test_i32_array_copy_alloc(void) {
}
expected_count = 5;
array = wapp_array_copy_alloc(i32, &allocator, dst2, src);
result = result && wapp_array_count(array) == expected_count && array != dst2;
array = wapp_array_copy_alloc(i32, &allocator, dst2, src);
result = result && wapp_array_count(array) == expected_count && array != dst2;
index = 0;
running = true;