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

Method CNodeFactory

sdk/tests/test_feature/source/test_getset.cpp:24–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22{
23public:
24 static CNode *CNodeFactory() {return new CNode();}
25 CNode() {refCount = 1; child = 0;}
26 ~CNode() {if( child ) child->Release();}
27 void AddRef() {refCount++;}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected