interface.untyped.cpp impl compiles in gnerated c library

This commit is contained in:
2024-12-09 23:19:19 -05:00
parent cd7548c3d4
commit 0ccffe3f80
8 changed files with 47 additions and 20 deletions

View File

@ -319,6 +319,7 @@ struct FixedArena;
template<s32 Size> FixedArena<Size> fixed_arena_init();
template<s32 Size> AllocatorInfo fixed_arena_allocator_info(FixedArena<Size>* fixed_arena );
template<s32 Size> ssize fixed_arena_size_remaining(FixedArena<Size>* fixed_arena, ssize alignment);
template<s32 Size> void fixed_arena_free(FixedArena<Size>* fixed_arena);
#if GEN_COMPILER_CPP && ! GEN_C_LIKE_CPP
template<s32 Size> AllocatorInfo allocator_info( FixedArena<Size>& fixed_arena ) { return allocator_info(& fixed_arena); }