Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anjo76/angelscript
/ AddRef
Method
AddRef
sdk/tests/test_feature/source/test_constobject.cpp:30–30 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
28
};
29
30
void AddRef() {refCount++;}
31
void Release() {if( --refCount == 0 ) delete this;}
32
33
void SetVal(int _val) {this->val = _val;}
Callers
1
CObj
Class · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected