Iterator + start to add core to core codegen

This commit is contained in:
Krzosa Karol
2023-03-31 17:38:32 +02:00
parent 1839279235
commit 277404fe95
6 changed files with 198 additions and 61 deletions

View File

@@ -39,7 +39,7 @@ struct Array {
}
void dealloc() {
deallocate(allocator, data);
if (data) deallocate(allocator, data);
}
S64 get_index(T *item) {