* update tolua++ packages

This commit is contained in:
YuLei Liao 2012-02-02 22:15:34 +08:00
parent 8b36c6901c
commit 4dbc5997f0
4 changed files with 5 additions and 2 deletions

View File

@ -1 +1 @@
504dc00d2269a2225a4ea794b9aa52df7c1489aa
ec9653c088757bb11c48b51be00863d103543e35

View File

@ -70,7 +70,7 @@ TOLUA_API int tolua_remove_ccobject_by_refid(lua_State* L, int refid)
{
lua_pop(L, 1);
// Lua stack has closed, C++ object not in Lua.
printf("[LUA ERROR] remove CCObject with NULL ptr, refid: %d\n", refid);
// printf("[LUA ERROR] remove CCObject with NULL ptr, refid: %d\n", refid);
return -2;
}

View File

@ -21,4 +21,5 @@ class CCMenu : public CCLayer
ccColor3B getColor(void);
static CCMenu* node();
static CCMenu* menuWithItem(CCMenuItem* item);
};

View File

@ -3,6 +3,8 @@ class CCMutableArray : public CCObject
{
TOLUA_TEMPLATE_BIND(T, CCObject*, CCSpriteFrame*, CCFiniteTimeAction*)
CCMutableArray(unsigned int uSize = 0);
unsigned int count(void);
unsigned int getIndexOfObject(T pObject);