mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-02 12:08:11 +00:00
metagen: simplify metacode structs
This commit is contained in:
@@ -1733,15 +1733,10 @@ DF_DevToggleTable:
|
||||
COUNT,
|
||||
}
|
||||
|
||||
@table_gen
|
||||
@struct DF_CmdParams:
|
||||
{
|
||||
`typedef struct DF_CmdParams DF_CmdParams;`;
|
||||
`struct DF_CmdParams`;
|
||||
`{`;
|
||||
`U64 slot_props[(DF_CmdParamSlot_COUNT + 63) / 64];`;
|
||||
@expand(DF_CmdParamSlotTable a)
|
||||
`$(a.c_type) $(a.name_lower);`;
|
||||
`};`;
|
||||
`U64 slot_props[(DF_CmdParamSlot_COUNT + 63) / 64]`;
|
||||
@expand(DF_CmdParamSlotTable a) `$(a.c_type) $(a.name_lower)`;
|
||||
}
|
||||
|
||||
@table_gen_data(type:Rng1U64, fallback:0)
|
||||
|
||||
@@ -409,6 +409,7 @@ B32 prefer_dasm;
|
||||
B32 force_confirm;
|
||||
};
|
||||
|
||||
|
||||
DF_CORE_VIEW_RULE_EVAL_RESOLUTION_FUNCTION_DEF(array);
|
||||
DF_CORE_VIEW_RULE_EVAL_RESOLUTION_FUNCTION_DEF(bswap);
|
||||
DF_CORE_VIEW_RULE_VIZ_BLOCK_PROD_FUNCTION_DEF(list);
|
||||
|
||||
Reference in New Issue
Block a user