本文整理汇总了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);
}