mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-06-25 05:04:58 -07:00
extend constructed types in eval system to support procedural construction of structs/unions/enums; can be used for synthetic evals in debugger frontend & ctrl layer
This commit is contained in:
@@ -31,8 +31,8 @@ DF_CORE_VIEW_RULE_EVAL_RESOLUTION_FUNCTION_DEF(array)
|
||||
|
||||
// rjf: apply array size to type
|
||||
E_TypeKey pointee = e_type_ptee_from_key(type_key);
|
||||
E_TypeKey array_type = e_type_key_cons(E_TypeKind_Array, pointee, array_size);
|
||||
eval.type_key = e_type_key_cons(E_TypeKind_Ptr, array_type, 0);
|
||||
E_TypeKey array_type = e_type_key_cons_array(pointee, array_size);
|
||||
eval.type_key = e_type_key_cons_ptr(array_type);
|
||||
}
|
||||
}
|
||||
scratch_end(scratch);
|
||||
|
||||
Reference in New Issue
Block a user