GlobalAllocator fixes

- Made a gen script (does full build and test) build just builds gencpp now.
This commit is contained in:
2023-07-19 00:49:54 -04:00
parent 1488aeb188
commit d1c061769c
5 changed files with 107 additions and 62 deletions

View File

@ -117,6 +117,7 @@ Code gen_SOA( CodeStruct struct_def, s32 num_entries = 0 )
void check_SOA()
{
log_fmt("\ncheck_SOA:");
gen::init();
Builder soa_test; soa_test.open( "SOA.gen.hpp" );
@ -140,5 +141,6 @@ void check_SOA()
soa_test.write();
gen::deinit();
log_fmt(" passed!\n");
}
#endif

View File

@ -87,7 +87,7 @@ void check_sanity()
log_fmt("Num String Cache Arenas : %llu TotalSize: %llu !\n", StringArenas.num(), StringArenas.num() * SizePer_StringArena);
log_fmt("Num String Cache : %llu\n", StringCache.Entries.num(), StringCache);
log_fmt("\nSanity passed!\n");
gen::deinit();
log_fmt("\nSanity passed!\n");
}
#endif