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

Method AddRef

sdk/tests/test_feature/source/test_implicitcast.cpp:1471–1474  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1469 RefTest5() : Refs(1) {}
1470 virtual ~RefTest5() {}
1471 virtual void AddRef() const
1472 {
1473 ++Refs;
1474 }
1475 virtual void Release() const
1476 {
1477 if (--Refs == 0) delete this;

Callers 1

refCastFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected