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

Method getPtr8

engine/source/string/stringBuffer.cc:413–421  ·  view source on GitHub ↗

[neo, 5/7/2007]: cant be constant as it calles updateBuffer8()! const UTF8* StringBuffer::getPtr8() const

Source from the content-addressed store, hash-verified

411// [neo, 5/7/2007]: cant be constant as it calles updateBuffer8()!
412//const UTF8* StringBuffer::getPtr8() const
413const UTF8* StringBuffer::getPtr8()
414{
415 incRequestCount8();
416 // get a pointer to the utf8 version of the StringBuffer's data store.
417 // if the utf8 version is dirty, update it first.
418 if(mDirty8)
419 updateBuffer8();
420 return mBuffer8.address();
421}
422
423void StringBuffer::updateBuffer8()
424{

Callers 7

getTextMethod · 0.80
execConsoleCallbackMethod · 0.80
getScriptValueMethod · 0.80
renderTooltipMethod · 0.80
reflowMethod · 0.80
onRenderMethod · 0.80

Calls 1

addressMethod · 0.45

Tested by

no test coverage detected