MCPcopy Create free account
hub / github.com/axmolengine/axmol / create

Method create

tests/cpp-tests/Source/FontTest/FontTest.cpp:146–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144}
145
146FontNoReplacementTest* FontNoReplacementTest::create()
147{
148 auto ret = new FontNoReplacementTest;
149 if (ret->init())
150 {
151 ret->autorelease();
152 }
153 else
154 {
155 delete ret;
156 ret = nullptr;
157 }
158
159 return ret;
160}
161
162FontNoReplacementTest::FontNoReplacementTest()
163{

Callers

nothing calls this directly

Calls 2

autoreleaseMethod · 0.80
initMethod · 0.45

Tested by

no test coverage detected