MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / getAddLocalVariableEntry

Function getAddLocalVariableEntry

Engine/source/console/console.cpp:788–796  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

786}
787
788Dictionary::Entry *getAddLocalVariableEntry(const char *name)
789{
790 name = prependPercent(name);
791 StringTableEntry stName = StringTable->insert(name);
792 Dictionary::Entry *entry = gEvalState.getCurrentFrame().lookup(stName);
793 if (!entry)
794 entry = gEvalState.getCurrentFrame().add(stName);
795 return entry;
796}
797
798void setVariable(const char *name, const char *value)
799{

Callers

nothing calls this directly

Calls 4

prependPercentFunction · 0.85
insertMethod · 0.45
lookupMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected