Doing some heavy refactors on the container interfaces

Trying to set up their use to be more ideomatic to the core containers
This commit is contained in:
2024-05-31 17:58:18 -04:00
parent 3db403017e
commit f415eada0d
20 changed files with 133 additions and 98 deletions

View File

@ -24,7 +24,7 @@ string_to_runes_array :: proc( content : string, allocator := context.allocator
{
num := cast(u64) str_rune_count(content)
runes_array, alloc_error := array_init_reserve( rune, allocator, num )
runes_array, alloc_error := make( Array(rune), num, allocator )
if alloc_error != AllocatorError.None {
return nil, alloc_error
}