Array done

This commit is contained in:
2024-11-30 13:14:47 -05:00
parent 4137ebfbd8
commit 34eec66f35
3 changed files with 332 additions and 282 deletions

View File

@ -333,7 +333,7 @@ struct FixedArena
template<s32 Size> inline
AllocatorInfo allocator_info( FixedArena<Size>& fixed_arena ) { return { arena_allocator_proc, & fixed_arena.arena }; }
template<s32 Size>
template<s32 Size> inline
void fixed_arena_init(FixedArena<Size>& result) {
zero_size(& result.memory[0], Size);
result.arena = init_from_memory(& result.memory[0], Size);