| 141 | } |
| 142 | |
| 143 | ConsoleValue *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 | |
| 156 | ConsoleValue *ConsoleValueStack::pushStringStackPtr(StringStackPtr value) |
| 157 | { |
no test coverage detected