Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
switch
Function · 0.45
yyparse
Function · 0.45
switch
Function · 0.45
yyparse
Function · 0.45
ast_structVarDefAbstract
Function · 0.45
ast_structVarDef
Function · 0.45
switch
Function · 0.45
yyparse
Function · 0.45
das_fileaccess_release
Function · 0.45
das_program_release
Function · 0.45
rtti_builtin_simulate
Function · 0.45
builtin_smart_ptr_move_new
Function · 0.45
Calls
1
delRef
Function · 0.70
Tested by
no test coverage detected