reduce arena overrides; tidy up organization of default control macros; eliminate arena casts by directly relying on MD_IMPL_Arena in header

This commit is contained in:
Allen Webster
2021-08-13 10:03:28 -07:00
parent d0953c883d
commit fcda88e1cd
13 changed files with 230 additions and 188 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ int main(int argument_count, char **arguments)
MD_ThreadContext tctx;
MD_ThreadInit(&tctx);
arena = MD_ArenaNew(1ull << 40);
arena = MD_ArenaAlloc(1ull << 40);
MD_Node *list = MD_MakeList(arena);
for(int i = 1; i < argument_count; i += 1)