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

Function AddRef

sdk/tests/test_feature/source/test_dynamicconfig.cpp:83–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83static void AddRef(asIScriptGeneric *gen)
84{
85 int *o = (int*)gen->GetObject();
86 (*o)++;
87}
88
89static void Release(asIScriptGeneric *gen)
90{

Callers 1

~asCScriptEngineMethod · 0.50

Calls 1

GetObjectMethod · 0.80

Tested by

no test coverage detected