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

Method pushStackString

Engine/source/console/stringStack.cpp:143–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143ConsoleValue *ConsoleValueStack::pushStackString(const char *value)
144{
145 if (mStackPos == ConsoleValueStack::MaxStackDepth) {
146 AssertFatal(false, "Console Value Stack is empty");
147 return NULL;
148 }
149
150 //Con::printf("[%i]CSTK pushString %s", mStackPos, value);
151
152 mStack[mStackPos++].setStackStringValue(value);
153 return &mStack[mStackPos-1];
154}
155
156ConsoleValue *ConsoleValueStack::pushStringStackPtr(StringStackPtr value)
157{

Callers 2

executeMethod · 0.80
getArgcArgvMethod · 0.80

Calls 1

setStackStringValueMethod · 0.80

Tested by

no test coverage detected