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

Method getArgBuffer

engine/source/string/stringStack.h:124–130  ·  view source on GitHub ↗

Return a buffer we can use for arguments. This updates the function offset.

Source from the content-addressed store, hash-verified

122 ///
123 /// This updates the function offset.
124 char *getArgBuffer(U32 size)
125 {
126 validateBufferSize(mStart + mFunctionOffset + size);
127 char *ret = mBuffer + mStart + mFunctionOffset;
128 mFunctionOffset += size;
129 return ret;
130 }
131
132 /// Clear the function offset.
133 void clearFunctionOffset()

Callers 4

getArgBufferFunction · 0.80
getFloatArgFunction · 0.80
getIntArgFunction · 0.80
getBoolArgFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected