mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-12-01 10:03:20 -08:00
fix files/cmds fancy string list build
This commit is contained in:
1 parent
e30df5122a
commit
dc151609ad
3 files changed
+10
-22
No files matched your search
@@ -1505,24 +1505,16 @@ rd_eval_space_from_ctrl_entity(CTRL_Entity *entity, E_SpaceKind kind)
|
||||
//- rjf: command name <-> eval space
|
||||
|
||||
internal String8
|
||||
rd_cmd_name_from_eval_space(E_Space space)
|
||||
rd_cmd_name_from_eval(E_Eval eval)
|
||||
{
|
||||
String8 result = {0};
|
||||
if(space.kind == RD_EvalSpaceKind_MetaCmd)
|
||||
if(eval.space.kind == RD_EvalSpaceKind_MetaCmd)
|
||||
{
|
||||
result = e_string_from_id(space.u64s[0]);
|
||||
result = e_string_from_id(eval.value.u64);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
internal E_Space
|
||||
rd_eval_space_from_cmd_name(String8 cmd_name)
|
||||
{
|
||||
E_Space space = e_space_make(RD_EvalSpaceKind_MetaCmd);
|
||||
space.u64s[0] = e_id_from_string(cmd_name);
|
||||
return space;
|
||||
}
|
||||
|
||||
//- rjf: eval space reads/writes
|
||||
|
||||
internal B32
|
||||
|
||||
Reference in new issue
Block a user