mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-06-23 04:04:59 -07:00
move over all expansion view rules to new eval-system lookup hooks; eliminate most of old hooks
This commit is contained in:
@@ -91,6 +91,21 @@ ctrl_string_from_msg_kind(CTRL_MsgKind kind)
|
||||
return result;
|
||||
}
|
||||
|
||||
internal CTRL_EntityKind
|
||||
ctrl_entity_kind_from_string(String8 string)
|
||||
{
|
||||
CTRL_EntityKind result = CTRL_EntityKind_Null;
|
||||
for EachNonZeroEnumVal(CTRL_EntityKind, k)
|
||||
{
|
||||
if(str8_match(ctrl_entity_kind_code_name_table[k], string, 0))
|
||||
{
|
||||
result = k;
|
||||
break;
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
////////////////////////////////
|
||||
//~ rjf: Machine/Handle Pair Type Functions
|
||||
|
||||
|
||||
Reference in New Issue
Block a user