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

Method retain

core/base/Object.cpp:81–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81void Object::retain()
82{
83 AXASSERT(_referenceCount > 0, "reference count should be greater than 0");
84 ++_referenceCount;
85}
86
87void Object::release()
88{

Callers 15

setFontAtlasMethod · 0.45
initWithTextureMethod · 0.45
initWithActionMethod · 0.45
initWithTilesetInfoMethod · 0.45
removeActionAtIndexMethod · 0.45
addActionMethod · 0.45
TransitionPageTurnMethod · 0.45
FontFNTMethod · 0.45

Calls

no outgoing calls

Tested by 15

runThisTestMethod · 0.36
setTestSuiteMethod · 0.36
onEnterMethod · 0.36
initMethod · 0.36
onEnterMethod · 0.36
initMethod · 0.36
addAndRemoveMethod · 0.36
DrawNodeBaseTestMethod · 0.36
DrawNodeSpLinesTestMethod · 0.36
onCapturedMethod · 0.36
addMeshRendererMethod · 0.36