metagen: simplify enum generation; reading/organization pass over raddbgi_from_pdb

This commit is contained in:
Ryan Fleury
2024-02-13 10:55:06 -08:00
parent 4a9e5512f6
commit ea840a71e8
27 changed files with 1149 additions and 765 deletions
+1 -1
View File
@@ -151,7 +151,7 @@ OS_Key_Num9,
OS_Key_LeftMouseButton,
OS_Key_MiddleMouseButton,
OS_Key_RightMouseButton,
OS_Key_COUNT
OS_Key_COUNT,
} OS_Key;
String8 os_g_key_display_string_table[] =
+3 -4
View File
@@ -155,11 +155,10 @@ OS_KeyTable:
////////////////////////////////
//~ rjf: Generators
@table_gen_enum
OS_Key:
@enum OS_Key:
{
@expand(OS_KeyTable a) `OS_Key_$(a.name),`;
`OS_Key_COUNT`;
@expand(OS_KeyTable a) `$(a.name)`,
COUNT,
}
@table_gen_data(type: String8, fallback:`{0}`)