more progress

This commit is contained in:
2024-12-04 11:30:54 -05:00
parent 3a55af9ce4
commit f7709bb64e
13 changed files with 95 additions and 87 deletions

View File

@@ -341,14 +341,14 @@ CodeBody gen_hashtable( StrC type, StrC hashtable_name )
, type.Len, type.Ptr );
return def_global_body(args(
def_pragma( to_str( str_fmt_buf( "region %S", tbl_type ))),
def_pragma( string_to_strc( string_fmt_buf( GlobalAllocator, "region %S", tbl_type ))),
fmt_newline,
hashtable_types,
fmt_newline,
entry_array,
hashtable_def,
fmt_newline,
def_pragma( to_str( str_fmt_buf( "endregion %S", tbl_type ))),
def_pragma( string_to_strc( string_fmt_buf( GlobalAllocator, "endregion %S", tbl_type ))),
fmt_newline
));
}