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

Method AddRef

sdk/tests/test_feature/source/test_castop.cpp:93–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91 EventSource() {refCount = 1; value = 42;};
92 virtual ~EventSource() {}
93 virtual void AddRef() {refCount++;}
94 virtual void Release() {if( --refCount == 0 ) delete this;}
95 int refCount;
96

Callers 1

ASRefCastFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected