mirror of https://github.com/axmolengine/axmol.git
* update tolua++ packages
This commit is contained in:
parent
8b36c6901c
commit
4dbc5997f0
|
@ -1 +1 @@
|
|||
504dc00d2269a2225a4ea794b9aa52df7c1489aa
|
||||
ec9653c088757bb11c48b51be00863d103543e35
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -21,4 +21,5 @@ class CCMenu : public CCLayer
|
|||
ccColor3B getColor(void);
|
||||
|
||||
static CCMenu* node();
|
||||
static CCMenu* menuWithItem(CCMenuItem* item);
|
||||
};
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue