mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-07-24 16:37:51 +00:00
metagen: simplify enum generation; reading/organization pass over raddbgi_from_pdb
This commit is contained in:
@@ -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[] =
|
||||
|
||||
@@ -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}`)
|
||||
|
||||
Reference in New Issue
Block a user