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

Function isOwnPtrQnD

include/daScript/misc/memory_model.h:392–394  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

390 virtual void shrink ();
391 char * allocateName ( const string & name );
392 __forceinline bool isOwnPtrQnD ( const char * ptr ) const {
393 return chunk!=nullptr && chunk->isOwnPtr(ptr);
394 }
395 __forceinline bool isOwnPtr ( const char * ptr ) const {
396 for ( auto ch=chunk; ch; ch=ch->next ) {
397 if ( ch->isOwnPtr(ptr) ) return true;

Callers

nothing calls this directly

Calls 1

isOwnPtrMethod · 0.45

Tested by

no test coverage detected