ellipses for unfinished arrays/structs in eval single-line visualization

This commit is contained in:
Ryan Fleury
2024-08-20 16:33:08 -07:00
parent 4611ddb536
commit c77d61fb4c
5 changed files with 20 additions and 5 deletions
+2
View File
@@ -141,6 +141,7 @@ e_dynamically_typed_eval_from_eval(E_Eval eval)
internal E_Eval
e_value_eval_from_eval(E_Eval eval)
{
ProfBeginFunction();
if(eval.mode == E_Mode_Offset)
{
E_TypeKey type_key = e_type_unwrap(eval.type_key);
@@ -190,6 +191,7 @@ e_value_eval_from_eval(E_Eval eval)
}
}
}
ProfEnd();
return eval;
// TODO(rjf): @spaces check regs path
+2
View File
@@ -22,6 +22,7 @@ e_select_interpret_ctx(E_InterpretCtx *ctx)
internal B32
e_space_read(E_Space space, void *out, Rng1U64 range)
{
ProfBeginFunction();
B32 result = 0;
switch(space)
{
@@ -41,6 +42,7 @@ e_space_read(E_Space space, void *out, Rng1U64 range)
result = e_interpret_ctx->space_read(e_interpret_ctx->space_read_user_data, space, out, range);
}break;
}
ProfEnd();
return result;
}