MCPcopy Create free account
hub / github.com/carbonengine/trinity / EnsureTempArenaSize

Method EnsureTempArenaSize

trinity/Controllers/Tr2Controller.cpp:347–353  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

345}
346
347void Tr2Controller::EnsureTempArenaSize( size_t size ) const
348{
349 if( m_tempArena.size() < size )
350 {
351 m_tempArena.resize( "", size );
352 }
353}
354
355void* Tr2Controller::GetTempArena() const
356{

Callers 1

CreateParserMethod · 0.45

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected