Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GaijinEntertainment/daScript
/ addRef
Method
addRef
include/daScript/misc/smart_ptr.h:258–260 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
256
addRef();
257
}
258
__forceinline void addRef() {
259
if ( ptr ) TP::addRef(ptr);
260
}
261
__forceinline void delRef() {
262
if ( ptr && TP::delRef(ptr) ) ptr = nullptr;
263
}
Callers
4
compute
Method · 0.45
make
Method · 0.45
jit_new
Method · 0.45
addRef
Method · 0.45
Calls
1
addRef
Function · 0.70
Tested by
no test coverage detected