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

Method getPtr8

Engine/source/core/stringBuffer.cpp:396–405  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

394}
395
396const UTF8* StringBuffer::getPtr8() const
397{
398 incRequestCount8();
399 // get a pointer to the utf8 version of the StringBuffer's data store.
400 // if the utf8 version is dirty, update it first.
401 if(mDirty8)
402 // force const cheating.
403 const_cast<StringBuffer*>(this)->updateBuffer8();
404 return mBuffer8.address();
405}
406
407void StringBuffer::updateBuffer8()
408{

Callers 5

execConsoleCallbackMethod · 0.80
getScriptValueMethod · 0.80
findPrevWordMethod · 0.80
findNextWordMethod · 0.80
reflowMethod · 0.80

Calls 2

updateBuffer8Method · 0.80
addressMethod · 0.45

Tested by

no test coverage detected