void CCBProxy::releaseMembers(){ CCDictElement *e; CCNode *n; CCDICT_FOREACH(_memVars, e){ n = (CCNode *)e->getObject(); n->removeFromParentAndCleanup(true); n->autorelease(); }
CCNode * CCNode::node(void) { CCNode * pRet = new CCNode(); pRet->autorelease(); return pRet; }