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

Method delRef

include/daScript/misc/smart_ptr.h:261–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259 if ( ptr ) TP::addRef(ptr);
260 }
261 __forceinline void delRef() {
262 if ( ptr && TP::delRef(ptr) ) ptr = nullptr;
263 }
264 protected:
265 T * ptr;
266 };

Callers 15

switchFunction · 0.45
yyparseFunction · 0.45
switchFunction · 0.45
yyparseFunction · 0.45
ast_structVarDefAbstractFunction · 0.45
ast_structVarDefFunction · 0.45
switchFunction · 0.45
yyparseFunction · 0.45
das_fileaccess_releaseFunction · 0.45
das_program_releaseFunction · 0.45
rtti_builtin_simulateFunction · 0.45

Calls 1

delRefFunction · 0.70

Tested by

no test coverage detected