Return a buffer we can use for arguments. This updates the function offset.
| 149 | /// |
| 150 | /// This updates the function offset. |
| 151 | char *getArgBuffer(U32 size) |
| 152 | { |
| 153 | AssertFatal(Con::isMainThread(), "Manipulating console arg buffer from a secondary thread!"); |
| 154 | validateBufferSize(mStart + mFunctionOffset + size); |
| 155 | char *ret = mBuffer + mStart + mFunctionOffset; |
| 156 | mFunctionOffset += size; |
| 157 | return ret; |
| 158 | } |
| 159 | |
| 160 | /// Clear the function offset. |
| 161 | void clearFunctionOffset() |
no test coverage detected