CCCallFunc * CCCallFunc::create(ccScriptFunction nHandler) { CCCallFunc *pRet = new CCCallFunc(); if (pRet && pRet->initWithScriptTarget(nHandler)) { CC_SAFE_AUTORELEASE(pRet); return pRet; } CC_SAFE_DELETE(pRet); return NULL; }