Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anjo76/angelscript
/ AddRef
Method
AddRef
sdk/add_on/scriptgrid/scriptgrid.cpp:769–774 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
767
}
768
769
void CScriptGrid::AddRef() const
770
{
771
// Clear the GC flag then increase the counter
772
gcFlag = false;
773
asAtomicInc(refCount);
774
}
775
776
void CScriptGrid::Release() const
777
{
Callers
1
CScriptGrid
Method · 0.45
Calls
1
asAtomicInc
Function · 0.85
Tested by
no test coverage detected