axmol/tools/tolua++/CCAutoreleasePool.pkg

31 lines
495 B
Plaintext

#include "CCObject.h"
#include "CCMutableArray.h"
namespace cocos2d {
class CCAutoreleasePool : public CCObject
{
CCAutoreleasePool(void);
void addObject(CCObject *pObject);
void removeObject(CCObject *pObject);
void clear();
};
class CCPoolManager
{
CCPoolManager();
void finalize();
void push();
void pop();
void removeObject(CCObject* pObject);
void addObject(CCObject* pObject);
static CCPoolManager* getInstance();
};
}