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

Method AddRef

sdk/tests/test_feature/source/test_stack2.cpp:126–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124 CProp() {rc = 1;}
125
126 void AddRef() {rc++;}
127 void Release() {rc--; if( rc == 0 ) delete this;}
128
129 void Get(string &out) {out = "PropOut";}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected