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

Function _internalExecute

Engine/source/console/console.cpp:1494–1508  ·  view source on GitHub ↗

Internal execute for global function which does not save the stack

Source from the content-addressed store, hash-verified

1492
1493// Internal execute for global function which does not save the stack
1494ConsoleValueRef _internalExecute(S32 argc, ConsoleValueRef argv[])
1495{
1496 Namespace::Entry *ent;
1497 StringTableEntry funcName = StringTable->insert(argv[0]);
1498 ent = Namespace::global()->lookup(funcName);
1499
1500 if(!ent)
1501 {
1502 warnf(ConsoleLogEntry::Script, "%s: Unknown command.", (const char*)argv[0]);
1503
1504 STR.clearFunctionOffset();
1505 return ConsoleValueRef();
1506 }
1507 return ent->execute(argc, argv, &gEvalState);
1508}
1509
1510ConsoleValueRef execute(S32 argc, ConsoleValueRef argv[])
1511{

Callers 2

executeFunction · 0.85
_execMethod · 0.85

Calls 11

warnfFunction · 0.85
clearFunctionOffsetMethod · 0.80
getNamespaceMethod · 0.80
ConsoleValueRefClass · 0.70
insertMethod · 0.45
lookupMethod · 0.45
executeMethod · 0.45
pushFrameMethod · 0.45
popFrameMethod · 0.45
getIdMethod · 0.45
setIntValueMethod · 0.45

Tested by

no test coverage detected