MCPcopy Create free account
hub / github.com/anjo76/angelscript / ScriptArrayGetRefCount_Generic

Function ScriptArrayGetRefCount_Generic

sdk/add_on/scriptarray/scriptarray.cpp:2205–2209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2203}
2204
2205static void ScriptArrayGetRefCount_Generic(asIScriptGeneric *gen)
2206{
2207 CScriptArray *self = (CScriptArray*)gen->GetObject();
2208 *reinterpret_cast<int*>(gen->GetAddressOfReturnLocation()) = self->GetRefCount();
2209}
2210
2211static void ScriptArraySetFlag_Generic(asIScriptGeneric *gen)
2212{

Callers

nothing calls this directly

Calls 3

GetObjectMethod · 0.80
GetRefCountMethod · 0.45

Tested by

no test coverage detected