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

Method popFrame

Engine/source/console/stringStack.cpp:234–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232}
233
234void ConsoleValueStack::popFrame()
235{
236 //Con::printf("CSTK popFrame");
237 if (mFrame == 0) {
238 // Go back to start
239 mStackPos = 0;
240 return;
241 }
242
243 U32 start = mStackFrames[mFrame-1];
244 //for (U32 i=start; i<mStackPos; i++) {
245 //mStack[i].clear();
246 //}
247 mStackPos = start;
248 mFrame--;
249}

Callers 4

execMethod · 0.45
_internalExecuteFunction · 0.45
restoreMethod · 0.45
TESTFunction · 0.45

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.36