progress on c_library.cpp

This commit is contained in:
2024-12-01 01:40:31 -05:00
parent a96d03eaed
commit c7b072266f
3 changed files with 82 additions and 13 deletions

View File

@@ -6,6 +6,7 @@ using namespace gen;
CodeBody gen_fixed_arenas()
{
CodeBody result = def_body(ECode::Global_Body);
result.append(def_pragma(txt("region FixedArena")));
char const* template_struct = stringize(
struct FixedArena_<Name>
@@ -115,5 +116,7 @@ CodeBody gen_fixed_arenas()
)"
)));
result.append(def_pragma(txt("endregion FixedArena")));
return result;
}