本文整理匯總了C++中CC_SAFE_RELEASE函數的典型用法代碼示例。如果您正苦於以下問題:C++ CC_SAFE_RELEASE函數的具體用法?C++ CC_SAFE_RELEASE怎麽用?C++ CC_SAFE_RELEASE使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。
在下文中一共展示了CC_SAFE_RELEASE函數的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C++代碼示例。
示例1: CC_SAFE_RELEASE
//
// RepeatForever
//
CCRepeatForever::~CCRepeatForever()
{
CC_SAFE_RELEASE(m_pInnerAction);
}
示例2: CC_SAFE_RETAIN
void FilteredSpriteWithMulti::setTSFrame(SpriteFrame* $pFrame)
{
CC_SAFE_RETAIN($pFrame);
CC_SAFE_RELEASE(_pFrame);
_pFrame = $pFrame;
}
示例3: CC_SAFE_RELEASE
CCBKeyframe::~CCBKeyframe()
{
CC_SAFE_RELEASE(_object);
}
示例4: CC_SAFE_RELEASE
HttpClient::~HttpClient()
{
CC_SAFE_RELEASE(_requestSentinel);
CCLOG("HttpClient destructor");
}
示例5: CC_SAFE_RELEASE
FilteredSpriteWithMulti::~FilteredSpriteWithMulti()
{
CC_SAFE_RELEASE(_pTexture);
CC_SAFE_RELEASE(_pFrame);
}
示例6: CC_SAFE_RELEASE
__CCCallFuncO::~__CCCallFuncO()
{
CC_SAFE_RELEASE(_object);
}
示例7: CC_SAFE_RELEASE
MessagesService::~MessagesService(void)
{
CC_SAFE_RELEASE(_messages);
}
示例8: CC_SAFE_RELEASE
MCEnemy::~MCEnemy()
{
CC_SAFE_RELEASE(skills_);
CC_SAFE_RELEASE(attackEffect_);
CC_SAFE_RELEASE(actionEffect_);
}
示例9: CC_SAFE_RELEASE
CCDeccelAmplitude::~CCDeccelAmplitude(void)
{
CC_SAFE_RELEASE(m_pOther);
}
示例10: CC_SAFE_RELEASE
//
// Follow
//
Follow::~Follow()
{
CC_SAFE_RELEASE(m_pFollowedNode);
}
示例11: CCLOGINFO
CCSpriteFrame::~CCSpriteFrame(void)
{
CCLOGINFO("cocos2d: deallocing %p", this);
CC_SAFE_RELEASE(m_pobTexture);
}
示例12: CC_SAFE_RELEASE
ActionEase::~ActionEase(void)
{
CC_SAFE_RELEASE(_inner);
}
示例13: CC_SAFE_RETAIN
void ArmatureAnimation::setUserObject(Ref *pUserObject)
{
CC_SAFE_RETAIN(pUserObject);
CC_SAFE_RELEASE(_userObject);
_userObject = pUserObject;
}
示例14: CC_SAFE_RELEASE
MCTeam::~MCTeam()
{
CC_SAFE_RELEASE(teams_);
}
示例15: CC_SAFE_RELEASE
ControlSlider::~ControlSlider()
{
CC_SAFE_RELEASE(_thumbSprite);
CC_SAFE_RELEASE(_progressSprite);
CC_SAFE_RELEASE(_backgroundSprite);
}