Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anjo76/angelscript
/ AddRef
Method
AddRef
sdk/add_on/scriptarray/scriptarray.cpp:1945–1950 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1943
}
1944
1945
void CScriptArray::AddRef() const
1946
{
1947
// Clear the GC flag then increase the counter
1948
gcFlag = false;
1949
asAtomicInc(refCount);
1950
}
1951
1952
void CScriptArray::Release() const
1953
{
Callers
2
CScriptArray
Method · 0.45
ScriptArrayAddRef_Generic
Function · 0.45
Calls
1
asAtomicInc
Function · 0.85
Tested by
no test coverage detected