MCPcopy Create free account
hub / github.com/GarageGames/Torque2D / advanceChar

Method advanceChar

engine/source/string/stringStack.h:197–205  ·  view source on GitHub ↗

Advance the start stack, placing a single character, null-terminated strong on the top. @note You should use StringStack::push, not this, if you want to properly push the stack.

Source from the content-addressed store, hash-verified

195 /// @note You should use StringStack::push, not this, if you want to
196 /// properly push the stack.
197 void advanceChar(char c)
198 {
199 mStartOffsets[mStartStackSize++] = mStart;
200 mStart += mLen;
201 mBuffer[mStart] = c;
202 mBuffer[mStart+1] = 0;
203 mStart += 1;
204 mLen = 0;
205 }
206
207 /// Push the stack, placing a zero-length string on the top.
208 void push()

Callers 1

execMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected