eliminate all old eval visualization block/row code

This commit is contained in:
Ryan Fleury committed 2024-09-27 10:29:55 -07:00
1 parent 45226e8a81
commit ecaa2c55c0
9 files changed
+147 -1597

No files matched your search

-9
View File
@@ -873,13 +873,6 @@ RD_CollectionTable:
@expand(RD_CollectionTable a) `EV_VIEW_RULE_EXPR_EXPAND_NUM_FROM_ID_FUNCTION_NAME($(a.id_space == x -> a.name)$(a.id_space != x -> identity))`
}
/* @blocks
@data(`EV_ViewRuleBlockProdHookFunctionType *`) rd_collection_block_prod_hook_function_table:
{
@expand(RD_CollectionTable a) `EV_VIEW_RULE_BLOCK_PROD_FUNCTION_NAME($(a.name))`
}
*/
////////////////////////////////
//~ rjf: View Rules
@@ -951,7 +944,6 @@ RD_ViewRuleTable:
`String8 params_schema`;
`RD_IconKind icon_kind`;
`RD_ViewRuleInfoFlags flags`;
// TODO(rjf): @blocks `EV_ViewRuleBlockProdHookFunctionType *block_prod`;
`EV_ViewRuleExprExpandInfoHookFunctionType *expr_expand_info`;
`RD_ViewRuleUIFunctionType *ui`;
}
@@ -959,7 +951,6 @@ RD_ViewRuleTable:
@gen
{
`RD_VIEW_RULE_UI_FUNCTION_DEF(null);`,
// @blocks @expand(RD_ViewRuleTable a) `$(a.can_use_in_watch_table != 0 -> "EV_VIEW_RULE_BLOCK_PROD_FUNCTION_DEF(" .. a.name_lower .. ");")`,
@expand(RD_ViewRuleTable a) `$(a.can_use_in_watch_table != 0 && a.can_expand != 0 -> "EV_VIEW_RULE_EXPR_EXPAND_INFO_FUNCTION_DEF(" .. a.name_lower .. ");")`,
@expand(RD_ViewRuleTable a) `RD_VIEW_RULE_UI_FUNCTION_DEF($(a.name_lower));`,
}