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

Method AddRef

sdk/tests/test_feature/source/test_objhandle2.cpp:66–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64// PRINTF("Destruct(%X)\n",this);
65 }
66 int AddRef()
67 {
68// asIScriptContext *ctx = asGetActiveContext();
69// PRINTF("ln:%d ", ctx->GetCurrentLineNumber());
70// PRINTF("AddRef(%X)\n",this);
71 return ++refCount;
72 }
73 int Release()
74 {
75// asIScriptContext *ctx = asGetActiveContext();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected