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

Function ScriptAny_GetRefCount_Generic

sdk/add_on/scriptany/scriptany.cpp:102–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102static void ScriptAny_GetRefCount_Generic(asIScriptGeneric *gen)
103{
104 CScriptAny *self = (CScriptAny*)gen->GetObject();
105 *(int*)gen->GetAddressOfReturnLocation() = self->GetRefCount();
106}
107
108static void ScriptAny_SetFlag_Generic(asIScriptGeneric *gen)
109{

Callers

nothing calls this directly

Calls 3

GetObjectMethod · 0.80
GetRefCountMethod · 0.45

Tested by

no test coverage detected