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

Method pushString

Engine/source/console/stringStack.cpp:130–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130ConsoleValue *ConsoleValueStack::pushString(const char *value)
131{
132 if (mStackPos == ConsoleValueStack::MaxStackDepth) {
133 AssertFatal(false, "Console Value Stack is empty");
134 return NULL;
135 }
136
137 //Con::printf("[%i]CSTK pushString %s", mStackPos, value);
138
139 mStack[mStackPos++].setStringValue(value);
140 return &mStack[mStackPos-1];
141}
142
143ConsoleValue *ConsoleValueStack::pushStackString(const char *value)
144{

Callers 1

execMethod · 0.80

Calls 1

setStringValueMethod · 0.45

Tested by

no test coverage detected