MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / beforeGC

Method beforeGC

include/daScript/misc/memory_model.h:202–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200 return false;
201 }
202 void beforeGC() {
203 for ( int i=0; i!=DAS_MAX_SHOE_CUNKS; ++i ) {
204 if ( chunks[i] ) chunks[i]->beforeGC();
205 }
206 }
207 bool isOwnPtr ( char * ptr, uint32_t size ) const {
208 DAS_ASSERT(size && size<=DAS_MAX_SHOE_ALLOCATION);
209 if ( lastChunk && lastChunk->isOwnPtr(ptr) ) {

Callers

nothing calls this directly

Calls 1

beforeGCMethod · 0.45

Tested by

no test coverage detected