Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
81
void Object::retain()
82
{
83
AXASSERT(_referenceCount > 0,
"reference count should be greater than 0"
);
84
++_referenceCount;
85
}
86
87
void Object::release()
88
{
Callers
15
setFontAtlas
Method · 0.45
createSpriteForSystemFont
Method · 0.45
createShadowSpriteForSystemFont
Method · 0.45
initWithTexture
Method · 0.45
initWithAction
Method · 0.45
initWithTargetAndOffset
Method · 0.45
initWithTilesetInfo
Method · 0.45
removeActionAtIndex
Method · 0.45
addAction
Method · 0.45
removeTargetActionHandle
Method · 0.45
TransitionPageTurn
Method · 0.45
FontFNT
Method · 0.45
Calls
no outgoing calls
Tested by
15
runThisTest
Method · 0.36
setTestSuite
Method · 0.36
onEnter
Method · 0.36
init
Method · 0.36
onEnter
Method · 0.36
init
Method · 0.36
addAndRemove
Method · 0.36
DrawNodeBaseTest
Method · 0.36
DrawNodeSpLinesTest
Method · 0.36
DrawNodeSpLinesOpenClosedTest
Method · 0.36
onCaptured
Method · 0.36
addMeshRenderer
Method · 0.36