test: done for refactor, ready to merge
This commit is contained in:
@@ -508,6 +508,7 @@ ArrayListErr arraylist_slice_unsafe(
|
|||||||
new_slice->end = start + len;
|
new_slice->end = start + len;
|
||||||
new_slice->current = start;
|
new_slice->current = start;
|
||||||
new_slice->is_safe = false;
|
new_slice->is_safe = false;
|
||||||
|
new_slice->allocator = allocator;
|
||||||
|
|
||||||
*slice = new_slice;
|
*slice = new_slice;
|
||||||
return ARRLIST_OK;
|
return ARRLIST_OK;
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -75,7 +75,7 @@ end
|
|||||||
-- =========================================================
|
-- =========================================================
|
||||||
|
|
||||||
if has_config("tests") then
|
if has_config("tests") then
|
||||||
target("test_arena")
|
target("test_arraylist")
|
||||||
set_kind("binary")
|
set_kind("binary")
|
||||||
|
|
||||||
add_files("test/test_arraylist.c")
|
add_files("test/test_arraylist.c")
|
||||||
|
|||||||
Reference in New Issue
Block a user