From 283d727b76d4a7f675398189269b0644bb2c6058 Mon Sep 17 00:00:00 2001 From: CocosRobot Date: Wed, 23 Jul 2014 06:21:31 +0000 Subject: [PATCH] [AUTO]: updating luabinding automatically --- .../lua-bindings/auto/lua_cocos2dx_auto.cpp | 4814 ++++++++--------- .../auto/lua_cocos2dx_controller_auto.cpp | 54 +- .../auto/lua_cocos2dx_experimental_auto.cpp | 130 +- .../lua_cocos2dx_experimental_video_auto.cpp | 44 +- .../auto/lua_cocos2dx_extension_auto.cpp | 1106 ++-- .../auto/lua_cocos2dx_physics_auto.cpp | 824 +-- .../auto/lua_cocos2dx_spine_auto.cpp | 34 +- .../auto/lua_cocos2dx_studio_auto.cpp | 1328 ++--- .../auto/lua_cocos2dx_ui_auto.cpp | 1330 ++--- 9 files changed, 4832 insertions(+), 4832 deletions(-) diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.cpp b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.cpp index 17c00abb38..03a107af24 100644 --- a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.cpp +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_auto.cpp @@ -42,7 +42,7 @@ int lua_cocos2dx_Ref_release(lua_State* tolua_S) cobj->release(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "release",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Ref:release",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -85,7 +85,7 @@ int lua_cocos2dx_Ref_retain(lua_State* tolua_S) cobj->retain(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "retain",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Ref:retain",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -129,7 +129,7 @@ int lua_cocos2dx_Ref_getReferenceCount(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getReferenceCount",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Ref:getReferenceCount",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -194,7 +194,7 @@ int lua_cocos2dx_Console_stop(lua_State* tolua_S) cobj->stop(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "stop",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Console:stop",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -234,14 +234,14 @@ int lua_cocos2dx_Console_listenOnTCP(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.Console:listenOnTCP"); if(!ok) return 0; bool ret = cobj->listenOnTCP(arg0); tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "listenOnTCP",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Console:listenOnTCP",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -281,14 +281,14 @@ int lua_cocos2dx_Console_listenOnFileDescriptor(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.Console:listenOnFileDescriptor"); if(!ok) return 0; bool ret = cobj->listenOnFileDescriptor(arg0); tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "listenOnFileDescriptor",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Console:listenOnFileDescriptor",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -328,13 +328,13 @@ int lua_cocos2dx_Console_log(lua_State* tolua_S) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.Console:log"); arg0 = arg0_tmp.c_str(); if(!ok) return 0; cobj->log(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "log",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Console:log",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -397,13 +397,13 @@ int lua_cocos2dx_EventListener_setEnabled(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.EventListener:setEnabled"); if(!ok) return 0; cobj->setEnabled(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setEnabled",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventListener:setEnabled",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -447,7 +447,7 @@ int lua_cocos2dx_EventListener_clone(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.EventListener",(cocos2d::EventListener*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "clone",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventListener:clone",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -491,7 +491,7 @@ int lua_cocos2dx_EventListener_isEnabled(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isEnabled",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventListener:isEnabled",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -535,7 +535,7 @@ int lua_cocos2dx_EventListener_checkAvailable(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "checkAvailable",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventListener:checkAvailable",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -602,7 +602,7 @@ int lua_cocos2dx_Event_isStopped(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isStopped",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Event:isStopped",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -646,7 +646,7 @@ int lua_cocos2dx_Event_getType(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getType",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Event:getType",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -690,7 +690,7 @@ int lua_cocos2dx_Event_getCurrentTarget(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Node",(cocos2d::Node*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getCurrentTarget",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Event:getCurrentTarget",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -733,7 +733,7 @@ int lua_cocos2dx_Event_stopPropagation(lua_State* tolua_S) cobj->stopPropagation(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "stopPropagation",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Event:stopPropagation",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -809,13 +809,13 @@ int lua_cocos2dx_EventDispatcher_pauseEventListenersForTarget(lua_State* tolua_S ok &= luaval_to_object(tolua_S, 2, "cc.Node",&arg0); - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.EventDispatcher:pauseEventListenersForTarget"); if(!ok) return 0; cobj->pauseEventListenersForTarget(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "pauseEventListenersForTarget",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventDispatcher:pauseEventListenersForTarget",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -864,7 +864,7 @@ int lua_cocos2dx_EventDispatcher_addEventListenerWithSceneGraphPriority(lua_Stat cobj->addEventListenerWithSceneGraphPriority(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addEventListenerWithSceneGraphPriority",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventDispatcher:addEventListenerWithSceneGraphPriority",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -904,13 +904,13 @@ int lua_cocos2dx_EventDispatcher_setEnabled(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.EventDispatcher:setEnabled"); if(!ok) return 0; cobj->setEnabled(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setEnabled",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventDispatcher:setEnabled",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -953,13 +953,13 @@ int lua_cocos2dx_EventDispatcher_addEventListenerWithFixedPriority(lua_State* to ok &= luaval_to_object(tolua_S, 2, "cc.EventListener",&arg0); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.EventDispatcher:addEventListenerWithFixedPriority"); if(!ok) return 0; cobj->addEventListenerWithFixedPriority(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addEventListenerWithFixedPriority",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventDispatcher:addEventListenerWithFixedPriority",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -1005,7 +1005,7 @@ int lua_cocos2dx_EventDispatcher_removeEventListener(lua_State* tolua_S) cobj->removeEventListener(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeEventListener",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventDispatcher:removeEventListener",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1058,13 +1058,13 @@ int lua_cocos2dx_EventDispatcher_resumeEventListenersForTarget(lua_State* tolua_ ok &= luaval_to_object(tolua_S, 2, "cc.Node",&arg0); - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.EventDispatcher:resumeEventListenersForTarget"); if(!ok) return 0; cobj->resumeEventListenersForTarget(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "resumeEventListenersForTarget",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventDispatcher:resumeEventListenersForTarget",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1117,13 +1117,13 @@ int lua_cocos2dx_EventDispatcher_removeEventListenersForTarget(lua_State* tolua_ ok &= luaval_to_object(tolua_S, 2, "cc.Node",&arg0); - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.EventDispatcher:removeEventListenersForTarget"); if(!ok) return 0; cobj->removeEventListenersForTarget(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeEventListenersForTarget",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventDispatcher:removeEventListenersForTarget",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1166,13 +1166,13 @@ int lua_cocos2dx_EventDispatcher_setPriority(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 2, "cc.EventListener",&arg0); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.EventDispatcher:setPriority"); if(!ok) return 0; cobj->setPriority(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setPriority",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventDispatcher:setPriority",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -1213,7 +1213,7 @@ int lua_cocos2dx_EventDispatcher_addCustomEventListener(lua_State* tolua_S) std::string arg0; std::function arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.EventDispatcher:addCustomEventListener"); do { // Lambda binding for lua is not supported. @@ -1226,7 +1226,7 @@ int lua_cocos2dx_EventDispatcher_addCustomEventListener(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.EventListenerCustom",(cocos2d::EventListenerCustom*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addCustomEventListener",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventDispatcher:addCustomEventListener",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -1272,7 +1272,7 @@ int lua_cocos2dx_EventDispatcher_dispatchEvent(lua_State* tolua_S) cobj->dispatchEvent(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "dispatchEvent",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventDispatcher:dispatchEvent",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1315,7 +1315,7 @@ int lua_cocos2dx_EventDispatcher_removeAllEventListeners(lua_State* tolua_S) cobj->removeAllEventListeners(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeAllEventListeners",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventDispatcher:removeAllEventListeners",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1355,13 +1355,13 @@ int lua_cocos2dx_EventDispatcher_removeCustomEventListeners(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.EventDispatcher:removeCustomEventListeners"); if(!ok) return 0; cobj->removeCustomEventListeners(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeCustomEventListeners",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventDispatcher:removeCustomEventListeners",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1405,7 +1405,7 @@ int lua_cocos2dx_EventDispatcher_isEnabled(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isEnabled",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventDispatcher:isEnabled",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1445,13 +1445,13 @@ int lua_cocos2dx_EventDispatcher_removeEventListenersForType(lua_State* tolua_S) { cocos2d::EventListener::Type arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.EventDispatcher:removeEventListenersForType"); if(!ok) return 0; cobj->removeEventListenersForType(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeEventListenersForType",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventDispatcher:removeEventListenersForType",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1485,7 +1485,7 @@ int lua_cocos2dx_EventDispatcher_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.EventDispatcher"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "EventDispatcher",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventDispatcher:EventDispatcher",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1563,7 +1563,7 @@ int lua_cocos2dx_Touch_getPreviousLocationInView(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPreviousLocationInView",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Touch:getPreviousLocationInView",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1607,7 +1607,7 @@ int lua_cocos2dx_Touch_getLocation(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getLocation",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Touch:getLocation",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1651,7 +1651,7 @@ int lua_cocos2dx_Touch_getDelta(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDelta",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Touch:getDelta",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1695,7 +1695,7 @@ int lua_cocos2dx_Touch_getStartLocationInView(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getStartLocationInView",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Touch:getStartLocationInView",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1739,7 +1739,7 @@ int lua_cocos2dx_Touch_getStartLocation(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getStartLocation",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Touch:getStartLocation",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1783,7 +1783,7 @@ int lua_cocos2dx_Touch_getID(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getID",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Touch:getID",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1825,17 +1825,17 @@ int lua_cocos2dx_Touch_setTouchInfo(lua_State* tolua_S) double arg1; double arg2; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.Touch:setTouchInfo"); - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.Touch:setTouchInfo"); - ok &= luaval_to_number(tolua_S, 4,&arg2); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.Touch:setTouchInfo"); if(!ok) return 0; cobj->setTouchInfo(arg0, arg1, arg2); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTouchInfo",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Touch:setTouchInfo",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 @@ -1879,7 +1879,7 @@ int lua_cocos2dx_Touch_getLocationInView(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getLocationInView",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Touch:getLocationInView",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1923,7 +1923,7 @@ int lua_cocos2dx_Touch_getPreviousLocation(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPreviousLocation",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Touch:getPreviousLocation",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1957,7 +1957,7 @@ int lua_cocos2dx_Touch_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.Touch"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "Touch",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Touch:Touch",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2030,7 +2030,7 @@ int lua_cocos2dx_EventTouch_getEventCode(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getEventCode",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventTouch:getEventCode",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2070,13 +2070,13 @@ int lua_cocos2dx_EventTouch_setEventCode(lua_State* tolua_S) { cocos2d::EventTouch::EventCode arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.EventTouch:setEventCode"); if(!ok) return 0; cobj->setEventCode(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setEventCode",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventTouch:setEventCode",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -2110,7 +2110,7 @@ int lua_cocos2dx_EventTouch_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.EventTouch"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "EventTouch",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventTouch:EventTouch",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2160,9 +2160,9 @@ int lua_cocos2dx_EventKeyboard_constructor(lua_State* tolua_S) cocos2d::EventKeyboard::KeyCode arg0; bool arg1; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.EventKeyboard:EventKeyboard"); - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.EventKeyboard:EventKeyboard"); if(!ok) return 0; cobj = new cocos2d::EventKeyboard(arg0, arg1); @@ -2172,7 +2172,7 @@ int lua_cocos2dx_EventKeyboard_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.EventKeyboard"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "EventKeyboard",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventKeyboard:EventKeyboard",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -2236,7 +2236,7 @@ int lua_cocos2dx_Texture2D_getMaxT(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getMaxT",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Texture2D:getMaxT",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2280,7 +2280,7 @@ int lua_cocos2dx_Texture2D_getStringForFormat(lua_State* tolua_S) tolua_pushstring(tolua_S,(const char*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getStringForFormat",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Texture2D:getStringForFormat",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2318,7 +2318,7 @@ int lua_cocos2dx_Texture2D_initWithImage(lua_State* tolua_S) if (!ok) { break; } cocos2d::Texture2D::PixelFormat arg1; - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.Texture2D:initWithImage"); if (!ok) { break; } bool ret = cobj->initWithImage(arg0, arg1); @@ -2339,7 +2339,7 @@ int lua_cocos2dx_Texture2D_initWithImage(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "initWithImage",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Texture2D:initWithImage",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -2383,7 +2383,7 @@ int lua_cocos2dx_Texture2D_getMaxS(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getMaxS",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Texture2D:getMaxS",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2426,7 +2426,7 @@ int lua_cocos2dx_Texture2D_releaseGLTexture(lua_State* tolua_S) cobj->releaseGLTexture(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "releaseGLTexture",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Texture2D:releaseGLTexture",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2470,7 +2470,7 @@ int lua_cocos2dx_Texture2D_hasPremultipliedAlpha(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "hasPremultipliedAlpha",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Texture2D:hasPremultipliedAlpha",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2514,7 +2514,7 @@ int lua_cocos2dx_Texture2D_getPixelsHigh(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPixelsHigh",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Texture2D:getPixelsHigh",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2548,7 +2548,7 @@ int lua_cocos2dx_Texture2D_getBitsPerPixelForFormat(lua_State* tolua_S) do{ if (argc == 1) { cocos2d::Texture2D::PixelFormat arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.Texture2D:getBitsPerPixelForFormat"); if (!ok) { break; } unsigned int ret = cobj->getBitsPerPixelForFormat(arg0); @@ -2565,7 +2565,7 @@ int lua_cocos2dx_Texture2D_getBitsPerPixelForFormat(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBitsPerPixelForFormat",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Texture2D:getBitsPerPixelForFormat",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2609,7 +2609,7 @@ int lua_cocos2dx_Texture2D_getName(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getName",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Texture2D:getName",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2643,11 +2643,11 @@ int lua_cocos2dx_Texture2D_initWithString(lua_State* tolua_S) do{ if (argc == 2) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.Texture2D:initWithString"); arg0 = arg0_tmp.c_str(); if (!ok) { break; } cocos2d::FontDefinition arg1; - ok &= luaval_to_fontdefinition(tolua_S, 3, &arg1); + ok &= luaval_to_fontdefinition(tolua_S, 3, &arg1, "cc.Texture2D:initWithString"); if (!ok) { break; } bool ret = cobj->initWithString(arg0, arg1); @@ -2659,15 +2659,15 @@ int lua_cocos2dx_Texture2D_initWithString(lua_State* tolua_S) do{ if (argc == 3) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.Texture2D:initWithString"); arg0 = arg0_tmp.c_str(); if (!ok) { break; } std::string arg1; - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "cc.Texture2D:initWithString"); if (!ok) { break; } double arg2; - ok &= luaval_to_number(tolua_S, 4,&arg2); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.Texture2D:initWithString"); if (!ok) { break; } bool ret = cobj->initWithString(arg0, arg1, arg2); @@ -2679,19 +2679,19 @@ int lua_cocos2dx_Texture2D_initWithString(lua_State* tolua_S) do{ if (argc == 4) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.Texture2D:initWithString"); arg0 = arg0_tmp.c_str(); if (!ok) { break; } std::string arg1; - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "cc.Texture2D:initWithString"); if (!ok) { break; } double arg2; - ok &= luaval_to_number(tolua_S, 4,&arg2); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.Texture2D:initWithString"); if (!ok) { break; } cocos2d::Size arg3; - ok &= luaval_to_size(tolua_S, 5, &arg3); + ok &= luaval_to_size(tolua_S, 5, &arg3, "cc.Texture2D:initWithString"); if (!ok) { break; } bool ret = cobj->initWithString(arg0, arg1, arg2, arg3); @@ -2703,23 +2703,23 @@ int lua_cocos2dx_Texture2D_initWithString(lua_State* tolua_S) do{ if (argc == 5) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.Texture2D:initWithString"); arg0 = arg0_tmp.c_str(); if (!ok) { break; } std::string arg1; - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "cc.Texture2D:initWithString"); if (!ok) { break; } double arg2; - ok &= luaval_to_number(tolua_S, 4,&arg2); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.Texture2D:initWithString"); if (!ok) { break; } cocos2d::Size arg3; - ok &= luaval_to_size(tolua_S, 5, &arg3); + ok &= luaval_to_size(tolua_S, 5, &arg3, "cc.Texture2D:initWithString"); if (!ok) { break; } cocos2d::TextHAlignment arg4; - ok &= luaval_to_int32(tolua_S, 6,(int *)&arg4); + ok &= luaval_to_int32(tolua_S, 6,(int *)&arg4, "cc.Texture2D:initWithString"); if (!ok) { break; } bool ret = cobj->initWithString(arg0, arg1, arg2, arg3, arg4); @@ -2731,27 +2731,27 @@ int lua_cocos2dx_Texture2D_initWithString(lua_State* tolua_S) do{ if (argc == 6) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.Texture2D:initWithString"); arg0 = arg0_tmp.c_str(); if (!ok) { break; } std::string arg1; - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "cc.Texture2D:initWithString"); if (!ok) { break; } double arg2; - ok &= luaval_to_number(tolua_S, 4,&arg2); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.Texture2D:initWithString"); if (!ok) { break; } cocos2d::Size arg3; - ok &= luaval_to_size(tolua_S, 5, &arg3); + ok &= luaval_to_size(tolua_S, 5, &arg3, "cc.Texture2D:initWithString"); if (!ok) { break; } cocos2d::TextHAlignment arg4; - ok &= luaval_to_int32(tolua_S, 6,(int *)&arg4); + ok &= luaval_to_int32(tolua_S, 6,(int *)&arg4, "cc.Texture2D:initWithString"); if (!ok) { break; } cocos2d::TextVAlignment arg5; - ok &= luaval_to_int32(tolua_S, 7,(int *)&arg5); + ok &= luaval_to_int32(tolua_S, 7,(int *)&arg5, "cc.Texture2D:initWithString"); if (!ok) { break; } bool ret = cobj->initWithString(arg0, arg1, arg2, arg3, arg4, arg5); @@ -2760,7 +2760,7 @@ int lua_cocos2dx_Texture2D_initWithString(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "initWithString",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Texture2D:initWithString",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 @@ -2800,13 +2800,13 @@ int lua_cocos2dx_Texture2D_setMaxT(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Texture2D:setMaxT"); if(!ok) return 0; cobj->setMaxT(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setMaxT",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Texture2D:setMaxT",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -2846,13 +2846,13 @@ int lua_cocos2dx_Texture2D_drawInRect(lua_State* tolua_S) { cocos2d::Rect arg0; - ok &= luaval_to_rect(tolua_S, 2, &arg0); + ok &= luaval_to_rect(tolua_S, 2, &arg0, "cc.Texture2D:drawInRect"); if(!ok) return 0; cobj->drawInRect(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "drawInRect",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Texture2D:drawInRect",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -2896,7 +2896,7 @@ int lua_cocos2dx_Texture2D_getContentSize(lua_State* tolua_S) size_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getContentSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Texture2D:getContentSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2939,7 +2939,7 @@ int lua_cocos2dx_Texture2D_setAliasTexParameters(lua_State* tolua_S) cobj->setAliasTexParameters(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAliasTexParameters",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Texture2D:setAliasTexParameters",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2982,7 +2982,7 @@ int lua_cocos2dx_Texture2D_setAntiAliasTexParameters(lua_State* tolua_S) cobj->setAntiAliasTexParameters(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAntiAliasTexParameters",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Texture2D:setAntiAliasTexParameters",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3025,7 +3025,7 @@ int lua_cocos2dx_Texture2D_generateMipmap(lua_State* tolua_S) cobj->generateMipmap(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "generateMipmap",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Texture2D:generateMipmap",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3069,7 +3069,7 @@ int lua_cocos2dx_Texture2D_getDescription(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDescription",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Texture2D:getDescription",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3113,7 +3113,7 @@ int lua_cocos2dx_Texture2D_getPixelFormat(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPixelFormat",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Texture2D:getPixelFormat",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3159,7 +3159,7 @@ int lua_cocos2dx_Texture2D_setGLProgram(lua_State* tolua_S) cobj->setGLProgram(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setGLProgram",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Texture2D:setGLProgram",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -3203,7 +3203,7 @@ int lua_cocos2dx_Texture2D_getContentSizeInPixels(lua_State* tolua_S) size_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getContentSizeInPixels",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Texture2D:getContentSizeInPixels",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3247,7 +3247,7 @@ int lua_cocos2dx_Texture2D_getPixelsWide(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPixelsWide",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Texture2D:getPixelsWide",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3287,13 +3287,13 @@ int lua_cocos2dx_Texture2D_drawAtPoint(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.Texture2D:drawAtPoint"); if(!ok) return 0; cobj->drawAtPoint(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "drawAtPoint",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Texture2D:drawAtPoint",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -3337,7 +3337,7 @@ int lua_cocos2dx_Texture2D_getGLProgram(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.GLProgram",(cocos2d::GLProgram*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getGLProgram",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Texture2D:getGLProgram",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3381,7 +3381,7 @@ int lua_cocos2dx_Texture2D_hasMipmaps(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "hasMipmaps",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Texture2D:hasMipmaps",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3421,13 +3421,13 @@ int lua_cocos2dx_Texture2D_setMaxS(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Texture2D:setMaxS"); if(!ok) return 0; cobj->setMaxS(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setMaxS",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Texture2D:setMaxS",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -3455,13 +3455,13 @@ int lua_cocos2dx_Texture2D_setDefaultAlphaPixelFormat(lua_State* tolua_S) if (argc == 1) { cocos2d::Texture2D::PixelFormat arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.Texture2D:setDefaultAlphaPixelFormat"); if(!ok) return 0; cocos2d::Texture2D::setDefaultAlphaPixelFormat(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "setDefaultAlphaPixelFormat",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Texture2D:setDefaultAlphaPixelFormat",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -3492,7 +3492,7 @@ int lua_cocos2dx_Texture2D_getDefaultAlphaPixelFormat(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "getDefaultAlphaPixelFormat",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Texture2D:getDefaultAlphaPixelFormat",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -3518,13 +3518,13 @@ int lua_cocos2dx_Texture2D_PVRImagesHavePremultipliedAlpha(lua_State* tolua_S) if (argc == 1) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.Texture2D:PVRImagesHavePremultipliedAlpha"); if(!ok) return 0; cocos2d::Texture2D::PVRImagesHavePremultipliedAlpha(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "PVRImagesHavePremultipliedAlpha",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Texture2D:PVRImagesHavePremultipliedAlpha",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -3556,7 +3556,7 @@ int lua_cocos2dx_Texture2D_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.Texture2D"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "Texture2D",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Texture2D:Texture2D",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3642,7 +3642,7 @@ int lua_cocos2dx_Node_addChild(lua_State* tolua_S) if (!ok) { break; } int arg1; - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.Node:addChild"); if (!ok) { break; } cobj->addChild(arg0, arg1); @@ -3668,11 +3668,11 @@ int lua_cocos2dx_Node_addChild(lua_State* tolua_S) if (!ok) { break; } int arg1; - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.Node:addChild"); if (!ok) { break; } int arg2; - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "cc.Node:addChild"); if (!ok) { break; } cobj->addChild(arg0, arg1, arg2); @@ -3687,11 +3687,11 @@ int lua_cocos2dx_Node_addChild(lua_State* tolua_S) if (!ok) { break; } int arg1; - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.Node:addChild"); if (!ok) { break; } std::string arg2; - ok &= luaval_to_std_string(tolua_S, 4,&arg2); + ok &= luaval_to_std_string(tolua_S, 4,&arg2, "cc.Node:addChild"); if (!ok) { break; } cobj->addChild(arg0, arg1, arg2); @@ -3699,7 +3699,7 @@ int lua_cocos2dx_Node_addChild(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addChild",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:addChild",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 @@ -3745,7 +3745,7 @@ int lua_cocos2dx_Node_removeComponent(lua_State* tolua_S) do{ if (argc == 1) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Node:removeComponent"); if (!ok) { break; } bool ret = cobj->removeComponent(arg0); @@ -3754,7 +3754,7 @@ int lua_cocos2dx_Node_removeComponent(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeComponent",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:removeComponent",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -3800,7 +3800,7 @@ int lua_cocos2dx_Node_setPhysicsBody(lua_State* tolua_S) cobj->setPhysicsBody(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setPhysicsBody",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setPhysicsBody",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -3844,7 +3844,7 @@ int lua_cocos2dx_Node_getDescription(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDescription",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getDescription",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3884,13 +3884,13 @@ int lua_cocos2dx_Node_setRotationSkewY(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Node:setRotationSkewY"); if(!ok) return 0; cobj->setRotationSkewY(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setRotationSkewY",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setRotationSkewY",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -3930,13 +3930,13 @@ int lua_cocos2dx_Node_setOpacityModifyRGB(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.Node:setOpacityModifyRGB"); if(!ok) return 0; cobj->setOpacityModifyRGB(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setOpacityModifyRGB",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setOpacityModifyRGB",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -3976,13 +3976,13 @@ int lua_cocos2dx_Node_setCascadeOpacityEnabled(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.Node:setCascadeOpacityEnabled"); if(!ok) return 0; cobj->setCascadeOpacityEnabled(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setCascadeOpacityEnabled",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setCascadeOpacityEnabled",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4029,7 +4029,7 @@ int lua_cocos2dx_Node_getChildren(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getChildren",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getChildren",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4079,7 +4079,7 @@ int lua_cocos2dx_Node_setOnExitCallback(lua_State* tolua_S) cobj->setOnExitCallback(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setOnExitCallback",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setOnExitCallback",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4122,7 +4122,7 @@ int lua_cocos2dx_Node_pause(lua_State* tolua_S) cobj->pause(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "pause",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:pause",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4162,14 +4162,14 @@ int lua_cocos2dx_Node_convertToWorldSpaceAR(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.Node:convertToWorldSpaceAR"); if(!ok) return 0; cocos2d::Vec2 ret = cobj->convertToWorldSpaceAR(arg0); vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "convertToWorldSpaceAR",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:convertToWorldSpaceAR",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4213,7 +4213,7 @@ int lua_cocos2dx_Node_isIgnoreAnchorPointForPosition(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isIgnoreAnchorPointForPosition",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:isIgnoreAnchorPointForPosition",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4253,14 +4253,14 @@ int lua_cocos2dx_Node_getChildByName(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Node:getChildByName"); if(!ok) return 0; cocos2d::Node* ret = cobj->getChildByName(arg0); object_to_luaval(tolua_S, "cc.Node",(cocos2d::Node*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getChildByName",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getChildByName",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4300,13 +4300,13 @@ int lua_cocos2dx_Node_updateDisplayedOpacity(lua_State* tolua_S) { uint16_t arg0; - ok &= luaval_to_uint16(tolua_S, 2,&arg0); + ok &= luaval_to_uint16(tolua_S, 2,&arg0, "cc.Node:updateDisplayedOpacity"); if(!ok) return 0; cobj->updateDisplayedOpacity(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "updateDisplayedOpacity",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:updateDisplayedOpacity",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4346,13 +4346,13 @@ int lua_cocos2dx_Node_setRotation(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Node:setRotation"); if(!ok) return 0; cobj->setRotation(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setRotation",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setRotation",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4392,13 +4392,13 @@ int lua_cocos2dx_Node_setScaleZ(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Node:setScaleZ"); if(!ok) return 0; cobj->setScaleZ(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setScaleZ",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setScaleZ",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4438,13 +4438,13 @@ int lua_cocos2dx_Node_setScaleY(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Node:setScaleY"); if(!ok) return 0; cobj->setScaleY(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setScaleY",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setScaleY",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4484,13 +4484,13 @@ int lua_cocos2dx_Node_setScaleX(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Node:setScaleX"); if(!ok) return 0; cobj->setScaleX(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setScaleX",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setScaleX",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4530,13 +4530,13 @@ int lua_cocos2dx_Node_setRotationSkewX(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Node:setRotationSkewX"); if(!ok) return 0; cobj->setRotationSkewX(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setRotationSkewX",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setRotationSkewX",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4586,7 +4586,7 @@ int lua_cocos2dx_Node_setonEnterTransitionDidFinishCallback(lua_State* tolua_S) cobj->setonEnterTransitionDidFinishCallback(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setonEnterTransitionDidFinishCallback",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setonEnterTransitionDidFinishCallback",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4629,7 +4629,7 @@ int lua_cocos2dx_Node_removeAllComponents(lua_State* tolua_S) cobj->removeAllComponents(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeAllComponents",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:removeAllComponents",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4669,13 +4669,13 @@ int lua_cocos2dx_Node__setLocalZOrder(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.Node:_setLocalZOrder"); if(!ok) return 0; cobj->_setLocalZOrder(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "_setLocalZOrder",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:_setLocalZOrder",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4719,7 +4719,7 @@ int lua_cocos2dx_Node_getTag(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTag",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getTag",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4763,7 +4763,7 @@ int lua_cocos2dx_Node_getGLProgram(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.GLProgram",(cocos2d::GLProgram*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getGLProgram",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getGLProgram",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4807,7 +4807,7 @@ int lua_cocos2dx_Node_getNodeToWorldTransform(lua_State* tolua_S) mat4_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getNodeToWorldTransform",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getNodeToWorldTransform",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4851,7 +4851,7 @@ int lua_cocos2dx_Node_getPosition3D(lua_State* tolua_S) vec3_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPosition3D",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getPosition3D",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4904,13 +4904,13 @@ int lua_cocos2dx_Node_removeChild(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 2, "cc.Node",&arg0); - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.Node:removeChild"); if(!ok) return 0; cobj->removeChild(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeChild",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:removeChild",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4950,14 +4950,14 @@ int lua_cocos2dx_Node_convertToWorldSpace(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.Node:convertToWorldSpace"); if(!ok) return 0; cocos2d::Vec2 ret = cobj->convertToWorldSpace(arg0); vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "convertToWorldSpace",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:convertToWorldSpace",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5001,7 +5001,7 @@ int lua_cocos2dx_Node_getScene(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Scene",(cocos2d::Scene*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getScene",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getScene",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5045,7 +5045,7 @@ int lua_cocos2dx_Node_getEventDispatcher(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.EventDispatcher",(cocos2d::EventDispatcher*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getEventDispatcher",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getEventDispatcher",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5085,13 +5085,13 @@ int lua_cocos2dx_Node_setSkewX(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Node:setSkewX"); if(!ok) return 0; cobj->setSkewX(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setSkewX",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setSkewX",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5137,7 +5137,7 @@ int lua_cocos2dx_Node_setGLProgramState(lua_State* tolua_S) cobj->setGLProgramState(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setGLProgramState",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setGLProgramState",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5187,7 +5187,7 @@ int lua_cocos2dx_Node_setOnEnterCallback(lua_State* tolua_S) cobj->setOnEnterCallback(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setOnEnterCallback",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setOnEnterCallback",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5231,7 +5231,7 @@ int lua_cocos2dx_Node_getOpacity(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getOpacity",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getOpacity",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5271,13 +5271,13 @@ int lua_cocos2dx_Node_setNormalizedPosition(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.Node:setNormalizedPosition"); if(!ok) return 0; cobj->setNormalizedPosition(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setNormalizedPosition",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setNormalizedPosition",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5327,7 +5327,7 @@ int lua_cocos2dx_Node_setonExitTransitionDidStartCallback(lua_State* tolua_S) cobj->setonExitTransitionDidStartCallback(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setonExitTransitionDidStartCallback",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setonExitTransitionDidStartCallback",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5374,7 +5374,7 @@ int lua_cocos2dx_Node_convertTouchToNodeSpace(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "convertTouchToNodeSpace",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:convertTouchToNodeSpace",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5408,7 +5408,7 @@ int lua_cocos2dx_Node_removeAllChildrenWithCleanup(lua_State* tolua_S) do{ if (argc == 1) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.Node:removeAllChildrenWithCleanup"); if (!ok) { break; } cobj->removeAllChildrenWithCleanup(arg0); @@ -5423,7 +5423,7 @@ int lua_cocos2dx_Node_removeAllChildrenWithCleanup(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeAllChildren",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:removeAllChildren",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5467,7 +5467,7 @@ int lua_cocos2dx_Node_getNodeToParentAffineTransform(lua_State* tolua_S) affinetransform_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getNodeToParentAffineTransform",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getNodeToParentAffineTransform",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5511,7 +5511,7 @@ int lua_cocos2dx_Node_isCascadeOpacityEnabled(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isCascadeOpacityEnabled",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:isCascadeOpacityEnabled",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5557,7 +5557,7 @@ int lua_cocos2dx_Node_setParent(lua_State* tolua_S) cobj->setParent(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setParent",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setParent",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5601,7 +5601,7 @@ int lua_cocos2dx_Node_getName(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getName",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getName",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5645,7 +5645,7 @@ int lua_cocos2dx_Node_getRotation3D(lua_State* tolua_S) vec3_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getRotation3D",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getRotation3D",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5689,7 +5689,7 @@ int lua_cocos2dx_Node_getNodeToParentTransform(lua_State* tolua_S) mat4_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getNodeToParentTransform",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getNodeToParentTransform",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5736,7 +5736,7 @@ int lua_cocos2dx_Node_convertTouchToNodeSpaceAR(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "convertTouchToNodeSpaceAR",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:convertTouchToNodeSpaceAR",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5776,14 +5776,14 @@ int lua_cocos2dx_Node_convertToNodeSpace(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.Node:convertToNodeSpace"); if(!ok) return 0; cocos2d::Vec2 ret = cobj->convertToNodeSpace(arg0); vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "convertToNodeSpace",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:convertToNodeSpace",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5826,7 +5826,7 @@ int lua_cocos2dx_Node_resume(lua_State* tolua_S) cobj->resume(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "resume",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:resume",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5870,7 +5870,7 @@ int lua_cocos2dx_Node_getPhysicsBody(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.PhysicsBody",(cocos2d::PhysicsBody*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPhysicsBody",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getPhysicsBody",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5904,11 +5904,11 @@ int lua_cocos2dx_Node_setPosition(lua_State* tolua_S) do{ if (argc == 2) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Node:setPosition"); if (!ok) { break; } double arg1; - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.Node:setPosition"); if (!ok) { break; } cobj->setPosition(arg0, arg1); @@ -5919,7 +5919,7 @@ int lua_cocos2dx_Node_setPosition(lua_State* tolua_S) do{ if (argc == 1) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.Node:setPosition"); if (!ok) { break; } cobj->setPosition(arg0); @@ -5927,7 +5927,7 @@ int lua_cocos2dx_Node_setPosition(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setPosition",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setPosition",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5967,13 +5967,13 @@ int lua_cocos2dx_Node_stopActionByTag(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.Node:stopActionByTag"); if(!ok) return 0; cobj->stopActionByTag(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "stopActionByTag",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:stopActionByTag",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6016,13 +6016,13 @@ int lua_cocos2dx_Node_reorderChild(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 2, "cc.Node",&arg0); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.Node:reorderChild"); if(!ok) return 0; cobj->reorderChild(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "reorderChild",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:reorderChild",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -6062,13 +6062,13 @@ int lua_cocos2dx_Node_ignoreAnchorPointForPosition(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.Node:ignoreAnchorPointForPosition"); if(!ok) return 0; cobj->ignoreAnchorPointForPosition(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ignoreAnchorPointForPosition",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:ignoreAnchorPointForPosition",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6108,13 +6108,13 @@ int lua_cocos2dx_Node_setSkewY(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Node:setSkewY"); if(!ok) return 0; cobj->setSkewY(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setSkewY",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setSkewY",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6154,13 +6154,13 @@ int lua_cocos2dx_Node_setPositionZ(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Node:setPositionZ"); if(!ok) return 0; cobj->setPositionZ(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setPositionZ",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setPositionZ",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6200,13 +6200,13 @@ int lua_cocos2dx_Node_setRotation3D(lua_State* tolua_S) { cocos2d::Vec3 arg0; - ok &= luaval_to_vec3(tolua_S, 2, &arg0); + ok &= luaval_to_vec3(tolua_S, 2, &arg0, "cc.Node:setRotation3D"); if(!ok) return 0; cobj->setRotation3D(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setRotation3D",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setRotation3D",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6246,13 +6246,13 @@ int lua_cocos2dx_Node_setPositionX(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Node:setPositionX"); if(!ok) return 0; cobj->setPositionX(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setPositionX",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setPositionX",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6292,13 +6292,13 @@ int lua_cocos2dx_Node_setNodeToParentTransform(lua_State* tolua_S) { cocos2d::Mat4 arg0; - ok &= luaval_to_mat4(tolua_S, 2, &arg0); + ok &= luaval_to_mat4(tolua_S, 2, &arg0, "cc.Node:setNodeToParentTransform"); if(!ok) return 0; cobj->setNodeToParentTransform(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setNodeToParentTransform",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setNodeToParentTransform",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6342,7 +6342,7 @@ int lua_cocos2dx_Node_getAnchorPoint(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAnchorPoint",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getAnchorPoint",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6386,7 +6386,7 @@ int lua_cocos2dx_Node_getNumberOfRunningActions(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getNumberOfRunningActions",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getNumberOfRunningActions",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6429,7 +6429,7 @@ int lua_cocos2dx_Node_updateTransform(lua_State* tolua_S) cobj->updateTransform(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "updateTransform",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:updateTransform",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6475,7 +6475,7 @@ int lua_cocos2dx_Node_setGLProgram(lua_State* tolua_S) cobj->setGLProgram(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setGLProgram",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setGLProgram",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6519,7 +6519,7 @@ int lua_cocos2dx_Node_isVisible(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isVisible",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:isVisible",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6563,7 +6563,7 @@ int lua_cocos2dx_Node_getChildrenCount(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getChildrenCount",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getChildrenCount",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6603,14 +6603,14 @@ int lua_cocos2dx_Node_convertToNodeSpaceAR(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.Node:convertToNodeSpaceAR"); if(!ok) return 0; cocos2d::Vec2 ret = cobj->convertToNodeSpaceAR(arg0); vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "convertToNodeSpaceAR",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:convertToNodeSpaceAR",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6657,7 +6657,7 @@ int lua_cocos2dx_Node_addComponent(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addComponent",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:addComponent",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6704,7 +6704,7 @@ int lua_cocos2dx_Node_runAction(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Action",(cocos2d::Action*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "runAction",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:runAction",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6748,7 +6748,7 @@ int lua_cocos2dx_Node_isOpacityModifyRGB(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isOpacityModifyRGB",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:isOpacityModifyRGB",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6792,7 +6792,7 @@ int lua_cocos2dx_Node_getRotation(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getRotation",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getRotation",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6836,7 +6836,7 @@ int lua_cocos2dx_Node_getAnchorPointInPoints(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAnchorPointInPoints",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getAnchorPointInPoints",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6881,11 +6881,11 @@ int lua_cocos2dx_Node_visit(lua_State* tolua_S) if (!ok) { break; } cocos2d::Mat4 arg1; - ok &= luaval_to_mat4(tolua_S, 3, &arg1); + ok &= luaval_to_mat4(tolua_S, 3, &arg1, "cc.Node:visit"); if (!ok) { break; } unsigned int arg2; - ok &= luaval_to_uint32(tolua_S, 4,&arg2); + ok &= luaval_to_uint32(tolua_S, 4,&arg2, "cc.Node:visit"); if (!ok) { break; } cobj->visit(arg0, arg1, arg2); @@ -6893,7 +6893,7 @@ int lua_cocos2dx_Node_visit(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "visit",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:visit",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 @@ -6933,7 +6933,7 @@ int lua_cocos2dx_Node_removeChildByName(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Node:removeChildByName"); if(!ok) return 0; cobj->removeChildByName(arg0); @@ -6944,15 +6944,15 @@ int lua_cocos2dx_Node_removeChildByName(lua_State* tolua_S) std::string arg0; bool arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Node:removeChildByName"); - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.Node:removeChildByName"); if(!ok) return 0; cobj->removeChildByName(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeChildByName",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:removeChildByName",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6996,7 +6996,7 @@ int lua_cocos2dx_Node_getGLProgramState(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.GLProgramState",(cocos2d::GLProgramState*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getGLProgramState",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getGLProgramState",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7042,7 +7042,7 @@ int lua_cocos2dx_Node_setScheduler(lua_State* tolua_S) cobj->setScheduler(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setScheduler",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setScheduler",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -7085,7 +7085,7 @@ int lua_cocos2dx_Node_stopAllActions(lua_State* tolua_S) cobj->stopAllActions(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "stopAllActions",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:stopAllActions",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7129,7 +7129,7 @@ int lua_cocos2dx_Node_getSkewX(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getSkewX",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getSkewX",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7173,7 +7173,7 @@ int lua_cocos2dx_Node_getSkewY(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getSkewY",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getSkewY",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7217,7 +7217,7 @@ int lua_cocos2dx_Node_getDisplayedColor(lua_State* tolua_S) color3b_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDisplayedColor",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getDisplayedColor",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7257,14 +7257,14 @@ int lua_cocos2dx_Node_getActionByTag(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.Node:getActionByTag"); if(!ok) return 0; cocos2d::Action* ret = cobj->getActionByTag(arg0); object_to_luaval(tolua_S, "cc.Action",(cocos2d::Action*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getActionByTag",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getActionByTag",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -7304,13 +7304,13 @@ int lua_cocos2dx_Node_setName(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Node:setName"); if(!ok) return 0; cobj->setName(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setName",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setName",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -7344,7 +7344,7 @@ int lua_cocos2dx_Node_setAdditionalTransform(lua_State* tolua_S) do{ if (argc == 1) { cocos2d::AffineTransform arg0; - ok &= luaval_to_affinetransform(tolua_S, 2, &arg0); + ok &= luaval_to_affinetransform(tolua_S, 2, &arg0, "cc.Node:setAdditionalTransform"); if (!ok) { break; } cobj->setAdditionalTransform(arg0); @@ -7363,7 +7363,7 @@ int lua_cocos2dx_Node_setAdditionalTransform(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAdditionalTransform",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setAdditionalTransform",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -7407,7 +7407,7 @@ int lua_cocos2dx_Node_getDisplayedOpacity(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDisplayedOpacity",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getDisplayedOpacity",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7451,7 +7451,7 @@ int lua_cocos2dx_Node_getLocalZOrder(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getLocalZOrder",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getLocalZOrder",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7498,7 +7498,7 @@ int lua_cocos2dx_Node_getScheduler(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getScheduler",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getScheduler",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7542,7 +7542,7 @@ int lua_cocos2dx_Node_getParentToNodeAffineTransform(lua_State* tolua_S) affinetransform_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getParentToNodeAffineTransform",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getParentToNodeAffineTransform",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7586,7 +7586,7 @@ int lua_cocos2dx_Node_getOrderOfArrival(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getOrderOfArrival",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getOrderOfArrival",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7632,7 +7632,7 @@ int lua_cocos2dx_Node_setActionManager(lua_State* tolua_S) cobj->setActionManager(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setActionManager",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setActionManager",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -7672,13 +7672,13 @@ int lua_cocos2dx_Node_setColor(lua_State* tolua_S) { cocos2d::Color3B arg0; - ok &= luaval_to_color3b(tolua_S, 2, &arg0); + ok &= luaval_to_color3b(tolua_S, 2, &arg0, "cc.Node:setColor"); if(!ok) return 0; cobj->setColor(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setColor",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setColor",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -7722,7 +7722,7 @@ int lua_cocos2dx_Node_isRunning(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isRunning",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:isRunning",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7769,7 +7769,7 @@ int lua_cocos2dx_Node_getParent(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getParent",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getParent",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7813,7 +7813,7 @@ int lua_cocos2dx_Node_getPositionZ(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPositionZ",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getPositionZ",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7857,7 +7857,7 @@ int lua_cocos2dx_Node_getPositionY(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPositionY",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getPositionY",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7901,7 +7901,7 @@ int lua_cocos2dx_Node_getPositionX(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPositionX",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getPositionX",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7941,7 +7941,7 @@ int lua_cocos2dx_Node_removeChildByTag(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.Node:removeChildByTag"); if(!ok) return 0; cobj->removeChildByTag(arg0); @@ -7952,15 +7952,15 @@ int lua_cocos2dx_Node_removeChildByTag(lua_State* tolua_S) int arg0; bool arg1; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.Node:removeChildByTag"); - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.Node:removeChildByTag"); if(!ok) return 0; cobj->removeChildByTag(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeChildByTag",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:removeChildByTag",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8000,13 +8000,13 @@ int lua_cocos2dx_Node_setPositionY(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Node:setPositionY"); if(!ok) return 0; cobj->setPositionY(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setPositionY",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setPositionY",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8050,7 +8050,7 @@ int lua_cocos2dx_Node_getNodeToWorldAffineTransform(lua_State* tolua_S) affinetransform_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getNodeToWorldAffineTransform",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getNodeToWorldAffineTransform",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8090,13 +8090,13 @@ int lua_cocos2dx_Node_updateDisplayedColor(lua_State* tolua_S) { cocos2d::Color3B arg0; - ok &= luaval_to_color3b(tolua_S, 2, &arg0); + ok &= luaval_to_color3b(tolua_S, 2, &arg0, "cc.Node:updateDisplayedColor"); if(!ok) return 0; cobj->updateDisplayedColor(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "updateDisplayedColor",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:updateDisplayedColor",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8136,13 +8136,13 @@ int lua_cocos2dx_Node_setVisible(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.Node:setVisible"); if(!ok) return 0; cobj->setVisible(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setVisible",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setVisible",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8186,7 +8186,7 @@ int lua_cocos2dx_Node_getParentToNodeTransform(lua_State* tolua_S) mat4_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getParentToNodeTransform",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getParentToNodeTransform",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8226,13 +8226,13 @@ int lua_cocos2dx_Node_setGlobalZOrder(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Node:setGlobalZOrder"); if(!ok) return 0; cobj->setGlobalZOrder(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setGlobalZOrder",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setGlobalZOrder",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8266,11 +8266,11 @@ int lua_cocos2dx_Node_setScale(lua_State* tolua_S) do{ if (argc == 2) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Node:setScale"); if (!ok) { break; } double arg1; - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.Node:setScale"); if (!ok) { break; } cobj->setScale(arg0, arg1); @@ -8281,7 +8281,7 @@ int lua_cocos2dx_Node_setScale(lua_State* tolua_S) do{ if (argc == 1) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Node:setScale"); if (!ok) { break; } cobj->setScale(arg0); @@ -8289,7 +8289,7 @@ int lua_cocos2dx_Node_setScale(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setScale",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setScale",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8329,14 +8329,14 @@ int lua_cocos2dx_Node_getChildByTag(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.Node:getChildByTag"); if(!ok) return 0; cocos2d::Node* ret = cobj->getChildByTag(arg0); object_to_luaval(tolua_S, "cc.Node",(cocos2d::Node*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getChildByTag",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getChildByTag",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8376,13 +8376,13 @@ int lua_cocos2dx_Node_setOrderOfArrival(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.Node:setOrderOfArrival"); if(!ok) return 0; cobj->setOrderOfArrival(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setOrderOfArrival",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setOrderOfArrival",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8426,7 +8426,7 @@ int lua_cocos2dx_Node_getScaleZ(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getScaleZ",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getScaleZ",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8470,7 +8470,7 @@ int lua_cocos2dx_Node_getScaleY(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getScaleY",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getScaleY",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8514,7 +8514,7 @@ int lua_cocos2dx_Node_getScaleX(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getScaleX",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getScaleX",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8554,13 +8554,13 @@ int lua_cocos2dx_Node_setLocalZOrder(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.Node:setLocalZOrder"); if(!ok) return 0; cobj->setLocalZOrder(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setLocalZOrder",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setLocalZOrder",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8604,7 +8604,7 @@ int lua_cocos2dx_Node_getWorldToNodeAffineTransform(lua_State* tolua_S) affinetransform_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getWorldToNodeAffineTransform",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getWorldToNodeAffineTransform",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8644,13 +8644,13 @@ int lua_cocos2dx_Node_setCascadeColorEnabled(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.Node:setCascadeColorEnabled"); if(!ok) return 0; cobj->setCascadeColorEnabled(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setCascadeColorEnabled",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setCascadeColorEnabled",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8690,13 +8690,13 @@ int lua_cocos2dx_Node_setOpacity(lua_State* tolua_S) { uint16_t arg0; - ok &= luaval_to_uint16(tolua_S, 2,&arg0); + ok &= luaval_to_uint16(tolua_S, 2,&arg0, "cc.Node:setOpacity"); if(!ok) return 0; cobj->setOpacity(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setOpacity",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setOpacity",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8739,7 +8739,7 @@ int lua_cocos2dx_Node_cleanup(lua_State* tolua_S) cobj->cleanup(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cleanup",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:cleanup",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8779,14 +8779,14 @@ int lua_cocos2dx_Node_getComponent(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Node:getComponent"); if(!ok) return 0; cocos2d::Component* ret = cobj->getComponent(arg0); object_to_luaval(tolua_S, "cc.Component",(cocos2d::Component*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getComponent",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getComponent",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8830,7 +8830,7 @@ int lua_cocos2dx_Node_getContentSize(lua_State* tolua_S) size_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getContentSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getContentSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8874,7 +8874,7 @@ int lua_cocos2dx_Node_getColor(lua_State* tolua_S) color3b_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getColor",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getColor",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8918,7 +8918,7 @@ int lua_cocos2dx_Node_getBoundingBox(lua_State* tolua_S) rect_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBoundingBox",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getBoundingBox",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8964,7 +8964,7 @@ int lua_cocos2dx_Node_setEventDispatcher(lua_State* tolua_S) cobj->setEventDispatcher(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setEventDispatcher",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setEventDispatcher",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -9008,7 +9008,7 @@ int lua_cocos2dx_Node_getGlobalZOrder(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getGlobalZOrder",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getGlobalZOrder",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9053,11 +9053,11 @@ int lua_cocos2dx_Node_draw(lua_State* tolua_S) if (!ok) { break; } cocos2d::Mat4 arg1; - ok &= luaval_to_mat4(tolua_S, 3, &arg1); + ok &= luaval_to_mat4(tolua_S, 3, &arg1, "cc.Node:draw"); if (!ok) { break; } unsigned int arg2; - ok &= luaval_to_uint32(tolua_S, 4,&arg2); + ok &= luaval_to_uint32(tolua_S, 4,&arg2, "cc.Node:draw"); if (!ok) { break; } cobj->draw(arg0, arg1, arg2); @@ -9065,7 +9065,7 @@ int lua_cocos2dx_Node_draw(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "draw",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:draw",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 @@ -9111,7 +9111,7 @@ int lua_cocos2dx_Node_setUserObject(lua_State* tolua_S) cobj->setUserObject(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setUserObject",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setUserObject",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -9145,7 +9145,7 @@ int lua_cocos2dx_Node_removeFromParentAndCleanup(lua_State* tolua_S) do{ if (argc == 1) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.Node:removeFromParentAndCleanup"); if (!ok) { break; } cobj->removeFromParentAndCleanup(arg0); @@ -9160,7 +9160,7 @@ int lua_cocos2dx_Node_removeFromParentAndCleanup(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeFromParent",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:removeFromParent",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9200,13 +9200,13 @@ int lua_cocos2dx_Node_setPosition3D(lua_State* tolua_S) { cocos2d::Vec3 arg0; - ok &= luaval_to_vec3(tolua_S, 2, &arg0); + ok &= luaval_to_vec3(tolua_S, 2, &arg0, "cc.Node:setPosition3D"); if(!ok) return 0; cobj->setPosition3D(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setPosition3D",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setPosition3D",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -9246,13 +9246,13 @@ int lua_cocos2dx_Node_update(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Node:update"); if(!ok) return 0; cobj->update(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "update",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:update",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -9295,7 +9295,7 @@ int lua_cocos2dx_Node_sortAllChildren(lua_State* tolua_S) cobj->sortAllChildren(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "sortAllChildren",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:sortAllChildren",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9339,7 +9339,7 @@ int lua_cocos2dx_Node_getWorldToNodeTransform(lua_State* tolua_S) mat4_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getWorldToNodeTransform",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getWorldToNodeTransform",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9383,7 +9383,7 @@ int lua_cocos2dx_Node_getScale(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getScale",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getScale",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9427,7 +9427,7 @@ int lua_cocos2dx_Node_getNormalizedPosition(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getNormalizedPosition",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getNormalizedPosition",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9471,7 +9471,7 @@ int lua_cocos2dx_Node_getRotationSkewX(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getRotationSkewX",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getRotationSkewX",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9515,7 +9515,7 @@ int lua_cocos2dx_Node_getRotationSkewY(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getRotationSkewY",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getRotationSkewY",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9555,13 +9555,13 @@ int lua_cocos2dx_Node_setTag(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.Node:setTag"); if(!ok) return 0; cobj->setTag(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTag",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:setTag",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -9605,7 +9605,7 @@ int lua_cocos2dx_Node_isCascadeColorEnabled(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isCascadeColorEnabled",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:isCascadeColorEnabled",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9651,7 +9651,7 @@ int lua_cocos2dx_Node_stopAction(lua_State* tolua_S) cobj->stopAction(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "stopAction",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:stopAction",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -9698,7 +9698,7 @@ int lua_cocos2dx_Node_getActionManager(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getActionManager",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Node:getActionManager",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9731,7 +9731,7 @@ int lua_cocos2dx_Node_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Node",(cocos2d::Node*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Node:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -9914,11 +9914,11 @@ int lua_cocos2dx_GLProgramState_setUniformTexture(lua_State* tolua_S) do{ if (argc == 2) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.GLProgramState:setUniformTexture"); if (!ok) { break; } unsigned int arg1; - ok &= luaval_to_uint32(tolua_S, 3,&arg1); + ok &= luaval_to_uint32(tolua_S, 3,&arg1, "cc.GLProgramState:setUniformTexture"); if (!ok) { break; } cobj->setUniformTexture(arg0, arg1); @@ -9929,7 +9929,7 @@ int lua_cocos2dx_GLProgramState_setUniformTexture(lua_State* tolua_S) do{ if (argc == 2) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.GLProgramState:setUniformTexture"); if (!ok) { break; } cocos2d::Texture2D* arg1; @@ -9944,7 +9944,7 @@ int lua_cocos2dx_GLProgramState_setUniformTexture(lua_State* tolua_S) do{ if (argc == 2) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.GLProgramState:setUniformTexture"); if (!ok) { break; } cocos2d::Texture2D* arg1; @@ -9959,11 +9959,11 @@ int lua_cocos2dx_GLProgramState_setUniformTexture(lua_State* tolua_S) do{ if (argc == 2) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.GLProgramState:setUniformTexture"); if (!ok) { break; } unsigned int arg1; - ok &= luaval_to_uint32(tolua_S, 3,&arg1); + ok &= luaval_to_uint32(tolua_S, 3,&arg1, "cc.GLProgramState:setUniformTexture"); if (!ok) { break; } cobj->setUniformTexture(arg0, arg1); @@ -9971,7 +9971,7 @@ int lua_cocos2dx_GLProgramState_setUniformTexture(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setUniformTexture",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLProgramState:setUniformTexture",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -10005,11 +10005,11 @@ int lua_cocos2dx_GLProgramState_setUniformMat4(lua_State* tolua_S) do{ if (argc == 2) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.GLProgramState:setUniformMat4"); if (!ok) { break; } cocos2d::Mat4 arg1; - ok &= luaval_to_mat4(tolua_S, 3, &arg1); + ok &= luaval_to_mat4(tolua_S, 3, &arg1, "cc.GLProgramState:setUniformMat4"); if (!ok) { break; } cobj->setUniformMat4(arg0, arg1); @@ -10020,11 +10020,11 @@ int lua_cocos2dx_GLProgramState_setUniformMat4(lua_State* tolua_S) do{ if (argc == 2) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.GLProgramState:setUniformMat4"); if (!ok) { break; } cocos2d::Mat4 arg1; - ok &= luaval_to_mat4(tolua_S, 3, &arg1); + ok &= luaval_to_mat4(tolua_S, 3, &arg1, "cc.GLProgramState:setUniformMat4"); if (!ok) { break; } cobj->setUniformMat4(arg0, arg1); @@ -10032,7 +10032,7 @@ int lua_cocos2dx_GLProgramState_setUniformMat4(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setUniformMat4",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLProgramState:setUniformMat4",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -10075,7 +10075,7 @@ int lua_cocos2dx_GLProgramState_applyUniforms(lua_State* tolua_S) cobj->applyUniforms(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "applyUniforms",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLProgramState:applyUniforms",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10115,13 +10115,13 @@ int lua_cocos2dx_GLProgramState_applyGLProgram(lua_State* tolua_S) { cocos2d::Mat4 arg0; - ok &= luaval_to_mat4(tolua_S, 2, &arg0); + ok &= luaval_to_mat4(tolua_S, 2, &arg0, "cc.GLProgramState:applyGLProgram"); if(!ok) return 0; cobj->applyGLProgram(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "applyGLProgram",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLProgramState:applyGLProgram",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -10165,7 +10165,7 @@ int lua_cocos2dx_GLProgramState_getUniformCount(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getUniformCount",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLProgramState:getUniformCount",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10212,13 +10212,13 @@ int lua_cocos2dx_GLProgramState_applyAttributes(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.GLProgramState:applyAttributes"); if(!ok) return 0; cobj->applyAttributes(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "applyAttributes",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLProgramState:applyAttributes",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10252,11 +10252,11 @@ int lua_cocos2dx_GLProgramState_setUniformFloat(lua_State* tolua_S) do{ if (argc == 2) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.GLProgramState:setUniformFloat"); if (!ok) { break; } double arg1; - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.GLProgramState:setUniformFloat"); if (!ok) { break; } cobj->setUniformFloat(arg0, arg1); @@ -10267,11 +10267,11 @@ int lua_cocos2dx_GLProgramState_setUniformFloat(lua_State* tolua_S) do{ if (argc == 2) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.GLProgramState:setUniformFloat"); if (!ok) { break; } double arg1; - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.GLProgramState:setUniformFloat"); if (!ok) { break; } cobj->setUniformFloat(arg0, arg1); @@ -10279,7 +10279,7 @@ int lua_cocos2dx_GLProgramState_setUniformFloat(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setUniformFloat",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLProgramState:setUniformFloat",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -10313,11 +10313,11 @@ int lua_cocos2dx_GLProgramState_setUniformVec3(lua_State* tolua_S) do{ if (argc == 2) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.GLProgramState:setUniformVec3"); if (!ok) { break; } cocos2d::Vec3 arg1; - ok &= luaval_to_vec3(tolua_S, 3, &arg1); + ok &= luaval_to_vec3(tolua_S, 3, &arg1, "cc.GLProgramState:setUniformVec3"); if (!ok) { break; } cobj->setUniformVec3(arg0, arg1); @@ -10328,11 +10328,11 @@ int lua_cocos2dx_GLProgramState_setUniformVec3(lua_State* tolua_S) do{ if (argc == 2) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.GLProgramState:setUniformVec3"); if (!ok) { break; } cocos2d::Vec3 arg1; - ok &= luaval_to_vec3(tolua_S, 3, &arg1); + ok &= luaval_to_vec3(tolua_S, 3, &arg1, "cc.GLProgramState:setUniformVec3"); if (!ok) { break; } cobj->setUniformVec3(arg0, arg1); @@ -10340,7 +10340,7 @@ int lua_cocos2dx_GLProgramState_setUniformVec3(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setUniformVec3",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLProgramState:setUniformVec3",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -10374,11 +10374,11 @@ int lua_cocos2dx_GLProgramState_setUniformInt(lua_State* tolua_S) do{ if (argc == 2) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.GLProgramState:setUniformInt"); if (!ok) { break; } int arg1; - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.GLProgramState:setUniformInt"); if (!ok) { break; } cobj->setUniformInt(arg0, arg1); @@ -10389,11 +10389,11 @@ int lua_cocos2dx_GLProgramState_setUniformInt(lua_State* tolua_S) do{ if (argc == 2) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.GLProgramState:setUniformInt"); if (!ok) { break; } int arg1; - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.GLProgramState:setUniformInt"); if (!ok) { break; } cobj->setUniformInt(arg0, arg1); @@ -10401,7 +10401,7 @@ int lua_cocos2dx_GLProgramState_setUniformInt(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setUniformInt",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLProgramState:setUniformInt",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -10445,7 +10445,7 @@ int lua_cocos2dx_GLProgramState_getVertexAttribCount(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getVertexAttribCount",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLProgramState:getVertexAttribCount",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10479,11 +10479,11 @@ int lua_cocos2dx_GLProgramState_setUniformVec4(lua_State* tolua_S) do{ if (argc == 2) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.GLProgramState:setUniformVec4"); if (!ok) { break; } cocos2d::Vec4 arg1; - ok &= luaval_to_vec4(tolua_S, 3, &arg1); + ok &= luaval_to_vec4(tolua_S, 3, &arg1, "cc.GLProgramState:setUniformVec4"); if (!ok) { break; } cobj->setUniformVec4(arg0, arg1); @@ -10494,11 +10494,11 @@ int lua_cocos2dx_GLProgramState_setUniformVec4(lua_State* tolua_S) do{ if (argc == 2) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.GLProgramState:setUniformVec4"); if (!ok) { break; } cocos2d::Vec4 arg1; - ok &= luaval_to_vec4(tolua_S, 3, &arg1); + ok &= luaval_to_vec4(tolua_S, 3, &arg1, "cc.GLProgramState:setUniformVec4"); if (!ok) { break; } cobj->setUniformVec4(arg0, arg1); @@ -10506,7 +10506,7 @@ int lua_cocos2dx_GLProgramState_setUniformVec4(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setUniformVec4",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLProgramState:setUniformVec4",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -10552,7 +10552,7 @@ int lua_cocos2dx_GLProgramState_setGLProgram(lua_State* tolua_S) cobj->setGLProgram(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setGLProgram",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLProgramState:setGLProgram",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -10586,11 +10586,11 @@ int lua_cocos2dx_GLProgramState_setUniformVec2(lua_State* tolua_S) do{ if (argc == 2) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.GLProgramState:setUniformVec2"); if (!ok) { break; } cocos2d::Vec2 arg1; - ok &= luaval_to_vec2(tolua_S, 3, &arg1); + ok &= luaval_to_vec2(tolua_S, 3, &arg1, "cc.GLProgramState:setUniformVec2"); if (!ok) { break; } cobj->setUniformVec2(arg0, arg1); @@ -10601,11 +10601,11 @@ int lua_cocos2dx_GLProgramState_setUniformVec2(lua_State* tolua_S) do{ if (argc == 2) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.GLProgramState:setUniformVec2"); if (!ok) { break; } cocos2d::Vec2 arg1; - ok &= luaval_to_vec2(tolua_S, 3, &arg1); + ok &= luaval_to_vec2(tolua_S, 3, &arg1, "cc.GLProgramState:setUniformVec2"); if (!ok) { break; } cobj->setUniformVec2(arg0, arg1); @@ -10613,7 +10613,7 @@ int lua_cocos2dx_GLProgramState_setUniformVec2(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setUniformVec2",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLProgramState:setUniformVec2",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -10657,7 +10657,7 @@ int lua_cocos2dx_GLProgramState_getVertexAttribsFlags(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getVertexAttribsFlags",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLProgramState:getVertexAttribsFlags",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10697,13 +10697,13 @@ int lua_cocos2dx_GLProgramState_apply(lua_State* tolua_S) { cocos2d::Mat4 arg0; - ok &= luaval_to_mat4(tolua_S, 2, &arg0); + ok &= luaval_to_mat4(tolua_S, 2, &arg0, "cc.GLProgramState:apply"); if(!ok) return 0; cobj->apply(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "apply",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLProgramState:apply",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -10747,7 +10747,7 @@ int lua_cocos2dx_GLProgramState_getGLProgram(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.GLProgram",(cocos2d::GLProgram*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getGLProgram",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLProgramState:getGLProgram",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10782,7 +10782,7 @@ int lua_cocos2dx_GLProgramState_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.GLProgramState",(cocos2d::GLProgramState*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.GLProgramState:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -10808,14 +10808,14 @@ int lua_cocos2dx_GLProgramState_getOrCreateWithGLProgramName(lua_State* tolua_S) if (argc == 1) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.GLProgramState:getOrCreateWithGLProgramName"); if(!ok) return 0; cocos2d::GLProgramState* ret = cocos2d::GLProgramState::getOrCreateWithGLProgramName(arg0); object_to_luaval(tolua_S, "cc.GLProgramState",(cocos2d::GLProgramState*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "getOrCreateWithGLProgramName",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.GLProgramState:getOrCreateWithGLProgramName",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -10848,7 +10848,7 @@ int lua_cocos2dx_GLProgramState_getOrCreateWithGLProgram(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.GLProgramState",(cocos2d::GLProgramState*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "getOrCreateWithGLProgram",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.GLProgramState:getOrCreateWithGLProgram",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -10927,7 +10927,7 @@ int lua_cocos2dx_AtlasNode_updateAtlasValues(lua_State* tolua_S) cobj->updateAtlasValues(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "updateAtlasValues",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.AtlasNode:updateAtlasValues",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10971,7 +10971,7 @@ int lua_cocos2dx_AtlasNode_getTexture(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Texture2D",(cocos2d::Texture2D*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTexture",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.AtlasNode:getTexture",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -11017,7 +11017,7 @@ int lua_cocos2dx_AtlasNode_setTextureAtlas(lua_State* tolua_S) cobj->setTextureAtlas(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTextureAtlas",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.AtlasNode:setTextureAtlas",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -11061,7 +11061,7 @@ int lua_cocos2dx_AtlasNode_getTextureAtlas(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.TextureAtlas",(cocos2d::TextureAtlas*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTextureAtlas",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.AtlasNode:getTextureAtlas",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -11105,7 +11105,7 @@ int lua_cocos2dx_AtlasNode_getQuadsToDraw(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getQuadsToDraw",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.AtlasNode:getQuadsToDraw",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -11151,7 +11151,7 @@ int lua_cocos2dx_AtlasNode_setTexture(lua_State* tolua_S) cobj->setTexture(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTexture",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.AtlasNode:setTexture",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -11191,13 +11191,13 @@ int lua_cocos2dx_AtlasNode_setQuadsToDraw(lua_State* tolua_S) { ssize_t arg0; - ok &= luaval_to_ssize(tolua_S, 2, &arg0); + ok &= luaval_to_ssize(tolua_S, 2, &arg0, "cc.AtlasNode:setQuadsToDraw"); if(!ok) return 0; cobj->setQuadsToDraw(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setQuadsToDraw",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.AtlasNode:setQuadsToDraw",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -11228,17 +11228,17 @@ int lua_cocos2dx_AtlasNode_create(lua_State* tolua_S) int arg1; int arg2; int arg3; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); - ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.AtlasNode:create"); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.AtlasNode:create"); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "cc.AtlasNode:create"); + ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3, "cc.AtlasNode:create"); if(!ok) return 0; cocos2d::AtlasNode* ret = cocos2d::AtlasNode::create(arg0, arg1, arg2, arg3); object_to_luaval(tolua_S, "cc.AtlasNode",(cocos2d::AtlasNode*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 4); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.AtlasNode:create",argc, 4); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -11303,13 +11303,13 @@ int lua_cocos2dx_LabelAtlas_setString(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.LabelAtlas:setString"); if(!ok) return 0; cobj->setString(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setString",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.LabelAtlas:setString",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -11343,11 +11343,11 @@ int lua_cocos2dx_LabelAtlas_initWithString(lua_State* tolua_S) do{ if (argc == 2) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.LabelAtlas:initWithString"); if (!ok) { break; } std::string arg1; - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "cc.LabelAtlas:initWithString"); if (!ok) { break; } bool ret = cobj->initWithString(arg0, arg1); @@ -11359,23 +11359,23 @@ int lua_cocos2dx_LabelAtlas_initWithString(lua_State* tolua_S) do{ if (argc == 5) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.LabelAtlas:initWithString"); if (!ok) { break; } std::string arg1; - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "cc.LabelAtlas:initWithString"); if (!ok) { break; } int arg2; - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "cc.LabelAtlas:initWithString"); if (!ok) { break; } int arg3; - ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3); + ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3, "cc.LabelAtlas:initWithString"); if (!ok) { break; } int arg4; - ok &= luaval_to_int32(tolua_S, 6,(int *)&arg4); + ok &= luaval_to_int32(tolua_S, 6,(int *)&arg4, "cc.LabelAtlas:initWithString"); if (!ok) { break; } bool ret = cobj->initWithString(arg0, arg1, arg2, arg3, arg4); @@ -11387,7 +11387,7 @@ int lua_cocos2dx_LabelAtlas_initWithString(lua_State* tolua_S) do{ if (argc == 5) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.LabelAtlas:initWithString"); if (!ok) { break; } cocos2d::Texture2D* arg1; @@ -11395,15 +11395,15 @@ int lua_cocos2dx_LabelAtlas_initWithString(lua_State* tolua_S) if (!ok) { break; } int arg2; - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "cc.LabelAtlas:initWithString"); if (!ok) { break; } int arg3; - ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3); + ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3, "cc.LabelAtlas:initWithString"); if (!ok) { break; } int arg4; - ok &= luaval_to_int32(tolua_S, 6,(int *)&arg4); + ok &= luaval_to_int32(tolua_S, 6,(int *)&arg4, "cc.LabelAtlas:initWithString"); if (!ok) { break; } bool ret = cobj->initWithString(arg0, arg1, arg2, arg3, arg4); @@ -11412,7 +11412,7 @@ int lua_cocos2dx_LabelAtlas_initWithString(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "initWithString",argc, 5); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.LabelAtlas:initWithString",argc, 5); return 0; #if COCOS2D_DEBUG >= 1 @@ -11455,7 +11455,7 @@ int lua_cocos2dx_LabelAtlas_updateAtlasValues(lua_State* tolua_S) cobj->updateAtlasValues(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "updateAtlasValues",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.LabelAtlas:updateAtlasValues",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -11499,7 +11499,7 @@ int lua_cocos2dx_LabelAtlas_getString(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getString",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.LabelAtlas:getString",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -11528,19 +11528,19 @@ int lua_cocos2dx_LabelAtlas_create(lua_State* tolua_S) if (argc == 5) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.LabelAtlas:create"); if (!ok) { break; } std::string arg1; - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "cc.LabelAtlas:create"); if (!ok) { break; } int arg2; - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "cc.LabelAtlas:create"); if (!ok) { break; } int arg3; - ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3); + ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3, "cc.LabelAtlas:create"); if (!ok) { break; } int arg4; - ok &= luaval_to_int32(tolua_S, 6,(int *)&arg4); + ok &= luaval_to_int32(tolua_S, 6,(int *)&arg4, "cc.LabelAtlas:create"); if (!ok) { break; } cocos2d::LabelAtlas* ret = cocos2d::LabelAtlas::create(arg0, arg1, arg2, arg3, arg4); object_to_luaval(tolua_S, "cc.LabelAtlas",(cocos2d::LabelAtlas*)ret); @@ -11563,10 +11563,10 @@ int lua_cocos2dx_LabelAtlas_create(lua_State* tolua_S) if (argc == 2) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.LabelAtlas:create"); if (!ok) { break; } std::string arg1; - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "cc.LabelAtlas:create"); if (!ok) { break; } cocos2d::LabelAtlas* ret = cocos2d::LabelAtlas::create(arg0, arg1); object_to_luaval(tolua_S, "cc.LabelAtlas",(cocos2d::LabelAtlas*)ret); @@ -11574,7 +11574,7 @@ int lua_cocos2dx_LabelAtlas_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.LabelAtlas:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -11640,7 +11640,7 @@ int lua_cocos2dx_Scene_getPhysicsWorld(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.PhysicsWorld",(cocos2d::PhysicsWorld*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPhysicsWorld",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Scene:getPhysicsWorld",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -11668,14 +11668,14 @@ int lua_cocos2dx_Scene_createWithSize(lua_State* tolua_S) if (argc == 1) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.Scene:createWithSize"); if(!ok) return 0; cocos2d::Scene* ret = cocos2d::Scene::createWithSize(arg0); object_to_luaval(tolua_S, "cc.Scene",(cocos2d::Scene*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createWithSize",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Scene:createWithSize",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -11706,7 +11706,7 @@ int lua_cocos2dx_Scene_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Scene",(cocos2d::Scene*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Scene:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -11737,7 +11737,7 @@ int lua_cocos2dx_Scene_createWithPhysics(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Scene",(cocos2d::Scene*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createWithPhysics",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Scene:createWithPhysics",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -11801,7 +11801,7 @@ int lua_cocos2dx_Director_pause(lua_State* tolua_S) cobj->pause(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "pause",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:pause",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -11847,7 +11847,7 @@ int lua_cocos2dx_Director_setEventDispatcher(lua_State* tolua_S) cobj->setEventDispatcher(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setEventDispatcher",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:setEventDispatcher",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -11893,7 +11893,7 @@ int lua_cocos2dx_Director_pushScene(lua_State* tolua_S) cobj->pushScene(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "pushScene",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:pushScene",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -11937,7 +11937,7 @@ int lua_cocos2dx_Director_getDeltaTime(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDeltaTime",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:getDeltaTime",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -11981,7 +11981,7 @@ int lua_cocos2dx_Director_getContentScaleFactor(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getContentScaleFactor",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:getContentScaleFactor",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -12025,7 +12025,7 @@ int lua_cocos2dx_Director_getWinSizeInPixels(lua_State* tolua_S) size_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getWinSizeInPixels",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:getWinSizeInPixels",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -12069,7 +12069,7 @@ int lua_cocos2dx_Director_getConsole(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Console",(cocos2d::Console*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getConsole",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:getConsole",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -12109,13 +12109,13 @@ int lua_cocos2dx_Director_pushMatrix(lua_State* tolua_S) { cocos2d::MATRIX_STACK_TYPE arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.Director:pushMatrix"); if(!ok) return 0; cobj->pushMatrix(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "pushMatrix",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:pushMatrix",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -12158,7 +12158,7 @@ int lua_cocos2dx_Director_setGLDefaultValues(lua_State* tolua_S) cobj->setGLDefaultValues(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setGLDefaultValues",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:setGLDefaultValues",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -12204,7 +12204,7 @@ int lua_cocos2dx_Director_setActionManager(lua_State* tolua_S) cobj->setActionManager(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setActionManager",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:setActionManager",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -12244,13 +12244,13 @@ int lua_cocos2dx_Director_setAlphaBlending(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.Director:setAlphaBlending"); if(!ok) return 0; cobj->setAlphaBlending(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAlphaBlending",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:setAlphaBlending",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -12293,7 +12293,7 @@ int lua_cocos2dx_Director_popToRootScene(lua_State* tolua_S) cobj->popToRootScene(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "popToRootScene",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:popToRootScene",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -12334,15 +12334,15 @@ int lua_cocos2dx_Director_loadMatrix(lua_State* tolua_S) cocos2d::MATRIX_STACK_TYPE arg0; cocos2d::Mat4 arg1; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.Director:loadMatrix"); - ok &= luaval_to_mat4(tolua_S, 3, &arg1); + ok &= luaval_to_mat4(tolua_S, 3, &arg1, "cc.Director:loadMatrix"); if(!ok) return 0; cobj->loadMatrix(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "loadMatrix",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:loadMatrix",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -12386,7 +12386,7 @@ int lua_cocos2dx_Director_getNotificationNode(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Node",(cocos2d::Node*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getNotificationNode",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:getNotificationNode",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -12430,7 +12430,7 @@ int lua_cocos2dx_Director_getWinSize(lua_State* tolua_S) size_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getWinSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:getWinSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -12474,7 +12474,7 @@ int lua_cocos2dx_Director_getTextureCache(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.TextureCache",(cocos2d::TextureCache*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTextureCache",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:getTextureCache",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -12518,7 +12518,7 @@ int lua_cocos2dx_Director_isSendCleanupToScene(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isSendCleanupToScene",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:isSendCleanupToScene",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -12562,7 +12562,7 @@ int lua_cocos2dx_Director_getVisibleOrigin(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getVisibleOrigin",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:getVisibleOrigin",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -12605,7 +12605,7 @@ int lua_cocos2dx_Director_mainLoop(lua_State* tolua_S) cobj->mainLoop(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "mainLoop",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:mainLoop",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -12645,13 +12645,13 @@ int lua_cocos2dx_Director_setDepthTest(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.Director:setDepthTest"); if(!ok) return 0; cobj->setDepthTest(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setDepthTest",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:setDepthTest",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -12695,7 +12695,7 @@ int lua_cocos2dx_Director_getFrameRate(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getFrameRate",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:getFrameRate",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -12739,7 +12739,7 @@ int lua_cocos2dx_Director_getSecondsPerFrame(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getSecondsPerFrame",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:getSecondsPerFrame",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -12779,14 +12779,14 @@ int lua_cocos2dx_Director_convertToUI(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.Director:convertToUI"); if(!ok) return 0; cocos2d::Vec2 ret = cobj->convertToUI(arg0); vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "convertToUI",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:convertToUI",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -12829,7 +12829,7 @@ int lua_cocos2dx_Director_setDefaultValues(lua_State* tolua_S) cobj->setDefaultValues(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setDefaultValues",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:setDefaultValues",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -12873,7 +12873,7 @@ int lua_cocos2dx_Director_init(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "init",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:init",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -12919,7 +12919,7 @@ int lua_cocos2dx_Director_setScheduler(lua_State* tolua_S) cobj->setScheduler(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setScheduler",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:setScheduler",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -12962,7 +12962,7 @@ int lua_cocos2dx_Director_startAnimation(lua_State* tolua_S) cobj->startAnimation(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "startAnimation",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:startAnimation",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13006,7 +13006,7 @@ int lua_cocos2dx_Director_getOpenGLView(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.GLView",(cocos2d::GLView*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getOpenGLView",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:getOpenGLView",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13050,7 +13050,7 @@ int lua_cocos2dx_Director_getRunningScene(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Scene",(cocos2d::Scene*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getRunningScene",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:getRunningScene",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13093,7 +13093,7 @@ int lua_cocos2dx_Director_setViewport(lua_State* tolua_S) cobj->setViewport(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setViewport",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:setViewport",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13136,7 +13136,7 @@ int lua_cocos2dx_Director_stopAnimation(lua_State* tolua_S) cobj->stopAnimation(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "stopAnimation",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:stopAnimation",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13176,13 +13176,13 @@ int lua_cocos2dx_Director_setContentScaleFactor(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Director:setContentScaleFactor"); if(!ok) return 0; cobj->setContentScaleFactor(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setContentScaleFactor",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:setContentScaleFactor",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -13222,13 +13222,13 @@ int lua_cocos2dx_Director_popToSceneStackLevel(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.Director:popToSceneStackLevel"); if(!ok) return 0; cobj->popToSceneStackLevel(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "popToSceneStackLevel",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:popToSceneStackLevel",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -13271,7 +13271,7 @@ int lua_cocos2dx_Director_resume(lua_State* tolua_S) cobj->resume(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "resume",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:resume",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13315,7 +13315,7 @@ int lua_cocos2dx_Director_isNextDeltaTimeZero(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isNextDeltaTimeZero",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:isNextDeltaTimeZero",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13358,7 +13358,7 @@ int lua_cocos2dx_Director_end(lua_State* tolua_S) cobj->end(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "end",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:end",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13404,7 +13404,7 @@ int lua_cocos2dx_Director_setOpenGLView(lua_State* tolua_S) cobj->setOpenGLView(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setOpenGLView",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:setOpenGLView",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -13444,14 +13444,14 @@ int lua_cocos2dx_Director_convertToGL(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.Director:convertToGL"); if(!ok) return 0; cocos2d::Vec2 ret = cobj->convertToGL(arg0); vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "convertToGL",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:convertToGL",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -13494,7 +13494,7 @@ int lua_cocos2dx_Director_purgeCachedData(lua_State* tolua_S) cobj->purgeCachedData(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "purgeCachedData",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:purgeCachedData",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13538,7 +13538,7 @@ int lua_cocos2dx_Director_getTotalFrames(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTotalFrames",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:getTotalFrames",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13584,7 +13584,7 @@ int lua_cocos2dx_Director_runWithScene(lua_State* tolua_S) cobj->runWithScene(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "runWithScene",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:runWithScene",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -13630,7 +13630,7 @@ int lua_cocos2dx_Director_setNotificationNode(lua_State* tolua_S) cobj->setNotificationNode(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setNotificationNode",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:setNotificationNode",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -13673,7 +13673,7 @@ int lua_cocos2dx_Director_drawScene(lua_State* tolua_S) cobj->drawScene(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "drawScene",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:drawScene",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13717,7 +13717,7 @@ int lua_cocos2dx_Director_getZEye(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getZEye",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:getZEye",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13757,14 +13757,14 @@ int lua_cocos2dx_Director_getMatrix(lua_State* tolua_S) { cocos2d::MATRIX_STACK_TYPE arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.Director:getMatrix"); if(!ok) return 0; cocos2d::Mat4 ret = cobj->getMatrix(arg0); mat4_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getMatrix",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:getMatrix",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -13807,7 +13807,7 @@ int lua_cocos2dx_Director_popScene(lua_State* tolua_S) cobj->popScene(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "popScene",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:popScene",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13851,7 +13851,7 @@ int lua_cocos2dx_Director_isDisplayStats(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isDisplayStats",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:isDisplayStats",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13891,13 +13891,13 @@ int lua_cocos2dx_Director_setProjection(lua_State* tolua_S) { cocos2d::Director::Projection arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.Director:setProjection"); if(!ok) return 0; cobj->setProjection(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setProjection",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:setProjection",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -13937,13 +13937,13 @@ int lua_cocos2dx_Director_loadIdentityMatrix(lua_State* tolua_S) { cocos2d::MATRIX_STACK_TYPE arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.Director:loadIdentityMatrix"); if(!ok) return 0; cobj->loadIdentityMatrix(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "loadIdentityMatrix",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:loadIdentityMatrix",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -13983,13 +13983,13 @@ int lua_cocos2dx_Director_setNextDeltaTimeZero(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.Director:setNextDeltaTimeZero"); if(!ok) return 0; cobj->setNextDeltaTimeZero(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setNextDeltaTimeZero",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:setNextDeltaTimeZero",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -14032,7 +14032,7 @@ int lua_cocos2dx_Director_resetMatrixStack(lua_State* tolua_S) cobj->resetMatrixStack(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "resetMatrixStack",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:resetMatrixStack",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -14072,13 +14072,13 @@ int lua_cocos2dx_Director_popMatrix(lua_State* tolua_S) { cocos2d::MATRIX_STACK_TYPE arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.Director:popMatrix"); if(!ok) return 0; cobj->popMatrix(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "popMatrix",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:popMatrix",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -14122,7 +14122,7 @@ int lua_cocos2dx_Director_getVisibleSize(lua_State* tolua_S) size_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getVisibleSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:getVisibleSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -14166,7 +14166,7 @@ int lua_cocos2dx_Director_getScheduler(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Scheduler",(cocos2d::Scheduler*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getScheduler",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:getScheduler",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -14206,13 +14206,13 @@ int lua_cocos2dx_Director_setAnimationInterval(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Director:setAnimationInterval"); if(!ok) return 0; cobj->setAnimationInterval(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAnimationInterval",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:setAnimationInterval",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -14256,7 +14256,7 @@ int lua_cocos2dx_Director_getAnimationInterval(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAnimationInterval",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:getAnimationInterval",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -14300,7 +14300,7 @@ int lua_cocos2dx_Director_isPaused(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isPaused",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:isPaused",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -14340,13 +14340,13 @@ int lua_cocos2dx_Director_setDisplayStats(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.Director:setDisplayStats"); if(!ok) return 0; cobj->setDisplayStats(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setDisplayStats",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:setDisplayStats",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -14390,7 +14390,7 @@ int lua_cocos2dx_Director_getEventDispatcher(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.EventDispatcher",(cocos2d::EventDispatcher*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getEventDispatcher",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:getEventDispatcher",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -14436,7 +14436,7 @@ int lua_cocos2dx_Director_replaceScene(lua_State* tolua_S) cobj->replaceScene(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "replaceScene",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:replaceScene",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -14477,15 +14477,15 @@ int lua_cocos2dx_Director_multiplyMatrix(lua_State* tolua_S) cocos2d::MATRIX_STACK_TYPE arg0; cocos2d::Mat4 arg1; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.Director:multiplyMatrix"); - ok &= luaval_to_mat4(tolua_S, 3, &arg1); + ok &= luaval_to_mat4(tolua_S, 3, &arg1, "cc.Director:multiplyMatrix"); if(!ok) return 0; cobj->multiplyMatrix(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "multiplyMatrix",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:multiplyMatrix",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -14529,7 +14529,7 @@ int lua_cocos2dx_Director_getActionManager(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.ActionManager",(cocos2d::ActionManager*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getActionManager",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Director:getActionManager",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -14562,7 +14562,7 @@ int lua_cocos2dx_Director_getInstance(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Director",(cocos2d::Director*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "getInstance",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Director:getInstance",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -14686,7 +14686,7 @@ int lua_cocos2dx_Timer_getInterval(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getInterval",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Timer:getInterval",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -14728,17 +14728,17 @@ int lua_cocos2dx_Timer_setupTimerWithInterval(lua_State* tolua_S) unsigned int arg1; double arg2; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Timer:setupTimerWithInterval"); - ok &= luaval_to_uint32(tolua_S, 3,&arg1); + ok &= luaval_to_uint32(tolua_S, 3,&arg1, "cc.Timer:setupTimerWithInterval"); - ok &= luaval_to_number(tolua_S, 4,&arg2); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.Timer:setupTimerWithInterval"); if(!ok) return 0; cobj->setupTimerWithInterval(arg0, arg1, arg2); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setupTimerWithInterval",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Timer:setupTimerWithInterval",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 @@ -14778,13 +14778,13 @@ int lua_cocos2dx_Timer_setInterval(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Timer:setInterval"); if(!ok) return 0; cobj->setInterval(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setInterval",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Timer:setInterval",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -14824,13 +14824,13 @@ int lua_cocos2dx_Timer_update(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Timer:update"); if(!ok) return 0; cobj->update(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "update",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Timer:update",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -14873,7 +14873,7 @@ int lua_cocos2dx_Timer_trigger(lua_State* tolua_S) cobj->trigger(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "trigger",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Timer:trigger",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -14916,7 +14916,7 @@ int lua_cocos2dx_Timer_cancel(lua_State* tolua_S) cobj->cancel(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cancel",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Timer:cancel",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -14981,13 +14981,13 @@ int lua_cocos2dx_Scheduler_setTimeScale(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Scheduler:setTimeScale"); if(!ok) return 0; cobj->setTimeScale(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTimeScale",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Scheduler:setTimeScale",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -15031,7 +15031,7 @@ int lua_cocos2dx_Scheduler_getTimeScale(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTimeScale",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Scheduler:getTimeScale",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -15065,7 +15065,7 @@ int lua_cocos2dx_Scheduler_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.Scheduler"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "Scheduler",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Scheduler:Scheduler",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -15127,14 +15127,14 @@ int lua_cocos2dx_FileUtils_fullPathForFilename(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.FileUtils:fullPathForFilename"); if(!ok) return 0; std::string ret = cobj->fullPathForFilename(arg0); tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "fullPathForFilename",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.FileUtils:fullPathForFilename",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -15174,14 +15174,14 @@ int lua_cocos2dx_FileUtils_getStringFromFile(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.FileUtils:getStringFromFile"); if(!ok) return 0; std::string ret = cobj->getStringFromFile(arg0); tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getStringFromFile",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.FileUtils:getStringFromFile",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -15221,13 +15221,13 @@ int lua_cocos2dx_FileUtils_setFilenameLookupDictionary(lua_State* tolua_S) { cocos2d::ValueMap arg0; - ok &= luaval_to_ccvaluemap(tolua_S, 2, &arg0); + ok &= luaval_to_ccvaluemap(tolua_S, 2, &arg0, "cc.FileUtils:setFilenameLookupDictionary"); if(!ok) return 0; cobj->setFilenameLookupDictionary(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setFilenameLookupDictionary",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.FileUtils:setFilenameLookupDictionary",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -15267,14 +15267,14 @@ int lua_cocos2dx_FileUtils_isAbsolutePath(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.FileUtils:isAbsolutePath"); if(!ok) return 0; bool ret = cobj->isAbsolutePath(arg0); tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isAbsolutePath",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.FileUtils:isAbsolutePath",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -15314,13 +15314,13 @@ int lua_cocos2dx_FileUtils_loadFilenameLookupDictionaryFromFile(lua_State* tolua { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.FileUtils:loadFilenameLookupDictionaryFromFile"); if(!ok) return 0; cobj->loadFilenameLookupDictionaryFromFile(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "loadFilenameLookupDictionaryFromFile",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.FileUtils:loadFilenameLookupDictionaryFromFile",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -15364,7 +15364,7 @@ int lua_cocos2dx_FileUtils_isPopupNotify(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isPopupNotify",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.FileUtils:isPopupNotify",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -15404,14 +15404,14 @@ int lua_cocos2dx_FileUtils_getValueVectorFromFile(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.FileUtils:getValueVectorFromFile"); if(!ok) return 0; cocos2d::ValueVector ret = cobj->getValueVectorFromFile(arg0); ccvaluevector_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getValueVectorFromFile",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.FileUtils:getValueVectorFromFile",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -15455,7 +15455,7 @@ int lua_cocos2dx_FileUtils_getSearchPaths(lua_State* tolua_S) ccvector_std_string_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getSearchPaths",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.FileUtils:getSearchPaths",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -15496,16 +15496,16 @@ int lua_cocos2dx_FileUtils_writeToFile(lua_State* tolua_S) cocos2d::ValueMap arg0; std::string arg1; - ok &= luaval_to_ccvaluemap(tolua_S, 2, &arg0); + ok &= luaval_to_ccvaluemap(tolua_S, 2, &arg0, "cc.FileUtils:writeToFile"); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "cc.FileUtils:writeToFile"); if(!ok) return 0; bool ret = cobj->writeToFile(arg0, arg1); tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "writeToFile",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.FileUtils:writeToFile",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -15545,14 +15545,14 @@ int lua_cocos2dx_FileUtils_getValueMapFromFile(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.FileUtils:getValueMapFromFile"); if(!ok) return 0; cocos2d::ValueMap ret = cobj->getValueMapFromFile(arg0); ccvaluemap_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getValueMapFromFile",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.FileUtils:getValueMapFromFile",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -15592,13 +15592,13 @@ int lua_cocos2dx_FileUtils_setSearchPaths(lua_State* tolua_S) { std::vector arg0; - ok &= luaval_to_std_vector_string(tolua_S, 2, &arg0); + ok &= luaval_to_std_vector_string(tolua_S, 2, &arg0, "cc.FileUtils:setSearchPaths"); if(!ok) return 0; cobj->setSearchPaths(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setSearchPaths",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.FileUtils:setSearchPaths",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -15638,13 +15638,13 @@ int lua_cocos2dx_FileUtils_setSearchResolutionsOrder(lua_State* tolua_S) { std::vector arg0; - ok &= luaval_to_std_vector_string(tolua_S, 2, &arg0); + ok &= luaval_to_std_vector_string(tolua_S, 2, &arg0, "cc.FileUtils:setSearchResolutionsOrder"); if(!ok) return 0; cobj->setSearchResolutionsOrder(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setSearchResolutionsOrder",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.FileUtils:setSearchResolutionsOrder",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -15684,7 +15684,7 @@ int lua_cocos2dx_FileUtils_addSearchResolutionsOrder(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.FileUtils:addSearchResolutionsOrder"); if(!ok) return 0; cobj->addSearchResolutionsOrder(arg0); @@ -15695,15 +15695,15 @@ int lua_cocos2dx_FileUtils_addSearchResolutionsOrder(lua_State* tolua_S) std::string arg0; bool arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.FileUtils:addSearchResolutionsOrder"); - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.FileUtils:addSearchResolutionsOrder"); if(!ok) return 0; cobj->addSearchResolutionsOrder(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addSearchResolutionsOrder",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.FileUtils:addSearchResolutionsOrder",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -15743,7 +15743,7 @@ int lua_cocos2dx_FileUtils_addSearchPath(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.FileUtils:addSearchPath"); if(!ok) return 0; cobj->addSearchPath(arg0); @@ -15754,15 +15754,15 @@ int lua_cocos2dx_FileUtils_addSearchPath(lua_State* tolua_S) std::string arg0; bool arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.FileUtils:addSearchPath"); - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.FileUtils:addSearchPath"); if(!ok) return 0; cobj->addSearchPath(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addSearchPath",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.FileUtils:addSearchPath",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -15802,14 +15802,14 @@ int lua_cocos2dx_FileUtils_isFileExist(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.FileUtils:isFileExist"); if(!ok) return 0; bool ret = cobj->isFileExist(arg0); tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isFileExist",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.FileUtils:isFileExist",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -15852,7 +15852,7 @@ int lua_cocos2dx_FileUtils_purgeCachedEntries(lua_State* tolua_S) cobj->purgeCachedEntries(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "purgeCachedEntries",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.FileUtils:purgeCachedEntries",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -15893,16 +15893,16 @@ int lua_cocos2dx_FileUtils_fullPathFromRelativeFile(lua_State* tolua_S) std::string arg0; std::string arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.FileUtils:fullPathFromRelativeFile"); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "cc.FileUtils:fullPathFromRelativeFile"); if(!ok) return 0; std::string ret = cobj->fullPathFromRelativeFile(arg0, arg1); tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "fullPathFromRelativeFile",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.FileUtils:fullPathFromRelativeFile",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -15942,13 +15942,13 @@ int lua_cocos2dx_FileUtils_setPopupNotify(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.FileUtils:setPopupNotify"); if(!ok) return 0; cobj->setPopupNotify(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setPopupNotify",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.FileUtils:setPopupNotify",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -15992,7 +15992,7 @@ int lua_cocos2dx_FileUtils_getSearchResolutionsOrder(lua_State* tolua_S) ccvector_std_string_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getSearchResolutionsOrder",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.FileUtils:getSearchResolutionsOrder",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -16036,7 +16036,7 @@ int lua_cocos2dx_FileUtils_getWritablePath(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getWritablePath",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.FileUtils:getWritablePath",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -16068,7 +16068,7 @@ int lua_cocos2dx_FileUtils_destroyInstance(lua_State* tolua_S) cocos2d::FileUtils::destroyInstance(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "destroyInstance",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.FileUtils:destroyInstance",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -16099,7 +16099,7 @@ int lua_cocos2dx_FileUtils_getInstance(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.FileUtils",(cocos2d::FileUtils*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "getInstance",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.FileUtils:getInstance",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -16179,15 +16179,15 @@ int lua_cocos2dx_UserDefault_setIntegerForKey(lua_State* tolua_S) const char* arg0; int arg1; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.UserDefault:setIntegerForKey"); arg0 = arg0_tmp.c_str(); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.UserDefault:setIntegerForKey"); if(!ok) return 0; cobj->setIntegerForKey(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setIntegerForKey",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.UserDefault:setIntegerForKey",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -16221,11 +16221,11 @@ int lua_cocos2dx_UserDefault_getFloatForKey(lua_State* tolua_S) do{ if (argc == 2) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.UserDefault:getFloatForKey"); arg0 = arg0_tmp.c_str(); if (!ok) { break; } double arg1; - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.UserDefault:getFloatForKey"); if (!ok) { break; } double ret = cobj->getFloatForKey(arg0, arg1); @@ -16237,7 +16237,7 @@ int lua_cocos2dx_UserDefault_getFloatForKey(lua_State* tolua_S) do{ if (argc == 1) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.UserDefault:getFloatForKey"); arg0 = arg0_tmp.c_str(); if (!ok) { break; } double ret = cobj->getFloatForKey(arg0); @@ -16246,7 +16246,7 @@ int lua_cocos2dx_UserDefault_getFloatForKey(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getFloatForKey",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.UserDefault:getFloatForKey",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -16280,11 +16280,11 @@ int lua_cocos2dx_UserDefault_getBoolForKey(lua_State* tolua_S) do{ if (argc == 2) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.UserDefault:getBoolForKey"); arg0 = arg0_tmp.c_str(); if (!ok) { break; } bool arg1; - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.UserDefault:getBoolForKey"); if (!ok) { break; } bool ret = cobj->getBoolForKey(arg0, arg1); @@ -16296,7 +16296,7 @@ int lua_cocos2dx_UserDefault_getBoolForKey(lua_State* tolua_S) do{ if (argc == 1) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.UserDefault:getBoolForKey"); arg0 = arg0_tmp.c_str(); if (!ok) { break; } bool ret = cobj->getBoolForKey(arg0); @@ -16305,7 +16305,7 @@ int lua_cocos2dx_UserDefault_getBoolForKey(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBoolForKey",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.UserDefault:getBoolForKey",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -16346,15 +16346,15 @@ int lua_cocos2dx_UserDefault_setDoubleForKey(lua_State* tolua_S) const char* arg0; double arg1; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.UserDefault:setDoubleForKey"); arg0 = arg0_tmp.c_str(); - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.UserDefault:setDoubleForKey"); if(!ok) return 0; cobj->setDoubleForKey(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setDoubleForKey",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.UserDefault:setDoubleForKey",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -16395,15 +16395,15 @@ int lua_cocos2dx_UserDefault_setFloatForKey(lua_State* tolua_S) const char* arg0; double arg1; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.UserDefault:setFloatForKey"); arg0 = arg0_tmp.c_str(); - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.UserDefault:setFloatForKey"); if(!ok) return 0; cobj->setFloatForKey(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setFloatForKey",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.UserDefault:setFloatForKey",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -16437,11 +16437,11 @@ int lua_cocos2dx_UserDefault_getStringForKey(lua_State* tolua_S) do{ if (argc == 2) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.UserDefault:getStringForKey"); arg0 = arg0_tmp.c_str(); if (!ok) { break; } std::string arg1; - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "cc.UserDefault:getStringForKey"); if (!ok) { break; } std::string ret = cobj->getStringForKey(arg0, arg1); @@ -16453,7 +16453,7 @@ int lua_cocos2dx_UserDefault_getStringForKey(lua_State* tolua_S) do{ if (argc == 1) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.UserDefault:getStringForKey"); arg0 = arg0_tmp.c_str(); if (!ok) { break; } std::string ret = cobj->getStringForKey(arg0); @@ -16462,7 +16462,7 @@ int lua_cocos2dx_UserDefault_getStringForKey(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getStringForKey",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.UserDefault:getStringForKey",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -16503,15 +16503,15 @@ int lua_cocos2dx_UserDefault_setStringForKey(lua_State* tolua_S) const char* arg0; std::string arg1; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.UserDefault:setStringForKey"); arg0 = arg0_tmp.c_str(); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "cc.UserDefault:setStringForKey"); if(!ok) return 0; cobj->setStringForKey(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setStringForKey",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.UserDefault:setStringForKey",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -16554,7 +16554,7 @@ int lua_cocos2dx_UserDefault_flush(lua_State* tolua_S) cobj->flush(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "flush",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.UserDefault:flush",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -16588,11 +16588,11 @@ int lua_cocos2dx_UserDefault_getIntegerForKey(lua_State* tolua_S) do{ if (argc == 2) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.UserDefault:getIntegerForKey"); arg0 = arg0_tmp.c_str(); if (!ok) { break; } int arg1; - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.UserDefault:getIntegerForKey"); if (!ok) { break; } int ret = cobj->getIntegerForKey(arg0, arg1); @@ -16604,7 +16604,7 @@ int lua_cocos2dx_UserDefault_getIntegerForKey(lua_State* tolua_S) do{ if (argc == 1) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.UserDefault:getIntegerForKey"); arg0 = arg0_tmp.c_str(); if (!ok) { break; } int ret = cobj->getIntegerForKey(arg0); @@ -16613,7 +16613,7 @@ int lua_cocos2dx_UserDefault_getIntegerForKey(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getIntegerForKey",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.UserDefault:getIntegerForKey",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -16647,11 +16647,11 @@ int lua_cocos2dx_UserDefault_getDoubleForKey(lua_State* tolua_S) do{ if (argc == 2) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.UserDefault:getDoubleForKey"); arg0 = arg0_tmp.c_str(); if (!ok) { break; } double arg1; - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.UserDefault:getDoubleForKey"); if (!ok) { break; } double ret = cobj->getDoubleForKey(arg0, arg1); @@ -16663,7 +16663,7 @@ int lua_cocos2dx_UserDefault_getDoubleForKey(lua_State* tolua_S) do{ if (argc == 1) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.UserDefault:getDoubleForKey"); arg0 = arg0_tmp.c_str(); if (!ok) { break; } double ret = cobj->getDoubleForKey(arg0); @@ -16672,7 +16672,7 @@ int lua_cocos2dx_UserDefault_getDoubleForKey(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDoubleForKey",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.UserDefault:getDoubleForKey",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -16713,15 +16713,15 @@ int lua_cocos2dx_UserDefault_setBoolForKey(lua_State* tolua_S) const char* arg0; bool arg1; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.UserDefault:setBoolForKey"); arg0 = arg0_tmp.c_str(); - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.UserDefault:setBoolForKey"); if(!ok) return 0; cobj->setBoolForKey(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setBoolForKey",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.UserDefault:setBoolForKey",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -16753,7 +16753,7 @@ int lua_cocos2dx_UserDefault_destroyInstance(lua_State* tolua_S) cocos2d::UserDefault::destroyInstance(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "destroyInstance",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.UserDefault:destroyInstance",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -16784,7 +16784,7 @@ int lua_cocos2dx_UserDefault_getXMLFilePath(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "getXMLFilePath",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.UserDefault:getXMLFilePath",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -16815,7 +16815,7 @@ int lua_cocos2dx_UserDefault_isXMLFileExist(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "isXMLFileExist",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.UserDefault:isXMLFileExist",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -16890,7 +16890,7 @@ int lua_cocos2dx_EventListenerTouchOneByOne_isSwallowTouches(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isSwallowTouches",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventListenerTouchOneByOne:isSwallowTouches",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -16930,13 +16930,13 @@ int lua_cocos2dx_EventListenerTouchOneByOne_setSwallowTouches(lua_State* tolua_S { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.EventListenerTouchOneByOne:setSwallowTouches"); if(!ok) return 0; cobj->setSwallowTouches(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setSwallowTouches",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventListenerTouchOneByOne:setSwallowTouches",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -17039,7 +17039,7 @@ int lua_cocos2dx_EventMouse_getMouseButton(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getMouseButton",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventMouse:getMouseButton",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -17080,15 +17080,15 @@ int lua_cocos2dx_EventMouse_setScrollData(lua_State* tolua_S) double arg0; double arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.EventMouse:setScrollData"); - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.EventMouse:setScrollData"); if(!ok) return 0; cobj->setScrollData(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setScrollData",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventMouse:setScrollData",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -17128,13 +17128,13 @@ int lua_cocos2dx_EventMouse_setMouseButton(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.EventMouse:setMouseButton"); if(!ok) return 0; cobj->setMouseButton(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setMouseButton",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventMouse:setMouseButton",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -17178,7 +17178,7 @@ int lua_cocos2dx_EventMouse_getScrollY(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getScrollY",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventMouse:getScrollY",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -17222,7 +17222,7 @@ int lua_cocos2dx_EventMouse_getScrollX(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getScrollX",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventMouse:getScrollX",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -17266,7 +17266,7 @@ int lua_cocos2dx_EventMouse_getCursorX(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getCursorX",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventMouse:getCursorX",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -17310,7 +17310,7 @@ int lua_cocos2dx_EventMouse_getCursorY(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getCursorY",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventMouse:getCursorY",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -17351,15 +17351,15 @@ int lua_cocos2dx_EventMouse_setCursorPosition(lua_State* tolua_S) double arg0; double arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.EventMouse:setCursorPosition"); - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.EventMouse:setCursorPosition"); if(!ok) return 0; cobj->setCursorPosition(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setCursorPosition",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventMouse:setCursorPosition",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -17386,7 +17386,7 @@ int lua_cocos2dx_EventMouse_constructor(lua_State* tolua_S) { cocos2d::EventMouse::MouseEventType arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.EventMouse:EventMouse"); if(!ok) return 0; cobj = new cocos2d::EventMouse(arg0); @@ -17396,7 +17396,7 @@ int lua_cocos2dx_EventMouse_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.EventMouse"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "EventMouse",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventMouse:EventMouse",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -17525,7 +17525,7 @@ int lua_cocos2dx_EventCustom_getEventName(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getEventName",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventCustom:getEventName",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -17552,7 +17552,7 @@ int lua_cocos2dx_EventCustom_constructor(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.EventCustom:EventCustom"); if(!ok) return 0; cobj = new cocos2d::EventCustom(arg0); @@ -17562,7 +17562,7 @@ int lua_cocos2dx_EventCustom_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.EventCustom"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "EventCustom",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventCustom:EventCustom",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -17642,7 +17642,7 @@ int lua_cocos2dx_EventFocus_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.EventFocus"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "EventFocus",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventFocus:EventFocus",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -17727,7 +17727,7 @@ int lua_cocos2dx_Action_startWithTarget(lua_State* tolua_S) cobj->startWithTarget(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "startWithTarget",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Action:startWithTarget",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -17773,7 +17773,7 @@ int lua_cocos2dx_Action_setOriginalTarget(lua_State* tolua_S) cobj->setOriginalTarget(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setOriginalTarget",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Action:setOriginalTarget",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -17817,7 +17817,7 @@ int lua_cocos2dx_Action_clone(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Action",(cocos2d::Action*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "clone",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Action:clone",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -17861,7 +17861,7 @@ int lua_cocos2dx_Action_getOriginalTarget(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Node",(cocos2d::Node*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getOriginalTarget",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Action:getOriginalTarget",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -17904,7 +17904,7 @@ int lua_cocos2dx_Action_stop(lua_State* tolua_S) cobj->stop(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "stop",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Action:stop",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -17944,13 +17944,13 @@ int lua_cocos2dx_Action_update(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Action:update"); if(!ok) return 0; cobj->update(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "update",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Action:update",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -17994,7 +17994,7 @@ int lua_cocos2dx_Action_getTarget(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Node",(cocos2d::Node*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTarget",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Action:getTarget",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -18034,13 +18034,13 @@ int lua_cocos2dx_Action_step(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Action:step"); if(!ok) return 0; cobj->step(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "step",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Action:step",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -18080,13 +18080,13 @@ int lua_cocos2dx_Action_setTag(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.Action:setTag"); if(!ok) return 0; cobj->setTag(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTag",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Action:setTag",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -18130,7 +18130,7 @@ int lua_cocos2dx_Action_getTag(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTag",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Action:getTag",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -18176,7 +18176,7 @@ int lua_cocos2dx_Action_setTarget(lua_State* tolua_S) cobj->setTarget(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTarget",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Action:setTarget",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -18220,7 +18220,7 @@ int lua_cocos2dx_Action_isDone(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isDone",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Action:isDone",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -18264,7 +18264,7 @@ int lua_cocos2dx_Action_reverse(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Action",(cocos2d::Action*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "reverse",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Action:reverse",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -18336,13 +18336,13 @@ int lua_cocos2dx_FiniteTimeAction_setDuration(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.FiniteTimeAction:setDuration"); if(!ok) return 0; cobj->setDuration(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setDuration",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.FiniteTimeAction:setDuration",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -18386,7 +18386,7 @@ int lua_cocos2dx_FiniteTimeAction_getDuration(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDuration",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.FiniteTimeAction:getDuration",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -18453,7 +18453,7 @@ int lua_cocos2dx_Speed_setInnerAction(lua_State* tolua_S) cobj->setInnerAction(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setInnerAction",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Speed:setInnerAction",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -18493,13 +18493,13 @@ int lua_cocos2dx_Speed_setSpeed(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Speed:setSpeed"); if(!ok) return 0; cobj->setSpeed(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setSpeed",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Speed:setSpeed",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -18543,7 +18543,7 @@ int lua_cocos2dx_Speed_getInnerAction(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.ActionInterval",(cocos2d::ActionInterval*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getInnerAction",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Speed:getInnerAction",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -18587,7 +18587,7 @@ int lua_cocos2dx_Speed_getSpeed(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getSpeed",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Speed:getSpeed",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -18617,14 +18617,14 @@ int lua_cocos2dx_Speed_create(lua_State* tolua_S) cocos2d::ActionInterval* arg0; double arg1; ok &= luaval_to_object(tolua_S, 2, "cc.ActionInterval",&arg0); - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.Speed:create"); if(!ok) return 0; cocos2d::Speed* ret = cocos2d::Speed::create(arg0, arg1); object_to_luaval(tolua_S, "cc.Speed",(cocos2d::Speed*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Speed:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -18686,13 +18686,13 @@ int lua_cocos2dx_Follow_setBoudarySet(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.Follow:setBoudarySet"); if(!ok) return 0; cobj->setBoudarySet(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setBoudarySet",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Follow:setBoudarySet",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -18736,7 +18736,7 @@ int lua_cocos2dx_Follow_isBoundarySet(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isBoundarySet",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Follow:isBoundarySet",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -18776,14 +18776,14 @@ int lua_cocos2dx_Follow_create(lua_State* tolua_S) cocos2d::Node* arg0; cocos2d::Rect arg1; ok &= luaval_to_object(tolua_S, 2, "cc.Node",&arg0); - ok &= luaval_to_rect(tolua_S, 3, &arg1); + ok &= luaval_to_rect(tolua_S, 3, &arg1, "cc.Follow:create"); if(!ok) return 0; cocos2d::Follow* ret = cocos2d::Follow::create(arg0, arg1); object_to_luaval(tolua_S, "cc.Follow",(cocos2d::Follow*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Follow:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -18847,7 +18847,7 @@ int lua_cocos2dx_SpriteFrame_clone(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.SpriteFrame",(cocos2d::SpriteFrame*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "clone",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteFrame:clone",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -18887,13 +18887,13 @@ int lua_cocos2dx_SpriteFrame_setRotated(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.SpriteFrame:setRotated"); if(!ok) return 0; cobj->setRotated(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setRotated",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteFrame:setRotated",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -18939,7 +18939,7 @@ int lua_cocos2dx_SpriteFrame_setTexture(lua_State* tolua_S) cobj->setTexture(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTexture",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteFrame:setTexture",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -18983,7 +18983,7 @@ int lua_cocos2dx_SpriteFrame_getOffset(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getOffset",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteFrame:getOffset",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -19023,13 +19023,13 @@ int lua_cocos2dx_SpriteFrame_setRectInPixels(lua_State* tolua_S) { cocos2d::Rect arg0; - ok &= luaval_to_rect(tolua_S, 2, &arg0); + ok &= luaval_to_rect(tolua_S, 2, &arg0, "cc.SpriteFrame:setRectInPixels"); if(!ok) return 0; cobj->setRectInPixels(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setRectInPixels",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteFrame:setRectInPixels",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -19073,7 +19073,7 @@ int lua_cocos2dx_SpriteFrame_getTexture(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Texture2D",(cocos2d::Texture2D*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTexture",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteFrame:getTexture",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -19117,7 +19117,7 @@ int lua_cocos2dx_SpriteFrame_getRect(lua_State* tolua_S) rect_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getRect",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteFrame:getRect",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -19157,13 +19157,13 @@ int lua_cocos2dx_SpriteFrame_setOffsetInPixels(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.SpriteFrame:setOffsetInPixels"); if(!ok) return 0; cobj->setOffsetInPixels(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setOffsetInPixels",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteFrame:setOffsetInPixels",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -19207,7 +19207,7 @@ int lua_cocos2dx_SpriteFrame_getRectInPixels(lua_State* tolua_S) rect_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getRectInPixels",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteFrame:getRectInPixels",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -19247,13 +19247,13 @@ int lua_cocos2dx_SpriteFrame_setOriginalSize(lua_State* tolua_S) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.SpriteFrame:setOriginalSize"); if(!ok) return 0; cobj->setOriginalSize(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setOriginalSize",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteFrame:setOriginalSize",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -19297,7 +19297,7 @@ int lua_cocos2dx_SpriteFrame_getOriginalSizeInPixels(lua_State* tolua_S) size_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getOriginalSizeInPixels",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteFrame:getOriginalSizeInPixels",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -19337,13 +19337,13 @@ int lua_cocos2dx_SpriteFrame_setOriginalSizeInPixels(lua_State* tolua_S) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.SpriteFrame:setOriginalSizeInPixels"); if(!ok) return 0; cobj->setOriginalSizeInPixels(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setOriginalSizeInPixels",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteFrame:setOriginalSizeInPixels",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -19383,13 +19383,13 @@ int lua_cocos2dx_SpriteFrame_setOffset(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.SpriteFrame:setOffset"); if(!ok) return 0; cobj->setOffset(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setOffset",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteFrame:setOffset",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -19433,7 +19433,7 @@ int lua_cocos2dx_SpriteFrame_isRotated(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isRotated",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteFrame:isRotated",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -19473,13 +19473,13 @@ int lua_cocos2dx_SpriteFrame_setRect(lua_State* tolua_S) { cocos2d::Rect arg0; - ok &= luaval_to_rect(tolua_S, 2, &arg0); + ok &= luaval_to_rect(tolua_S, 2, &arg0, "cc.SpriteFrame:setRect"); if(!ok) return 0; cobj->setRect(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setRect",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteFrame:setRect",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -19523,7 +19523,7 @@ int lua_cocos2dx_SpriteFrame_getOffsetInPixels(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getOffsetInPixels",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteFrame:getOffsetInPixels",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -19567,7 +19567,7 @@ int lua_cocos2dx_SpriteFrame_getOriginalSize(lua_State* tolua_S) size_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getOriginalSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteFrame:getOriginalSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -19596,19 +19596,19 @@ int lua_cocos2dx_SpriteFrame_create(lua_State* tolua_S) if (argc == 5) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.SpriteFrame:create"); if (!ok) { break; } cocos2d::Rect arg1; - ok &= luaval_to_rect(tolua_S, 3, &arg1); + ok &= luaval_to_rect(tolua_S, 3, &arg1, "cc.SpriteFrame:create"); if (!ok) { break; } bool arg2; - ok &= luaval_to_boolean(tolua_S, 4,&arg2); + ok &= luaval_to_boolean(tolua_S, 4,&arg2, "cc.SpriteFrame:create"); if (!ok) { break; } cocos2d::Vec2 arg3; - ok &= luaval_to_vec2(tolua_S, 5, &arg3); + ok &= luaval_to_vec2(tolua_S, 5, &arg3, "cc.SpriteFrame:create"); if (!ok) { break; } cocos2d::Size arg4; - ok &= luaval_to_size(tolua_S, 6, &arg4); + ok &= luaval_to_size(tolua_S, 6, &arg4, "cc.SpriteFrame:create"); if (!ok) { break; } cocos2d::SpriteFrame* ret = cocos2d::SpriteFrame::create(arg0, arg1, arg2, arg3, arg4); object_to_luaval(tolua_S, "cc.SpriteFrame",(cocos2d::SpriteFrame*)ret); @@ -19621,10 +19621,10 @@ int lua_cocos2dx_SpriteFrame_create(lua_State* tolua_S) if (argc == 2) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.SpriteFrame:create"); if (!ok) { break; } cocos2d::Rect arg1; - ok &= luaval_to_rect(tolua_S, 3, &arg1); + ok &= luaval_to_rect(tolua_S, 3, &arg1, "cc.SpriteFrame:create"); if (!ok) { break; } cocos2d::SpriteFrame* ret = cocos2d::SpriteFrame::create(arg0, arg1); object_to_luaval(tolua_S, "cc.SpriteFrame",(cocos2d::SpriteFrame*)ret); @@ -19632,7 +19632,7 @@ int lua_cocos2dx_SpriteFrame_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.SpriteFrame:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -19662,16 +19662,16 @@ int lua_cocos2dx_SpriteFrame_createWithTexture(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 2, "cc.Texture2D",&arg0); if (!ok) { break; } cocos2d::Rect arg1; - ok &= luaval_to_rect(tolua_S, 3, &arg1); + ok &= luaval_to_rect(tolua_S, 3, &arg1, "cc.SpriteFrame:createWithTexture"); if (!ok) { break; } bool arg2; - ok &= luaval_to_boolean(tolua_S, 4,&arg2); + ok &= luaval_to_boolean(tolua_S, 4,&arg2, "cc.SpriteFrame:createWithTexture"); if (!ok) { break; } cocos2d::Vec2 arg3; - ok &= luaval_to_vec2(tolua_S, 5, &arg3); + ok &= luaval_to_vec2(tolua_S, 5, &arg3, "cc.SpriteFrame:createWithTexture"); if (!ok) { break; } cocos2d::Size arg4; - ok &= luaval_to_size(tolua_S, 6, &arg4); + ok &= luaval_to_size(tolua_S, 6, &arg4, "cc.SpriteFrame:createWithTexture"); if (!ok) { break; } cocos2d::SpriteFrame* ret = cocos2d::SpriteFrame::createWithTexture(arg0, arg1, arg2, arg3, arg4); object_to_luaval(tolua_S, "cc.SpriteFrame",(cocos2d::SpriteFrame*)ret); @@ -19687,7 +19687,7 @@ int lua_cocos2dx_SpriteFrame_createWithTexture(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 2, "cc.Texture2D",&arg0); if (!ok) { break; } cocos2d::Rect arg1; - ok &= luaval_to_rect(tolua_S, 3, &arg1); + ok &= luaval_to_rect(tolua_S, 3, &arg1, "cc.SpriteFrame:createWithTexture"); if (!ok) { break; } cocos2d::SpriteFrame* ret = cocos2d::SpriteFrame::createWithTexture(arg0, arg1); object_to_luaval(tolua_S, "cc.SpriteFrame",(cocos2d::SpriteFrame*)ret); @@ -19695,7 +19695,7 @@ int lua_cocos2dx_SpriteFrame_createWithTexture(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "createWithTexture",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.SpriteFrame:createWithTexture",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -19777,7 +19777,7 @@ int lua_cocos2dx_AnimationFrame_setSpriteFrame(lua_State* tolua_S) cobj->setSpriteFrame(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setSpriteFrame",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.AnimationFrame:setSpriteFrame",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -19824,7 +19824,7 @@ int lua_cocos2dx_AnimationFrame_getUserInfo(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getUserInfo",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.AnimationFrame:getUserInfo",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -19864,13 +19864,13 @@ int lua_cocos2dx_AnimationFrame_setDelayUnits(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.AnimationFrame:setDelayUnits"); if(!ok) return 0; cobj->setDelayUnits(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setDelayUnits",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.AnimationFrame:setDelayUnits",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -19914,7 +19914,7 @@ int lua_cocos2dx_AnimationFrame_clone(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.AnimationFrame",(cocos2d::AnimationFrame*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "clone",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.AnimationFrame:clone",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -19958,7 +19958,7 @@ int lua_cocos2dx_AnimationFrame_getSpriteFrame(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.SpriteFrame",(cocos2d::SpriteFrame*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getSpriteFrame",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.AnimationFrame:getSpriteFrame",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -20002,7 +20002,7 @@ int lua_cocos2dx_AnimationFrame_getDelayUnits(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDelayUnits",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.AnimationFrame:getDelayUnits",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -20042,13 +20042,13 @@ int lua_cocos2dx_AnimationFrame_setUserInfo(lua_State* tolua_S) { cocos2d::ValueMap arg0; - ok &= luaval_to_ccvaluemap(tolua_S, 2, &arg0); + ok &= luaval_to_ccvaluemap(tolua_S, 2, &arg0, "cc.AnimationFrame:setUserInfo"); if(!ok) return 0; cobj->setUserInfo(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setUserInfo",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.AnimationFrame:setUserInfo",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -20079,15 +20079,15 @@ int lua_cocos2dx_AnimationFrame_create(lua_State* tolua_S) double arg1; cocos2d::ValueMap arg2; ok &= luaval_to_object(tolua_S, 2, "cc.SpriteFrame",&arg0); - ok &= luaval_to_number(tolua_S, 3,&arg1); - ok &= luaval_to_ccvaluemap(tolua_S, 4, &arg2); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.AnimationFrame:create"); + ok &= luaval_to_ccvaluemap(tolua_S, 4, &arg2, "cc.AnimationFrame:create"); if(!ok) return 0; cocos2d::AnimationFrame* ret = cocos2d::AnimationFrame::create(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.AnimationFrame",(cocos2d::AnimationFrame*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.AnimationFrame:create",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -20156,7 +20156,7 @@ int lua_cocos2dx_Animation_getLoops(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getLoops",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Animation:getLoops",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -20202,7 +20202,7 @@ int lua_cocos2dx_Animation_addSpriteFrame(lua_State* tolua_S) cobj->addSpriteFrame(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addSpriteFrame",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Animation:addSpriteFrame",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -20242,13 +20242,13 @@ int lua_cocos2dx_Animation_setRestoreOriginalFrame(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.Animation:setRestoreOriginalFrame"); if(!ok) return 0; cobj->setRestoreOriginalFrame(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setRestoreOriginalFrame",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Animation:setRestoreOriginalFrame",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -20292,7 +20292,7 @@ int lua_cocos2dx_Animation_clone(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Animation",(cocos2d::Animation*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "clone",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Animation:clone",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -20336,7 +20336,7 @@ int lua_cocos2dx_Animation_getDuration(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDuration",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Animation:getDuration",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -20376,13 +20376,13 @@ int lua_cocos2dx_Animation_setFrames(lua_State* tolua_S) { cocos2d::Vector arg0; - ok &= luaval_to_ccvector(tolua_S, 2, &arg0); + ok &= luaval_to_ccvector(tolua_S, 2, &arg0, "cc.Animation:setFrames"); if(!ok) return 0; cobj->setFrames(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setFrames",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Animation:setFrames",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -20426,7 +20426,7 @@ int lua_cocos2dx_Animation_getFrames(lua_State* tolua_S) ccvector_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getFrames",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Animation:getFrames",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -20466,13 +20466,13 @@ int lua_cocos2dx_Animation_setLoops(lua_State* tolua_S) { unsigned int arg0; - ok &= luaval_to_uint32(tolua_S, 2,&arg0); + ok &= luaval_to_uint32(tolua_S, 2,&arg0, "cc.Animation:setLoops"); if(!ok) return 0; cobj->setLoops(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setLoops",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Animation:setLoops",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -20512,13 +20512,13 @@ int lua_cocos2dx_Animation_setDelayPerUnit(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Animation:setDelayPerUnit"); if(!ok) return 0; cobj->setDelayPerUnit(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setDelayPerUnit",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Animation:setDelayPerUnit",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -20558,13 +20558,13 @@ int lua_cocos2dx_Animation_addSpriteFrameWithFile(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Animation:addSpriteFrameWithFile"); if(!ok) return 0; cobj->addSpriteFrameWithFile(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addSpriteFrameWithFile",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Animation:addSpriteFrameWithFile",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -20608,7 +20608,7 @@ int lua_cocos2dx_Animation_getTotalDelayUnits(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTotalDelayUnits",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Animation:getTotalDelayUnits",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -20652,7 +20652,7 @@ int lua_cocos2dx_Animation_getDelayPerUnit(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDelayPerUnit",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Animation:getDelayPerUnit",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -20696,7 +20696,7 @@ int lua_cocos2dx_Animation_getRestoreOriginalFrame(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getRestoreOriginalFrame",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Animation:getRestoreOriginalFrame",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -20739,13 +20739,13 @@ int lua_cocos2dx_Animation_addSpriteFrameWithTexture(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 2, "cc.Texture2D",&arg0); - ok &= luaval_to_rect(tolua_S, 3, &arg1); + ok &= luaval_to_rect(tolua_S, 3, &arg1, "cc.Animation:addSpriteFrameWithTexture"); if(!ok) return 0; cobj->addSpriteFrameWithTexture(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addSpriteFrameWithTexture",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Animation:addSpriteFrameWithTexture",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -20774,10 +20774,10 @@ int lua_cocos2dx_Animation_create(lua_State* tolua_S) if (argc == 2) { cocos2d::Vector arg0; - ok &= luaval_to_ccvector(tolua_S, 2, &arg0); + ok &= luaval_to_ccvector(tolua_S, 2, &arg0, "cc.Animation:create"); if (!ok) { break; } double arg1; - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.Animation:create"); if (!ok) { break; } cocos2d::Animation* ret = cocos2d::Animation::create(arg0, arg1); object_to_luaval(tolua_S, "cc.Animation",(cocos2d::Animation*)ret); @@ -20790,13 +20790,13 @@ int lua_cocos2dx_Animation_create(lua_State* tolua_S) if (argc == 3) { cocos2d::Vector arg0; - ok &= luaval_to_ccvector(tolua_S, 2, &arg0); + ok &= luaval_to_ccvector(tolua_S, 2, &arg0, "cc.Animation:create"); if (!ok) { break; } double arg1; - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.Animation:create"); if (!ok) { break; } unsigned int arg2; - ok &= luaval_to_uint32(tolua_S, 4,&arg2); + ok &= luaval_to_uint32(tolua_S, 4,&arg2, "cc.Animation:create"); if (!ok) { break; } cocos2d::Animation* ret = cocos2d::Animation::create(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.Animation",(cocos2d::Animation*)ret); @@ -20814,7 +20814,7 @@ int lua_cocos2dx_Animation_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.Animation:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -20840,7 +20840,7 @@ int lua_cocos2dx_Animation_createWithSpriteFrames(lua_State* tolua_S) if (argc == 1) { cocos2d::Vector arg0; - ok &= luaval_to_ccvector(tolua_S, 2, &arg0); + ok &= luaval_to_ccvector(tolua_S, 2, &arg0, "cc.Animation:createWithSpriteFrames"); if(!ok) return 0; cocos2d::Animation* ret = cocos2d::Animation::createWithSpriteFrames(arg0); @@ -20851,8 +20851,8 @@ int lua_cocos2dx_Animation_createWithSpriteFrames(lua_State* tolua_S) { cocos2d::Vector arg0; double arg1; - ok &= luaval_to_ccvector(tolua_S, 2, &arg0); - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_ccvector(tolua_S, 2, &arg0, "cc.Animation:createWithSpriteFrames"); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.Animation:createWithSpriteFrames"); if(!ok) return 0; cocos2d::Animation* ret = cocos2d::Animation::createWithSpriteFrames(arg0, arg1); @@ -20864,16 +20864,16 @@ int lua_cocos2dx_Animation_createWithSpriteFrames(lua_State* tolua_S) cocos2d::Vector arg0; double arg1; unsigned int arg2; - ok &= luaval_to_ccvector(tolua_S, 2, &arg0); - ok &= luaval_to_number(tolua_S, 3,&arg1); - ok &= luaval_to_uint32(tolua_S, 4,&arg2); + ok &= luaval_to_ccvector(tolua_S, 2, &arg0, "cc.Animation:createWithSpriteFrames"); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.Animation:createWithSpriteFrames"); + ok &= luaval_to_uint32(tolua_S, 4,&arg2, "cc.Animation:createWithSpriteFrames"); if(!ok) return 0; cocos2d::Animation* ret = cocos2d::Animation::createWithSpriteFrames(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.Animation",(cocos2d::Animation*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createWithSpriteFrames",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Animation:createWithSpriteFrames",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -20950,7 +20950,7 @@ int lua_cocos2dx_ActionInterval_getAmplitudeRate(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAmplitudeRate",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ActionInterval:getAmplitudeRate",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -20990,13 +20990,13 @@ int lua_cocos2dx_ActionInterval_setAmplitudeRate(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ActionInterval:setAmplitudeRate"); if(!ok) return 0; cobj->setAmplitudeRate(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAmplitudeRate",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ActionInterval:setAmplitudeRate",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -21040,7 +21040,7 @@ int lua_cocos2dx_ActionInterval_getElapsed(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getElapsed",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ActionInterval:getElapsed",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -21127,7 +21127,7 @@ int lua_cocos2dx_Repeat_setInnerAction(lua_State* tolua_S) cobj->setInnerAction(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setInnerAction",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Repeat:setInnerAction",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -21171,7 +21171,7 @@ int lua_cocos2dx_Repeat_getInnerAction(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.FiniteTimeAction",(cocos2d::FiniteTimeAction*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getInnerAction",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Repeat:getInnerAction",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -21201,14 +21201,14 @@ int lua_cocos2dx_Repeat_create(lua_State* tolua_S) cocos2d::FiniteTimeAction* arg0; unsigned int arg1; ok &= luaval_to_object(tolua_S, 2, "cc.FiniteTimeAction",&arg0); - ok &= luaval_to_uint32(tolua_S, 3,&arg1); + ok &= luaval_to_uint32(tolua_S, 3,&arg1, "cc.Repeat:create"); if(!ok) return 0; cocos2d::Repeat* ret = cocos2d::Repeat::create(arg0, arg1); object_to_luaval(tolua_S, "cc.Repeat",(cocos2d::Repeat*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Repeat:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -21274,7 +21274,7 @@ int lua_cocos2dx_RepeatForever_setInnerAction(lua_State* tolua_S) cobj->setInnerAction(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setInnerAction",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.RepeatForever:setInnerAction",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -21318,7 +21318,7 @@ int lua_cocos2dx_RepeatForever_getInnerAction(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.ActionInterval",(cocos2d::ActionInterval*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getInnerAction",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.RepeatForever:getInnerAction",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -21353,7 +21353,7 @@ int lua_cocos2dx_RepeatForever_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.RepeatForever",(cocos2d::RepeatForever*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.RepeatForever:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -21421,10 +21421,10 @@ int lua_cocos2dx_RotateTo_create(lua_State* tolua_S) if (argc == 2) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.RotateTo:create"); if (!ok) { break; } double arg1; - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.RotateTo:create"); if (!ok) { break; } cocos2d::RotateTo* ret = cocos2d::RotateTo::create(arg0, arg1); object_to_luaval(tolua_S, "cc.RotateTo",(cocos2d::RotateTo*)ret); @@ -21437,13 +21437,13 @@ int lua_cocos2dx_RotateTo_create(lua_State* tolua_S) if (argc == 3) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.RotateTo:create"); if (!ok) { break; } double arg1; - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.RotateTo:create"); if (!ok) { break; } double arg2; - ok &= luaval_to_number(tolua_S, 4,&arg2); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.RotateTo:create"); if (!ok) { break; } cocos2d::RotateTo* ret = cocos2d::RotateTo::create(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.RotateTo",(cocos2d::RotateTo*)ret); @@ -21451,7 +21451,7 @@ int lua_cocos2dx_RotateTo_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.RotateTo:create",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -21498,13 +21498,13 @@ int lua_cocos2dx_RotateBy_create(lua_State* tolua_S) if (argc == 3) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.RotateBy:create"); if (!ok) { break; } double arg1; - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.RotateBy:create"); if (!ok) { break; } double arg2; - ok &= luaval_to_number(tolua_S, 4,&arg2); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.RotateBy:create"); if (!ok) { break; } cocos2d::RotateBy* ret = cocos2d::RotateBy::create(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.RotateBy",(cocos2d::RotateBy*)ret); @@ -21517,10 +21517,10 @@ int lua_cocos2dx_RotateBy_create(lua_State* tolua_S) if (argc == 2) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.RotateBy:create"); if (!ok) { break; } double arg1; - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.RotateBy:create"); if (!ok) { break; } cocos2d::RotateBy* ret = cocos2d::RotateBy::create(arg0, arg1); object_to_luaval(tolua_S, "cc.RotateBy",(cocos2d::RotateBy*)ret); @@ -21533,10 +21533,10 @@ int lua_cocos2dx_RotateBy_create(lua_State* tolua_S) if (argc == 2) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.RotateBy:create"); if (!ok) { break; } cocos2d::Vec3 arg1; - ok &= luaval_to_vec3(tolua_S, 3, &arg1); + ok &= luaval_to_vec3(tolua_S, 3, &arg1, "cc.RotateBy:create"); if (!ok) { break; } cocos2d::RotateBy* ret = cocos2d::RotateBy::create(arg0, arg1); object_to_luaval(tolua_S, "cc.RotateBy",(cocos2d::RotateBy*)ret); @@ -21544,7 +21544,7 @@ int lua_cocos2dx_RotateBy_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.RotateBy:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -21591,15 +21591,15 @@ int lua_cocos2dx_MoveBy_create(lua_State* tolua_S) { double arg0; cocos2d::Vec2 arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); - ok &= luaval_to_vec2(tolua_S, 3, &arg1); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.MoveBy:create"); + ok &= luaval_to_vec2(tolua_S, 3, &arg1, "cc.MoveBy:create"); if(!ok) return 0; cocos2d::MoveBy* ret = cocos2d::MoveBy::create(arg0, arg1); object_to_luaval(tolua_S, "cc.MoveBy",(cocos2d::MoveBy*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.MoveBy:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -21646,15 +21646,15 @@ int lua_cocos2dx_MoveTo_create(lua_State* tolua_S) { double arg0; cocos2d::Vec2 arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); - ok &= luaval_to_vec2(tolua_S, 3, &arg1); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.MoveTo:create"); + ok &= luaval_to_vec2(tolua_S, 3, &arg1, "cc.MoveTo:create"); if(!ok) return 0; cocos2d::MoveTo* ret = cocos2d::MoveTo::create(arg0, arg1); object_to_luaval(tolua_S, "cc.MoveTo",(cocos2d::MoveTo*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.MoveTo:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -21702,16 +21702,16 @@ int lua_cocos2dx_SkewTo_create(lua_State* tolua_S) double arg0; double arg1; double arg2; - ok &= luaval_to_number(tolua_S, 2,&arg0); - ok &= luaval_to_number(tolua_S, 3,&arg1); - ok &= luaval_to_number(tolua_S, 4,&arg2); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.SkewTo:create"); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.SkewTo:create"); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.SkewTo:create"); if(!ok) return 0; cocos2d::SkewTo* ret = cocos2d::SkewTo::create(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.SkewTo",(cocos2d::SkewTo*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.SkewTo:create",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -21759,16 +21759,16 @@ int lua_cocos2dx_SkewBy_create(lua_State* tolua_S) double arg0; double arg1; double arg2; - ok &= luaval_to_number(tolua_S, 2,&arg0); - ok &= luaval_to_number(tolua_S, 3,&arg1); - ok &= luaval_to_number(tolua_S, 4,&arg2); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.SkewBy:create"); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.SkewBy:create"); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.SkewBy:create"); if(!ok) return 0; cocos2d::SkewBy* ret = cocos2d::SkewBy::create(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.SkewBy",(cocos2d::SkewBy*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.SkewBy:create",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -21817,17 +21817,17 @@ int lua_cocos2dx_JumpBy_create(lua_State* tolua_S) cocos2d::Vec2 arg1; double arg2; int arg3; - ok &= luaval_to_number(tolua_S, 2,&arg0); - ok &= luaval_to_vec2(tolua_S, 3, &arg1); - ok &= luaval_to_number(tolua_S, 4,&arg2); - ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.JumpBy:create"); + ok &= luaval_to_vec2(tolua_S, 3, &arg1, "cc.JumpBy:create"); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.JumpBy:create"); + ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3, "cc.JumpBy:create"); if(!ok) return 0; cocos2d::JumpBy* ret = cocos2d::JumpBy::create(arg0, arg1, arg2, arg3); object_to_luaval(tolua_S, "cc.JumpBy",(cocos2d::JumpBy*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 4); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.JumpBy:create",argc, 4); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -21876,17 +21876,17 @@ int lua_cocos2dx_JumpTo_create(lua_State* tolua_S) cocos2d::Vec2 arg1; double arg2; int arg3; - ok &= luaval_to_number(tolua_S, 2,&arg0); - ok &= luaval_to_vec2(tolua_S, 3, &arg1); - ok &= luaval_to_number(tolua_S, 4,&arg2); - ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.JumpTo:create"); + ok &= luaval_to_vec2(tolua_S, 3, &arg1, "cc.JumpTo:create"); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.JumpTo:create"); + ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3, "cc.JumpTo:create"); if(!ok) return 0; cocos2d::JumpTo* ret = cocos2d::JumpTo::create(arg0, arg1, arg2, arg3); object_to_luaval(tolua_S, "cc.JumpTo",(cocos2d::JumpTo*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 4); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.JumpTo:create",argc, 4); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -21971,13 +21971,13 @@ int lua_cocos2dx_ScaleTo_create(lua_State* tolua_S) if (argc == 3) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ScaleTo:create"); if (!ok) { break; } double arg1; - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.ScaleTo:create"); if (!ok) { break; } double arg2; - ok &= luaval_to_number(tolua_S, 4,&arg2); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.ScaleTo:create"); if (!ok) { break; } cocos2d::ScaleTo* ret = cocos2d::ScaleTo::create(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.ScaleTo",(cocos2d::ScaleTo*)ret); @@ -21990,10 +21990,10 @@ int lua_cocos2dx_ScaleTo_create(lua_State* tolua_S) if (argc == 2) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ScaleTo:create"); if (!ok) { break; } double arg1; - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.ScaleTo:create"); if (!ok) { break; } cocos2d::ScaleTo* ret = cocos2d::ScaleTo::create(arg0, arg1); object_to_luaval(tolua_S, "cc.ScaleTo",(cocos2d::ScaleTo*)ret); @@ -22006,16 +22006,16 @@ int lua_cocos2dx_ScaleTo_create(lua_State* tolua_S) if (argc == 4) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ScaleTo:create"); if (!ok) { break; } double arg1; - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.ScaleTo:create"); if (!ok) { break; } double arg2; - ok &= luaval_to_number(tolua_S, 4,&arg2); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.ScaleTo:create"); if (!ok) { break; } double arg3; - ok &= luaval_to_number(tolua_S, 5,&arg3); + ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.ScaleTo:create"); if (!ok) { break; } cocos2d::ScaleTo* ret = cocos2d::ScaleTo::create(arg0, arg1, arg2, arg3); object_to_luaval(tolua_S, "cc.ScaleTo",(cocos2d::ScaleTo*)ret); @@ -22023,7 +22023,7 @@ int lua_cocos2dx_ScaleTo_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 4); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.ScaleTo:create",argc, 4); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -22070,13 +22070,13 @@ int lua_cocos2dx_ScaleBy_create(lua_State* tolua_S) if (argc == 3) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ScaleBy:create"); if (!ok) { break; } double arg1; - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.ScaleBy:create"); if (!ok) { break; } double arg2; - ok &= luaval_to_number(tolua_S, 4,&arg2); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.ScaleBy:create"); if (!ok) { break; } cocos2d::ScaleBy* ret = cocos2d::ScaleBy::create(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.ScaleBy",(cocos2d::ScaleBy*)ret); @@ -22089,10 +22089,10 @@ int lua_cocos2dx_ScaleBy_create(lua_State* tolua_S) if (argc == 2) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ScaleBy:create"); if (!ok) { break; } double arg1; - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.ScaleBy:create"); if (!ok) { break; } cocos2d::ScaleBy* ret = cocos2d::ScaleBy::create(arg0, arg1); object_to_luaval(tolua_S, "cc.ScaleBy",(cocos2d::ScaleBy*)ret); @@ -22105,16 +22105,16 @@ int lua_cocos2dx_ScaleBy_create(lua_State* tolua_S) if (argc == 4) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ScaleBy:create"); if (!ok) { break; } double arg1; - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.ScaleBy:create"); if (!ok) { break; } double arg2; - ok &= luaval_to_number(tolua_S, 4,&arg2); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.ScaleBy:create"); if (!ok) { break; } double arg3; - ok &= luaval_to_number(tolua_S, 5,&arg3); + ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.ScaleBy:create"); if (!ok) { break; } cocos2d::ScaleBy* ret = cocos2d::ScaleBy::create(arg0, arg1, arg2, arg3); object_to_luaval(tolua_S, "cc.ScaleBy",(cocos2d::ScaleBy*)ret); @@ -22122,7 +22122,7 @@ int lua_cocos2dx_ScaleBy_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 4); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.ScaleBy:create",argc, 4); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -22169,15 +22169,15 @@ int lua_cocos2dx_Blink_create(lua_State* tolua_S) { double arg0; int arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Blink:create"); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.Blink:create"); if(!ok) return 0; cocos2d::Blink* ret = cocos2d::Blink::create(arg0, arg1); object_to_luaval(tolua_S, "cc.Blink",(cocos2d::Blink*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Blink:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -22224,15 +22224,15 @@ int lua_cocos2dx_FadeTo_create(lua_State* tolua_S) { double arg0; uint16_t arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); - ok &= luaval_to_uint16(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.FadeTo:create"); + ok &= luaval_to_uint16(tolua_S, 3,&arg1, "cc.FadeTo:create"); if(!ok) return 0; cocos2d::FadeTo* ret = cocos2d::FadeTo::create(arg0, arg1); object_to_luaval(tolua_S, "cc.FadeTo",(cocos2d::FadeTo*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.FadeTo:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -22296,7 +22296,7 @@ int lua_cocos2dx_FadeIn_setReverseAction(lua_State* tolua_S) cobj->setReverseAction(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setReverseAction",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.FadeIn:setReverseAction",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -22324,14 +22324,14 @@ int lua_cocos2dx_FadeIn_create(lua_State* tolua_S) if (argc == 1) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.FadeIn:create"); if(!ok) return 0; cocos2d::FadeIn* ret = cocos2d::FadeIn::create(arg0); object_to_luaval(tolua_S, "cc.FadeIn",(cocos2d::FadeIn*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.FadeIn:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -22396,7 +22396,7 @@ int lua_cocos2dx_FadeOut_setReverseAction(lua_State* tolua_S) cobj->setReverseAction(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setReverseAction",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.FadeOut:setReverseAction",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -22424,14 +22424,14 @@ int lua_cocos2dx_FadeOut_create(lua_State* tolua_S) if (argc == 1) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.FadeOut:create"); if(!ok) return 0; cocos2d::FadeOut* ret = cocos2d::FadeOut::create(arg0); object_to_luaval(tolua_S, "cc.FadeOut",(cocos2d::FadeOut*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.FadeOut:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -22481,17 +22481,17 @@ int lua_cocos2dx_TintTo_create(lua_State* tolua_S) uint16_t arg1; uint16_t arg2; uint16_t arg3; - ok &= luaval_to_number(tolua_S, 2,&arg0); - ok &= luaval_to_uint16(tolua_S, 3,&arg1); - ok &= luaval_to_uint16(tolua_S, 4,&arg2); - ok &= luaval_to_uint16(tolua_S, 5,&arg3); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TintTo:create"); + ok &= luaval_to_uint16(tolua_S, 3,&arg1, "cc.TintTo:create"); + ok &= luaval_to_uint16(tolua_S, 4,&arg2, "cc.TintTo:create"); + ok &= luaval_to_uint16(tolua_S, 5,&arg3, "cc.TintTo:create"); if(!ok) return 0; cocos2d::TintTo* ret = cocos2d::TintTo::create(arg0, arg1, arg2, arg3); object_to_luaval(tolua_S, "cc.TintTo",(cocos2d::TintTo*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 4); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.TintTo:create",argc, 4); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -22540,17 +22540,17 @@ int lua_cocos2dx_TintBy_create(lua_State* tolua_S) int32_t arg1; int32_t arg2; int32_t arg3; - ok &= luaval_to_number(tolua_S, 2,&arg0); - ok &= luaval_to_int32(tolua_S, 3,&arg1); - ok &= luaval_to_int32(tolua_S, 4,&arg2); - ok &= luaval_to_int32(tolua_S, 5,&arg3); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TintBy:create"); + ok &= luaval_to_int32(tolua_S, 3,&arg1, "cc.TintBy:create"); + ok &= luaval_to_int32(tolua_S, 4,&arg2, "cc.TintBy:create"); + ok &= luaval_to_int32(tolua_S, 5,&arg3, "cc.TintBy:create"); if(!ok) return 0; cocos2d::TintBy* ret = cocos2d::TintBy::create(arg0, arg1, arg2, arg3); object_to_luaval(tolua_S, "cc.TintBy",(cocos2d::TintBy*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 4); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.TintBy:create",argc, 4); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -22596,14 +22596,14 @@ int lua_cocos2dx_DelayTime_create(lua_State* tolua_S) if (argc == 1) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.DelayTime:create"); if(!ok) return 0; cocos2d::DelayTime* ret = cocos2d::DelayTime::create(arg0); object_to_luaval(tolua_S, "cc.DelayTime",(cocos2d::DelayTime*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.DelayTime:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -22668,7 +22668,7 @@ int lua_cocos2dx_Animate_getAnimation(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAnimation",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Animate:getAnimation",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -22714,7 +22714,7 @@ int lua_cocos2dx_Animate_setAnimation(lua_State* tolua_S) cobj->setAnimation(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAnimation",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Animate:setAnimation",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -22749,7 +22749,7 @@ int lua_cocos2dx_Animate_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Animate",(cocos2d::Animate*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Animate:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -22816,7 +22816,7 @@ int lua_cocos2dx_TargetedAction_getForcedTarget(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getForcedTarget",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TargetedAction:getForcedTarget",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -22862,7 +22862,7 @@ int lua_cocos2dx_TargetedAction_setForcedTarget(lua_State* tolua_S) cobj->setForcedTarget(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setForcedTarget",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TargetedAction:setForcedTarget",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -22899,7 +22899,7 @@ int lua_cocos2dx_TargetedAction_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.TargetedAction",(cocos2d::TargetedAction*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.TargetedAction:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -22953,15 +22953,15 @@ int lua_cocos2dx_ActionCamera_setEye(lua_State* tolua_S) do{ if (argc == 3) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ActionCamera:setEye"); if (!ok) { break; } double arg1; - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.ActionCamera:setEye"); if (!ok) { break; } double arg2; - ok &= luaval_to_number(tolua_S, 4,&arg2); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.ActionCamera:setEye"); if (!ok) { break; } cobj->setEye(arg0, arg1, arg2); @@ -22972,7 +22972,7 @@ int lua_cocos2dx_ActionCamera_setEye(lua_State* tolua_S) do{ if (argc == 1) { cocos2d::Vec3 arg0; - ok &= luaval_to_vec3(tolua_S, 2, &arg0); + ok &= luaval_to_vec3(tolua_S, 2, &arg0, "cc.ActionCamera:setEye"); if (!ok) { break; } cobj->setEye(arg0); @@ -22980,7 +22980,7 @@ int lua_cocos2dx_ActionCamera_setEye(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setEye",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ActionCamera:setEye",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -23024,7 +23024,7 @@ int lua_cocos2dx_ActionCamera_getEye(lua_State* tolua_S) vec3_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getEye",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ActionCamera:getEye",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -23064,13 +23064,13 @@ int lua_cocos2dx_ActionCamera_setUp(lua_State* tolua_S) { cocos2d::Vec3 arg0; - ok &= luaval_to_vec3(tolua_S, 2, &arg0); + ok &= luaval_to_vec3(tolua_S, 2, &arg0, "cc.ActionCamera:setUp"); if(!ok) return 0; cobj->setUp(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setUp",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ActionCamera:setUp",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -23114,7 +23114,7 @@ int lua_cocos2dx_ActionCamera_getCenter(lua_State* tolua_S) vec3_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getCenter",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ActionCamera:getCenter",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -23154,13 +23154,13 @@ int lua_cocos2dx_ActionCamera_setCenter(lua_State* tolua_S) { cocos2d::Vec3 arg0; - ok &= luaval_to_vec3(tolua_S, 2, &arg0); + ok &= luaval_to_vec3(tolua_S, 2, &arg0, "cc.ActionCamera:setCenter"); if(!ok) return 0; cobj->setCenter(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setCenter",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ActionCamera:setCenter",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -23204,7 +23204,7 @@ int lua_cocos2dx_ActionCamera_getUp(lua_State* tolua_S) vec3_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getUp",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ActionCamera:getUp",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -23238,7 +23238,7 @@ int lua_cocos2dx_ActionCamera_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.ActionCamera"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ActionCamera",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ActionCamera:ActionCamera",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -23298,20 +23298,20 @@ int lua_cocos2dx_OrbitCamera_create(lua_State* tolua_S) double arg4; double arg5; double arg6; - ok &= luaval_to_number(tolua_S, 2,&arg0); - ok &= luaval_to_number(tolua_S, 3,&arg1); - ok &= luaval_to_number(tolua_S, 4,&arg2); - ok &= luaval_to_number(tolua_S, 5,&arg3); - ok &= luaval_to_number(tolua_S, 6,&arg4); - ok &= luaval_to_number(tolua_S, 7,&arg5); - ok &= luaval_to_number(tolua_S, 8,&arg6); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.OrbitCamera:create"); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.OrbitCamera:create"); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.OrbitCamera:create"); + ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.OrbitCamera:create"); + ok &= luaval_to_number(tolua_S, 6,&arg4, "cc.OrbitCamera:create"); + ok &= luaval_to_number(tolua_S, 7,&arg5, "cc.OrbitCamera:create"); + ok &= luaval_to_number(tolua_S, 8,&arg6, "cc.OrbitCamera:create"); if(!ok) return 0; cocos2d::OrbitCamera* ret = cocos2d::OrbitCamera::create(arg0, arg1, arg2, arg3, arg4, arg5, arg6); object_to_luaval(tolua_S, "cc.OrbitCamera",(cocos2d::OrbitCamera*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 7); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.OrbitCamera:create",argc, 7); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -23370,7 +23370,7 @@ int lua_cocos2dx_ActionManager_getActionByTag(lua_State* tolua_S) int arg0; const cocos2d::Node* arg1; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.ActionManager:getActionByTag"); ok &= luaval_to_object(tolua_S, 3, "cc.Node",&arg1); if(!ok) @@ -23379,7 +23379,7 @@ int lua_cocos2dx_ActionManager_getActionByTag(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Action",(cocos2d::Action*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getActionByTag",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ActionManager:getActionByTag",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -23420,7 +23420,7 @@ int lua_cocos2dx_ActionManager_removeActionByTag(lua_State* tolua_S) int arg0; cocos2d::Node* arg1; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.ActionManager:removeActionByTag"); ok &= luaval_to_object(tolua_S, 3, "cc.Node",&arg1); if(!ok) @@ -23428,7 +23428,7 @@ int lua_cocos2dx_ActionManager_removeActionByTag(lua_State* tolua_S) cobj->removeActionByTag(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeActionByTag",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ActionManager:removeActionByTag",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -23471,7 +23471,7 @@ int lua_cocos2dx_ActionManager_removeAllActions(lua_State* tolua_S) cobj->removeAllActions(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeAllActions",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ActionManager:removeAllActions",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -23517,13 +23517,13 @@ int lua_cocos2dx_ActionManager_addAction(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 3, "cc.Node",&arg1); - ok &= luaval_to_boolean(tolua_S, 4,&arg2); + ok &= luaval_to_boolean(tolua_S, 4,&arg2, "cc.ActionManager:addAction"); if(!ok) return 0; cobj->addAction(arg0, arg1, arg2); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addAction",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ActionManager:addAction",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 @@ -23569,7 +23569,7 @@ int lua_cocos2dx_ActionManager_resumeTarget(lua_State* tolua_S) cobj->resumeTarget(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "resumeTarget",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ActionManager:resumeTarget",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -23609,13 +23609,13 @@ int lua_cocos2dx_ActionManager_update(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ActionManager:update"); if(!ok) return 0; cobj->update(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "update",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ActionManager:update",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -23662,7 +23662,7 @@ int lua_cocos2dx_ActionManager_getNumberOfRunningActionsInTarget(lua_State* tolu tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getNumberOfRunningActionsInTarget",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ActionManager:getNumberOfRunningActionsInTarget",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -23708,7 +23708,7 @@ int lua_cocos2dx_ActionManager_removeAllActionsFromTarget(lua_State* tolua_S) cobj->removeAllActionsFromTarget(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeAllActionsFromTarget",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ActionManager:removeAllActionsFromTarget",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -23748,13 +23748,13 @@ int lua_cocos2dx_ActionManager_resumeTargets(lua_State* tolua_S) { cocos2d::Vector arg0; - ok &= luaval_to_ccvector(tolua_S, 2, &arg0); + ok &= luaval_to_ccvector(tolua_S, 2, &arg0, "cc.ActionManager:resumeTargets"); if(!ok) return 0; cobj->resumeTargets(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "resumeTargets",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ActionManager:resumeTargets",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -23800,7 +23800,7 @@ int lua_cocos2dx_ActionManager_removeAction(lua_State* tolua_S) cobj->removeAction(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeAction",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ActionManager:removeAction",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -23846,7 +23846,7 @@ int lua_cocos2dx_ActionManager_pauseTarget(lua_State* tolua_S) cobj->pauseTarget(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "pauseTarget",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ActionManager:pauseTarget",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -23890,7 +23890,7 @@ int lua_cocos2dx_ActionManager_pauseAllRunningActions(lua_State* tolua_S) ccvector_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "pauseAllRunningActions",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ActionManager:pauseAllRunningActions",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -23924,7 +23924,7 @@ int lua_cocos2dx_ActionManager_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.ActionManager"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ActionManager",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ActionManager:ActionManager",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -24000,7 +24000,7 @@ int lua_cocos2dx_ActionEase_getInnerAction(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.ActionInterval",(cocos2d::ActionInterval*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getInnerAction",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ActionEase:getInnerAction",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -24060,13 +24060,13 @@ int lua_cocos2dx_EaseRateAction_setRate(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.EaseRateAction:setRate"); if(!ok) return 0; cobj->setRate(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setRate",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EaseRateAction:setRate",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -24110,7 +24110,7 @@ int lua_cocos2dx_EaseRateAction_getRate(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getRate",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EaseRateAction:getRate",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -24161,14 +24161,14 @@ int lua_cocos2dx_EaseIn_create(lua_State* tolua_S) cocos2d::ActionInterval* arg0; double arg1; ok &= luaval_to_object(tolua_S, 2, "cc.ActionInterval",&arg0); - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.EaseIn:create"); if(!ok) return 0; cocos2d::EaseIn* ret = cocos2d::EaseIn::create(arg0, arg1); object_to_luaval(tolua_S, "cc.EaseIn",(cocos2d::EaseIn*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.EaseIn:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -24216,14 +24216,14 @@ int lua_cocos2dx_EaseOut_create(lua_State* tolua_S) cocos2d::ActionInterval* arg0; double arg1; ok &= luaval_to_object(tolua_S, 2, "cc.ActionInterval",&arg0); - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.EaseOut:create"); if(!ok) return 0; cocos2d::EaseOut* ret = cocos2d::EaseOut::create(arg0, arg1); object_to_luaval(tolua_S, "cc.EaseOut",(cocos2d::EaseOut*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.EaseOut:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -24271,14 +24271,14 @@ int lua_cocos2dx_EaseInOut_create(lua_State* tolua_S) cocos2d::ActionInterval* arg0; double arg1; ok &= luaval_to_object(tolua_S, 2, "cc.ActionInterval",&arg0); - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.EaseInOut:create"); if(!ok) return 0; cocos2d::EaseInOut* ret = cocos2d::EaseInOut::create(arg0, arg1); object_to_luaval(tolua_S, "cc.EaseInOut",(cocos2d::EaseInOut*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.EaseInOut:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -24331,7 +24331,7 @@ int lua_cocos2dx_EaseExponentialIn_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.EaseExponentialIn",(cocos2d::EaseExponentialIn*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.EaseExponentialIn:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -24384,7 +24384,7 @@ int lua_cocos2dx_EaseExponentialOut_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.EaseExponentialOut",(cocos2d::EaseExponentialOut*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.EaseExponentialOut:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -24437,7 +24437,7 @@ int lua_cocos2dx_EaseExponentialInOut_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.EaseExponentialInOut",(cocos2d::EaseExponentialInOut*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.EaseExponentialInOut:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -24490,7 +24490,7 @@ int lua_cocos2dx_EaseSineIn_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.EaseSineIn",(cocos2d::EaseSineIn*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.EaseSineIn:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -24543,7 +24543,7 @@ int lua_cocos2dx_EaseSineOut_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.EaseSineOut",(cocos2d::EaseSineOut*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.EaseSineOut:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -24596,7 +24596,7 @@ int lua_cocos2dx_EaseSineInOut_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.EaseSineInOut",(cocos2d::EaseSineInOut*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.EaseSineInOut:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -24654,13 +24654,13 @@ int lua_cocos2dx_EaseElastic_setPeriod(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.EaseElastic:setPeriod"); if(!ok) return 0; cobj->setPeriod(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setPeriod",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EaseElastic:setPeriod",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -24704,7 +24704,7 @@ int lua_cocos2dx_EaseElastic_getPeriod(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPeriod",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EaseElastic:getPeriod",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -24770,7 +24770,7 @@ int lua_cocos2dx_EaseElasticIn_create(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 2, "cc.ActionInterval",&arg0); if (!ok) { break; } double arg1; - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.EaseElasticIn:create"); if (!ok) { break; } cocos2d::EaseElasticIn* ret = cocos2d::EaseElasticIn::create(arg0, arg1); object_to_luaval(tolua_S, "cc.EaseElasticIn",(cocos2d::EaseElasticIn*)ret); @@ -24778,7 +24778,7 @@ int lua_cocos2dx_EaseElasticIn_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.EaseElasticIn:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -24841,7 +24841,7 @@ int lua_cocos2dx_EaseElasticOut_create(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 2, "cc.ActionInterval",&arg0); if (!ok) { break; } double arg1; - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.EaseElasticOut:create"); if (!ok) { break; } cocos2d::EaseElasticOut* ret = cocos2d::EaseElasticOut::create(arg0, arg1); object_to_luaval(tolua_S, "cc.EaseElasticOut",(cocos2d::EaseElasticOut*)ret); @@ -24849,7 +24849,7 @@ int lua_cocos2dx_EaseElasticOut_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.EaseElasticOut:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -24912,7 +24912,7 @@ int lua_cocos2dx_EaseElasticInOut_create(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 2, "cc.ActionInterval",&arg0); if (!ok) { break; } double arg1; - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.EaseElasticInOut:create"); if (!ok) { break; } cocos2d::EaseElasticInOut* ret = cocos2d::EaseElasticInOut::create(arg0, arg1); object_to_luaval(tolua_S, "cc.EaseElasticInOut",(cocos2d::EaseElasticInOut*)ret); @@ -24920,7 +24920,7 @@ int lua_cocos2dx_EaseElasticInOut_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.EaseElasticInOut:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -24992,7 +24992,7 @@ int lua_cocos2dx_EaseBounceIn_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.EaseBounceIn",(cocos2d::EaseBounceIn*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.EaseBounceIn:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -25045,7 +25045,7 @@ int lua_cocos2dx_EaseBounceOut_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.EaseBounceOut",(cocos2d::EaseBounceOut*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.EaseBounceOut:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -25098,7 +25098,7 @@ int lua_cocos2dx_EaseBounceInOut_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.EaseBounceInOut",(cocos2d::EaseBounceInOut*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.EaseBounceInOut:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -25151,7 +25151,7 @@ int lua_cocos2dx_EaseBackIn_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.EaseBackIn",(cocos2d::EaseBackIn*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.EaseBackIn:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -25204,7 +25204,7 @@ int lua_cocos2dx_EaseBackOut_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.EaseBackOut",(cocos2d::EaseBackOut*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.EaseBackOut:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -25257,7 +25257,7 @@ int lua_cocos2dx_EaseBackInOut_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.EaseBackInOut",(cocos2d::EaseBackInOut*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.EaseBackInOut:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -25318,19 +25318,19 @@ int lua_cocos2dx_EaseBezierAction_setBezierParamer(lua_State* tolua_S) double arg2; double arg3; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.EaseBezierAction:setBezierParamer"); - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.EaseBezierAction:setBezierParamer"); - ok &= luaval_to_number(tolua_S, 4,&arg2); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.EaseBezierAction:setBezierParamer"); - ok &= luaval_to_number(tolua_S, 5,&arg3); + ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.EaseBezierAction:setBezierParamer"); if(!ok) return 0; cobj->setBezierParamer(arg0, arg1, arg2, arg3); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setBezierParamer",argc, 4); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EaseBezierAction:setBezierParamer",argc, 4); return 0; #if COCOS2D_DEBUG >= 1 @@ -25365,7 +25365,7 @@ int lua_cocos2dx_EaseBezierAction_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.EaseBezierAction",(cocos2d::EaseBezierAction*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.EaseBezierAction:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -25419,7 +25419,7 @@ int lua_cocos2dx_EaseQuadraticActionIn_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.EaseQuadraticActionIn",(cocos2d::EaseQuadraticActionIn*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.EaseQuadraticActionIn:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -25472,7 +25472,7 @@ int lua_cocos2dx_EaseQuadraticActionOut_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.EaseQuadraticActionOut",(cocos2d::EaseQuadraticActionOut*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.EaseQuadraticActionOut:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -25525,7 +25525,7 @@ int lua_cocos2dx_EaseQuadraticActionInOut_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.EaseQuadraticActionInOut",(cocos2d::EaseQuadraticActionInOut*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.EaseQuadraticActionInOut:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -25578,7 +25578,7 @@ int lua_cocos2dx_EaseQuarticActionIn_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.EaseQuarticActionIn",(cocos2d::EaseQuarticActionIn*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.EaseQuarticActionIn:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -25631,7 +25631,7 @@ int lua_cocos2dx_EaseQuarticActionOut_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.EaseQuarticActionOut",(cocos2d::EaseQuarticActionOut*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.EaseQuarticActionOut:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -25684,7 +25684,7 @@ int lua_cocos2dx_EaseQuarticActionInOut_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.EaseQuarticActionInOut",(cocos2d::EaseQuarticActionInOut*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.EaseQuarticActionInOut:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -25737,7 +25737,7 @@ int lua_cocos2dx_EaseQuinticActionIn_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.EaseQuinticActionIn",(cocos2d::EaseQuinticActionIn*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.EaseQuinticActionIn:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -25790,7 +25790,7 @@ int lua_cocos2dx_EaseQuinticActionOut_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.EaseQuinticActionOut",(cocos2d::EaseQuinticActionOut*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.EaseQuinticActionOut:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -25843,7 +25843,7 @@ int lua_cocos2dx_EaseQuinticActionInOut_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.EaseQuinticActionInOut",(cocos2d::EaseQuinticActionInOut*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.EaseQuinticActionInOut:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -25896,7 +25896,7 @@ int lua_cocos2dx_EaseCircleActionIn_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.EaseCircleActionIn",(cocos2d::EaseCircleActionIn*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.EaseCircleActionIn:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -25949,7 +25949,7 @@ int lua_cocos2dx_EaseCircleActionOut_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.EaseCircleActionOut",(cocos2d::EaseCircleActionOut*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.EaseCircleActionOut:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -26002,7 +26002,7 @@ int lua_cocos2dx_EaseCircleActionInOut_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.EaseCircleActionInOut",(cocos2d::EaseCircleActionInOut*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.EaseCircleActionInOut:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -26055,7 +26055,7 @@ int lua_cocos2dx_EaseCubicActionIn_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.EaseCubicActionIn",(cocos2d::EaseCubicActionIn*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.EaseCubicActionIn:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -26108,7 +26108,7 @@ int lua_cocos2dx_EaseCubicActionOut_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.EaseCubicActionOut",(cocos2d::EaseCubicActionOut*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.EaseCubicActionOut:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -26161,7 +26161,7 @@ int lua_cocos2dx_EaseCubicActionInOut_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.EaseCubicActionInOut",(cocos2d::EaseCubicActionInOut*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.EaseCubicActionInOut:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -26231,7 +26231,7 @@ int lua_cocos2dx_Show_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Show",(cocos2d::Show*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Show:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -26282,7 +26282,7 @@ int lua_cocos2dx_Hide_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Hide",(cocos2d::Hide*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Hide:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -26333,7 +26333,7 @@ int lua_cocos2dx_ToggleVisibility_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.ToggleVisibility",(cocos2d::ToggleVisibility*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ToggleVisibility:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -26387,14 +26387,14 @@ int lua_cocos2dx_RemoveSelf_create(lua_State* tolua_S) if (argc == 1) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.RemoveSelf:create"); if(!ok) return 0; cocos2d::RemoveSelf* ret = cocos2d::RemoveSelf::create(arg0); object_to_luaval(tolua_S, "cc.RemoveSelf",(cocos2d::RemoveSelf*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.RemoveSelf:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -26440,14 +26440,14 @@ int lua_cocos2dx_FlipX_create(lua_State* tolua_S) if (argc == 1) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.FlipX:create"); if(!ok) return 0; cocos2d::FlipX* ret = cocos2d::FlipX::create(arg0); object_to_luaval(tolua_S, "cc.FlipX",(cocos2d::FlipX*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.FlipX:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -26493,14 +26493,14 @@ int lua_cocos2dx_FlipY_create(lua_State* tolua_S) if (argc == 1) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.FlipY:create"); if(!ok) return 0; cocos2d::FlipY* ret = cocos2d::FlipY::create(arg0); object_to_luaval(tolua_S, "cc.FlipY",(cocos2d::FlipY*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.FlipY:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -26546,14 +26546,14 @@ int lua_cocos2dx_Place_create(lua_State* tolua_S) if (argc == 1) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.Place:create"); if(!ok) return 0; cocos2d::Place* ret = cocos2d::Place::create(arg0); object_to_luaval(tolua_S, "cc.Place",(cocos2d::Place*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Place:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -26614,7 +26614,7 @@ int lua_cocos2dx_CallFunc_execute(lua_State* tolua_S) cobj->execute(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "execute",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CallFunc:execute",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -26658,7 +26658,7 @@ int lua_cocos2dx_CallFunc_getTargetCallback(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Ref",(cocos2d::Ref*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTargetCallback",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CallFunc:getTargetCallback",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -26704,7 +26704,7 @@ int lua_cocos2dx_CallFunc_setTargetCallback(lua_State* tolua_S) cobj->setTargetCallback(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTargetCallback",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CallFunc:setTargetCallback",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -26770,7 +26770,7 @@ int lua_cocos2dx_GridAction_getGrid(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.GridBase",(cocos2d::GridBase*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getGrid",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GridAction:getGrid",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -26834,7 +26834,7 @@ int lua_cocos2dx_Grid3DAction_getGrid(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.GridBase",(cocos2d::GridBase*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getGrid",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Grid3DAction:getGrid",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -26898,7 +26898,7 @@ int lua_cocos2dx_TiledGrid3DAction_getGrid(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.GridBase",(cocos2d::GridBase*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getGrid",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TiledGrid3DAction:getGrid",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -26951,7 +26951,7 @@ int lua_cocos2dx_StopGrid_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.StopGrid",(cocos2d::StopGrid*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.StopGrid:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -26997,14 +26997,14 @@ int lua_cocos2dx_ReuseGrid_create(lua_State* tolua_S) if (argc == 1) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.ReuseGrid:create"); if(!ok) return 0; cocos2d::ReuseGrid* ret = cocos2d::ReuseGrid::create(arg0); object_to_luaval(tolua_S, "cc.ReuseGrid",(cocos2d::ReuseGrid*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ReuseGrid:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -27066,7 +27066,7 @@ int lua_cocos2dx_Waves3D_getAmplitudeRate(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAmplitudeRate",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Waves3D:getAmplitudeRate",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -27106,13 +27106,13 @@ int lua_cocos2dx_Waves3D_setAmplitude(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Waves3D:setAmplitude"); if(!ok) return 0; cobj->setAmplitude(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAmplitude",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Waves3D:setAmplitude",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -27152,13 +27152,13 @@ int lua_cocos2dx_Waves3D_setAmplitudeRate(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Waves3D:setAmplitudeRate"); if(!ok) return 0; cobj->setAmplitudeRate(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAmplitudeRate",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Waves3D:setAmplitudeRate",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -27202,7 +27202,7 @@ int lua_cocos2dx_Waves3D_getAmplitude(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAmplitude",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Waves3D:getAmplitude",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -27233,17 +27233,17 @@ int lua_cocos2dx_Waves3D_create(lua_State* tolua_S) cocos2d::Size arg1; unsigned int arg2; double arg3; - ok &= luaval_to_number(tolua_S, 2,&arg0); - ok &= luaval_to_size(tolua_S, 3, &arg1); - ok &= luaval_to_uint32(tolua_S, 4,&arg2); - ok &= luaval_to_number(tolua_S, 5,&arg3); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Waves3D:create"); + ok &= luaval_to_size(tolua_S, 3, &arg1, "cc.Waves3D:create"); + ok &= luaval_to_uint32(tolua_S, 4,&arg2, "cc.Waves3D:create"); + ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.Waves3D:create"); if(!ok) return 0; cocos2d::Waves3D* ret = cocos2d::Waves3D::create(arg0, arg1, arg2, arg3); object_to_luaval(tolua_S, "cc.Waves3D",(cocos2d::Waves3D*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 4); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Waves3D:create",argc, 4); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -27293,14 +27293,14 @@ int lua_cocos2dx_FlipX3D_create(lua_State* tolua_S) if (argc == 1) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.FlipX3D:create"); if(!ok) return 0; cocos2d::FlipX3D* ret = cocos2d::FlipX3D::create(arg0); object_to_luaval(tolua_S, "cc.FlipX3D",(cocos2d::FlipX3D*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.FlipX3D:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -27346,14 +27346,14 @@ int lua_cocos2dx_FlipY3D_create(lua_State* tolua_S) if (argc == 1) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.FlipY3D:create"); if(!ok) return 0; cocos2d::FlipY3D* ret = cocos2d::FlipY3D::create(arg0); object_to_luaval(tolua_S, "cc.FlipY3D",(cocos2d::FlipY3D*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.FlipY3D:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -27411,13 +27411,13 @@ int lua_cocos2dx_Lens3D_setPosition(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.Lens3D:setPosition"); if(!ok) return 0; cobj->setPosition(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setPosition",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Lens3D:setPosition",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -27457,13 +27457,13 @@ int lua_cocos2dx_Lens3D_setConcave(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.Lens3D:setConcave"); if(!ok) return 0; cobj->setConcave(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setConcave",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Lens3D:setConcave",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -27503,13 +27503,13 @@ int lua_cocos2dx_Lens3D_setLensEffect(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Lens3D:setLensEffect"); if(!ok) return 0; cobj->setLensEffect(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setLensEffect",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Lens3D:setLensEffect",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -27553,7 +27553,7 @@ int lua_cocos2dx_Lens3D_getPosition(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPosition",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Lens3D:getPosition",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -27597,7 +27597,7 @@ int lua_cocos2dx_Lens3D_getLensEffect(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getLensEffect",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Lens3D:getLensEffect",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -27628,17 +27628,17 @@ int lua_cocos2dx_Lens3D_create(lua_State* tolua_S) cocos2d::Size arg1; cocos2d::Vec2 arg2; double arg3; - ok &= luaval_to_number(tolua_S, 2,&arg0); - ok &= luaval_to_size(tolua_S, 3, &arg1); - ok &= luaval_to_vec2(tolua_S, 4, &arg2); - ok &= luaval_to_number(tolua_S, 5,&arg3); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Lens3D:create"); + ok &= luaval_to_size(tolua_S, 3, &arg1, "cc.Lens3D:create"); + ok &= luaval_to_vec2(tolua_S, 4, &arg2, "cc.Lens3D:create"); + ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.Lens3D:create"); if(!ok) return 0; cocos2d::Lens3D* ret = cocos2d::Lens3D::create(arg0, arg1, arg2, arg3); object_to_luaval(tolua_S, "cc.Lens3D",(cocos2d::Lens3D*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 4); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Lens3D:create",argc, 4); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -27701,13 +27701,13 @@ int lua_cocos2dx_Ripple3D_setAmplitudeRate(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Ripple3D:setAmplitudeRate"); if(!ok) return 0; cobj->setAmplitudeRate(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAmplitudeRate",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Ripple3D:setAmplitudeRate",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -27751,7 +27751,7 @@ int lua_cocos2dx_Ripple3D_getAmplitudeRate(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAmplitudeRate",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Ripple3D:getAmplitudeRate",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -27791,13 +27791,13 @@ int lua_cocos2dx_Ripple3D_setAmplitude(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Ripple3D:setAmplitude"); if(!ok) return 0; cobj->setAmplitude(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAmplitude",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Ripple3D:setAmplitude",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -27841,7 +27841,7 @@ int lua_cocos2dx_Ripple3D_getAmplitude(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAmplitude",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Ripple3D:getAmplitude",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -27881,13 +27881,13 @@ int lua_cocos2dx_Ripple3D_setPosition(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.Ripple3D:setPosition"); if(!ok) return 0; cobj->setPosition(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setPosition",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Ripple3D:setPosition",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -27931,7 +27931,7 @@ int lua_cocos2dx_Ripple3D_getPosition(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPosition",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Ripple3D:getPosition",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -27964,19 +27964,19 @@ int lua_cocos2dx_Ripple3D_create(lua_State* tolua_S) double arg3; unsigned int arg4; double arg5; - ok &= luaval_to_number(tolua_S, 2,&arg0); - ok &= luaval_to_size(tolua_S, 3, &arg1); - ok &= luaval_to_vec2(tolua_S, 4, &arg2); - ok &= luaval_to_number(tolua_S, 5,&arg3); - ok &= luaval_to_uint32(tolua_S, 6,&arg4); - ok &= luaval_to_number(tolua_S, 7,&arg5); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Ripple3D:create"); + ok &= luaval_to_size(tolua_S, 3, &arg1, "cc.Ripple3D:create"); + ok &= luaval_to_vec2(tolua_S, 4, &arg2, "cc.Ripple3D:create"); + ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.Ripple3D:create"); + ok &= luaval_to_uint32(tolua_S, 6,&arg4, "cc.Ripple3D:create"); + ok &= luaval_to_number(tolua_S, 7,&arg5, "cc.Ripple3D:create"); if(!ok) return 0; cocos2d::Ripple3D* ret = cocos2d::Ripple3D::create(arg0, arg1, arg2, arg3, arg4, arg5); object_to_luaval(tolua_S, "cc.Ripple3D",(cocos2d::Ripple3D*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 6); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Ripple3D:create",argc, 6); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -28031,17 +28031,17 @@ int lua_cocos2dx_Shaky3D_create(lua_State* tolua_S) cocos2d::Size arg1; int arg2; bool arg3; - ok &= luaval_to_number(tolua_S, 2,&arg0); - ok &= luaval_to_size(tolua_S, 3, &arg1); - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); - ok &= luaval_to_boolean(tolua_S, 5,&arg3); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Shaky3D:create"); + ok &= luaval_to_size(tolua_S, 3, &arg1, "cc.Shaky3D:create"); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "cc.Shaky3D:create"); + ok &= luaval_to_boolean(tolua_S, 5,&arg3, "cc.Shaky3D:create"); if(!ok) return 0; cocos2d::Shaky3D* ret = cocos2d::Shaky3D::create(arg0, arg1, arg2, arg3); object_to_luaval(tolua_S, "cc.Shaky3D",(cocos2d::Shaky3D*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 4); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Shaky3D:create",argc, 4); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -28103,7 +28103,7 @@ int lua_cocos2dx_Liquid_getAmplitudeRate(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAmplitudeRate",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Liquid:getAmplitudeRate",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -28143,13 +28143,13 @@ int lua_cocos2dx_Liquid_setAmplitude(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Liquid:setAmplitude"); if(!ok) return 0; cobj->setAmplitude(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAmplitude",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Liquid:setAmplitude",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -28189,13 +28189,13 @@ int lua_cocos2dx_Liquid_setAmplitudeRate(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Liquid:setAmplitudeRate"); if(!ok) return 0; cobj->setAmplitudeRate(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAmplitudeRate",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Liquid:setAmplitudeRate",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -28239,7 +28239,7 @@ int lua_cocos2dx_Liquid_getAmplitude(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAmplitude",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Liquid:getAmplitude",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -28270,17 +28270,17 @@ int lua_cocos2dx_Liquid_create(lua_State* tolua_S) cocos2d::Size arg1; unsigned int arg2; double arg3; - ok &= luaval_to_number(tolua_S, 2,&arg0); - ok &= luaval_to_size(tolua_S, 3, &arg1); - ok &= luaval_to_uint32(tolua_S, 4,&arg2); - ok &= luaval_to_number(tolua_S, 5,&arg3); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Liquid:create"); + ok &= luaval_to_size(tolua_S, 3, &arg1, "cc.Liquid:create"); + ok &= luaval_to_uint32(tolua_S, 4,&arg2, "cc.Liquid:create"); + ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.Liquid:create"); if(!ok) return 0; cocos2d::Liquid* ret = cocos2d::Liquid::create(arg0, arg1, arg2, arg3); object_to_luaval(tolua_S, "cc.Liquid",(cocos2d::Liquid*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 4); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Liquid:create",argc, 4); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -28346,7 +28346,7 @@ int lua_cocos2dx_Waves_getAmplitudeRate(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAmplitudeRate",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Waves:getAmplitudeRate",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -28386,13 +28386,13 @@ int lua_cocos2dx_Waves_setAmplitude(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Waves:setAmplitude"); if(!ok) return 0; cobj->setAmplitude(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAmplitude",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Waves:setAmplitude",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -28432,13 +28432,13 @@ int lua_cocos2dx_Waves_setAmplitudeRate(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Waves:setAmplitudeRate"); if(!ok) return 0; cobj->setAmplitudeRate(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAmplitudeRate",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Waves:setAmplitudeRate",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -28482,7 +28482,7 @@ int lua_cocos2dx_Waves_getAmplitude(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAmplitude",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Waves:getAmplitude",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -28515,19 +28515,19 @@ int lua_cocos2dx_Waves_create(lua_State* tolua_S) double arg3; bool arg4; bool arg5; - ok &= luaval_to_number(tolua_S, 2,&arg0); - ok &= luaval_to_size(tolua_S, 3, &arg1); - ok &= luaval_to_uint32(tolua_S, 4,&arg2); - ok &= luaval_to_number(tolua_S, 5,&arg3); - ok &= luaval_to_boolean(tolua_S, 6,&arg4); - ok &= luaval_to_boolean(tolua_S, 7,&arg5); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Waves:create"); + ok &= luaval_to_size(tolua_S, 3, &arg1, "cc.Waves:create"); + ok &= luaval_to_uint32(tolua_S, 4,&arg2, "cc.Waves:create"); + ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.Waves:create"); + ok &= luaval_to_boolean(tolua_S, 6,&arg4, "cc.Waves:create"); + ok &= luaval_to_boolean(tolua_S, 7,&arg5, "cc.Waves:create"); if(!ok) return 0; cocos2d::Waves* ret = cocos2d::Waves::create(arg0, arg1, arg2, arg3, arg4, arg5); object_to_luaval(tolua_S, "cc.Waves",(cocos2d::Waves*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 6); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Waves:create",argc, 6); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -28589,13 +28589,13 @@ int lua_cocos2dx_Twirl_setAmplitudeRate(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Twirl:setAmplitudeRate"); if(!ok) return 0; cobj->setAmplitudeRate(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAmplitudeRate",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Twirl:setAmplitudeRate",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -28639,7 +28639,7 @@ int lua_cocos2dx_Twirl_getAmplitudeRate(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAmplitudeRate",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Twirl:getAmplitudeRate",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -28679,13 +28679,13 @@ int lua_cocos2dx_Twirl_setAmplitude(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Twirl:setAmplitude"); if(!ok) return 0; cobj->setAmplitude(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAmplitude",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Twirl:setAmplitude",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -28729,7 +28729,7 @@ int lua_cocos2dx_Twirl_getAmplitude(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAmplitude",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Twirl:getAmplitude",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -28769,13 +28769,13 @@ int lua_cocos2dx_Twirl_setPosition(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.Twirl:setPosition"); if(!ok) return 0; cobj->setPosition(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setPosition",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Twirl:setPosition",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -28819,7 +28819,7 @@ int lua_cocos2dx_Twirl_getPosition(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPosition",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Twirl:getPosition",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -28851,18 +28851,18 @@ int lua_cocos2dx_Twirl_create(lua_State* tolua_S) cocos2d::Vec2 arg2; unsigned int arg3; double arg4; - ok &= luaval_to_number(tolua_S, 2,&arg0); - ok &= luaval_to_size(tolua_S, 3, &arg1); - ok &= luaval_to_vec2(tolua_S, 4, &arg2); - ok &= luaval_to_uint32(tolua_S, 5,&arg3); - ok &= luaval_to_number(tolua_S, 6,&arg4); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Twirl:create"); + ok &= luaval_to_size(tolua_S, 3, &arg1, "cc.Twirl:create"); + ok &= luaval_to_vec2(tolua_S, 4, &arg2, "cc.Twirl:create"); + ok &= luaval_to_uint32(tolua_S, 5,&arg3, "cc.Twirl:create"); + ok &= luaval_to_number(tolua_S, 6,&arg4, "cc.Twirl:create"); if(!ok) return 0; cocos2d::Twirl* ret = cocos2d::Twirl::create(arg0, arg1, arg2, arg3, arg4); object_to_luaval(tolua_S, "cc.Twirl",(cocos2d::Twirl*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 5); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Twirl:create",argc, 5); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -28915,15 +28915,15 @@ int lua_cocos2dx_PageTurn3D_create(lua_State* tolua_S) { double arg0; cocos2d::Size arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); - ok &= luaval_to_size(tolua_S, 3, &arg1); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PageTurn3D:create"); + ok &= luaval_to_size(tolua_S, 3, &arg1, "cc.PageTurn3D:create"); if(!ok) return 0; cocos2d::PageTurn3D* ret = cocos2d::PageTurn3D::create(arg0, arg1); object_to_luaval(tolua_S, "cc.PageTurn3D",(cocos2d::PageTurn3D*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.PageTurn3D:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -28970,15 +28970,15 @@ int lua_cocos2dx_ProgressTo_create(lua_State* tolua_S) { double arg0; double arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ProgressTo:create"); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.ProgressTo:create"); if(!ok) return 0; cocos2d::ProgressTo* ret = cocos2d::ProgressTo::create(arg0, arg1); object_to_luaval(tolua_S, "cc.ProgressTo",(cocos2d::ProgressTo*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ProgressTo:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -29026,16 +29026,16 @@ int lua_cocos2dx_ProgressFromTo_create(lua_State* tolua_S) double arg0; double arg1; double arg2; - ok &= luaval_to_number(tolua_S, 2,&arg0); - ok &= luaval_to_number(tolua_S, 3,&arg1); - ok &= luaval_to_number(tolua_S, 4,&arg2); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ProgressFromTo:create"); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.ProgressFromTo:create"); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.ProgressFromTo:create"); if(!ok) return 0; cocos2d::ProgressFromTo* ret = cocos2d::ProgressFromTo::create(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.ProgressFromTo",(cocos2d::ProgressFromTo*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ProgressFromTo:create",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -29084,17 +29084,17 @@ int lua_cocos2dx_ShakyTiles3D_create(lua_State* tolua_S) cocos2d::Size arg1; int arg2; bool arg3; - ok &= luaval_to_number(tolua_S, 2,&arg0); - ok &= luaval_to_size(tolua_S, 3, &arg1); - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); - ok &= luaval_to_boolean(tolua_S, 5,&arg3); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ShakyTiles3D:create"); + ok &= luaval_to_size(tolua_S, 3, &arg1, "cc.ShakyTiles3D:create"); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "cc.ShakyTiles3D:create"); + ok &= luaval_to_boolean(tolua_S, 5,&arg3, "cc.ShakyTiles3D:create"); if(!ok) return 0; cocos2d::ShakyTiles3D* ret = cocos2d::ShakyTiles3D::create(arg0, arg1, arg2, arg3); object_to_luaval(tolua_S, "cc.ShakyTiles3D",(cocos2d::ShakyTiles3D*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 4); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ShakyTiles3D:create",argc, 4); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -29143,17 +29143,17 @@ int lua_cocos2dx_ShatteredTiles3D_create(lua_State* tolua_S) cocos2d::Size arg1; int arg2; bool arg3; - ok &= luaval_to_number(tolua_S, 2,&arg0); - ok &= luaval_to_size(tolua_S, 3, &arg1); - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); - ok &= luaval_to_boolean(tolua_S, 5,&arg3); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ShatteredTiles3D:create"); + ok &= luaval_to_size(tolua_S, 3, &arg1, "cc.ShatteredTiles3D:create"); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "cc.ShatteredTiles3D:create"); + ok &= luaval_to_boolean(tolua_S, 5,&arg3, "cc.ShatteredTiles3D:create"); if(!ok) return 0; cocos2d::ShatteredTiles3D* ret = cocos2d::ShatteredTiles3D::create(arg0, arg1, arg2, arg3); object_to_luaval(tolua_S, "cc.ShatteredTiles3D",(cocos2d::ShatteredTiles3D*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 4); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ShatteredTiles3D:create",argc, 4); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -29211,14 +29211,14 @@ int lua_cocos2dx_ShuffleTiles_getDelta(lua_State* tolua_S) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.ShuffleTiles:getDelta"); if(!ok) return 0; cocos2d::Size ret = cobj->getDelta(arg0); size_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDelta",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ShuffleTiles:getDelta",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -29248,16 +29248,16 @@ int lua_cocos2dx_ShuffleTiles_create(lua_State* tolua_S) double arg0; cocos2d::Size arg1; unsigned int arg2; - ok &= luaval_to_number(tolua_S, 2,&arg0); - ok &= luaval_to_size(tolua_S, 3, &arg1); - ok &= luaval_to_uint32(tolua_S, 4,&arg2); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ShuffleTiles:create"); + ok &= luaval_to_size(tolua_S, 3, &arg1, "cc.ShuffleTiles:create"); + ok &= luaval_to_uint32(tolua_S, 4,&arg2, "cc.ShuffleTiles:create"); if(!ok) return 0; cocos2d::ShuffleTiles* ret = cocos2d::ShuffleTiles::create(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.ShuffleTiles",(cocos2d::ShuffleTiles*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ShuffleTiles:create",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -29316,13 +29316,13 @@ int lua_cocos2dx_FadeOutTRTiles_turnOnTile(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.FadeOutTRTiles:turnOnTile"); if(!ok) return 0; cobj->turnOnTile(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "turnOnTile",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.FadeOutTRTiles:turnOnTile",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -29362,13 +29362,13 @@ int lua_cocos2dx_FadeOutTRTiles_turnOffTile(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.FadeOutTRTiles:turnOffTile"); if(!ok) return 0; cobj->turnOffTile(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "turnOffTile",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.FadeOutTRTiles:turnOffTile",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -29409,15 +29409,15 @@ int lua_cocos2dx_FadeOutTRTiles_transformTile(lua_State* tolua_S) cocos2d::Vec2 arg0; double arg1; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.FadeOutTRTiles:transformTile"); - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.FadeOutTRTiles:transformTile"); if(!ok) return 0; cobj->transformTile(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "transformTile",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.FadeOutTRTiles:transformTile",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -29458,16 +29458,16 @@ int lua_cocos2dx_FadeOutTRTiles_testFunc(lua_State* tolua_S) cocos2d::Size arg0; double arg1; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.FadeOutTRTiles:testFunc"); - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.FadeOutTRTiles:testFunc"); if(!ok) return 0; double ret = cobj->testFunc(arg0, arg1); tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "testFunc",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.FadeOutTRTiles:testFunc",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -29496,15 +29496,15 @@ int lua_cocos2dx_FadeOutTRTiles_create(lua_State* tolua_S) { double arg0; cocos2d::Size arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); - ok &= luaval_to_size(tolua_S, 3, &arg1); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.FadeOutTRTiles:create"); + ok &= luaval_to_size(tolua_S, 3, &arg1, "cc.FadeOutTRTiles:create"); if(!ok) return 0; cocos2d::FadeOutTRTiles* ret = cocos2d::FadeOutTRTiles::create(arg0, arg1); object_to_luaval(tolua_S, "cc.FadeOutTRTiles",(cocos2d::FadeOutTRTiles*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.FadeOutTRTiles:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -29555,15 +29555,15 @@ int lua_cocos2dx_FadeOutBLTiles_create(lua_State* tolua_S) { double arg0; cocos2d::Size arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); - ok &= luaval_to_size(tolua_S, 3, &arg1); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.FadeOutBLTiles:create"); + ok &= luaval_to_size(tolua_S, 3, &arg1, "cc.FadeOutBLTiles:create"); if(!ok) return 0; cocos2d::FadeOutBLTiles* ret = cocos2d::FadeOutBLTiles::create(arg0, arg1); object_to_luaval(tolua_S, "cc.FadeOutBLTiles",(cocos2d::FadeOutBLTiles*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.FadeOutBLTiles:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -29622,15 +29622,15 @@ int lua_cocos2dx_FadeOutUpTiles_transformTile(lua_State* tolua_S) cocos2d::Vec2 arg0; double arg1; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.FadeOutUpTiles:transformTile"); - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.FadeOutUpTiles:transformTile"); if(!ok) return 0; cobj->transformTile(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "transformTile",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.FadeOutUpTiles:transformTile",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -29659,15 +29659,15 @@ int lua_cocos2dx_FadeOutUpTiles_create(lua_State* tolua_S) { double arg0; cocos2d::Size arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); - ok &= luaval_to_size(tolua_S, 3, &arg1); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.FadeOutUpTiles:create"); + ok &= luaval_to_size(tolua_S, 3, &arg1, "cc.FadeOutUpTiles:create"); if(!ok) return 0; cocos2d::FadeOutUpTiles* ret = cocos2d::FadeOutUpTiles::create(arg0, arg1); object_to_luaval(tolua_S, "cc.FadeOutUpTiles",(cocos2d::FadeOutUpTiles*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.FadeOutUpTiles:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -29715,15 +29715,15 @@ int lua_cocos2dx_FadeOutDownTiles_create(lua_State* tolua_S) { double arg0; cocos2d::Size arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); - ok &= luaval_to_size(tolua_S, 3, &arg1); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.FadeOutDownTiles:create"); + ok &= luaval_to_size(tolua_S, 3, &arg1, "cc.FadeOutDownTiles:create"); if(!ok) return 0; cocos2d::FadeOutDownTiles* ret = cocos2d::FadeOutDownTiles::create(arg0, arg1); object_to_luaval(tolua_S, "cc.FadeOutDownTiles",(cocos2d::FadeOutDownTiles*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.FadeOutDownTiles:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -29781,13 +29781,13 @@ int lua_cocos2dx_TurnOffTiles_turnOnTile(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.TurnOffTiles:turnOnTile"); if(!ok) return 0; cobj->turnOnTile(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "turnOnTile",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TurnOffTiles:turnOnTile",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -29827,13 +29827,13 @@ int lua_cocos2dx_TurnOffTiles_turnOffTile(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.TurnOffTiles:turnOffTile"); if(!ok) return 0; cobj->turnOffTile(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "turnOffTile",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TurnOffTiles:turnOffTile",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -29862,13 +29862,13 @@ int lua_cocos2dx_TurnOffTiles_create(lua_State* tolua_S) if (argc == 3) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TurnOffTiles:create"); if (!ok) { break; } cocos2d::Size arg1; - ok &= luaval_to_size(tolua_S, 3, &arg1); + ok &= luaval_to_size(tolua_S, 3, &arg1, "cc.TurnOffTiles:create"); if (!ok) { break; } unsigned int arg2; - ok &= luaval_to_uint32(tolua_S, 4,&arg2); + ok &= luaval_to_uint32(tolua_S, 4,&arg2, "cc.TurnOffTiles:create"); if (!ok) { break; } cocos2d::TurnOffTiles* ret = cocos2d::TurnOffTiles::create(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.TurnOffTiles",(cocos2d::TurnOffTiles*)ret); @@ -29881,10 +29881,10 @@ int lua_cocos2dx_TurnOffTiles_create(lua_State* tolua_S) if (argc == 2) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TurnOffTiles:create"); if (!ok) { break; } cocos2d::Size arg1; - ok &= luaval_to_size(tolua_S, 3, &arg1); + ok &= luaval_to_size(tolua_S, 3, &arg1, "cc.TurnOffTiles:create"); if (!ok) { break; } cocos2d::TurnOffTiles* ret = cocos2d::TurnOffTiles::create(arg0, arg1); object_to_luaval(tolua_S, "cc.TurnOffTiles",(cocos2d::TurnOffTiles*)ret); @@ -29892,7 +29892,7 @@ int lua_cocos2dx_TurnOffTiles_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.TurnOffTiles:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -29956,7 +29956,7 @@ int lua_cocos2dx_WavesTiles3D_getAmplitudeRate(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAmplitudeRate",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.WavesTiles3D:getAmplitudeRate",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -29996,13 +29996,13 @@ int lua_cocos2dx_WavesTiles3D_setAmplitude(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.WavesTiles3D:setAmplitude"); if(!ok) return 0; cobj->setAmplitude(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAmplitude",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.WavesTiles3D:setAmplitude",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -30042,13 +30042,13 @@ int lua_cocos2dx_WavesTiles3D_setAmplitudeRate(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.WavesTiles3D:setAmplitudeRate"); if(!ok) return 0; cobj->setAmplitudeRate(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAmplitudeRate",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.WavesTiles3D:setAmplitudeRate",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -30092,7 +30092,7 @@ int lua_cocos2dx_WavesTiles3D_getAmplitude(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAmplitude",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.WavesTiles3D:getAmplitude",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -30123,17 +30123,17 @@ int lua_cocos2dx_WavesTiles3D_create(lua_State* tolua_S) cocos2d::Size arg1; unsigned int arg2; double arg3; - ok &= luaval_to_number(tolua_S, 2,&arg0); - ok &= luaval_to_size(tolua_S, 3, &arg1); - ok &= luaval_to_uint32(tolua_S, 4,&arg2); - ok &= luaval_to_number(tolua_S, 5,&arg3); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.WavesTiles3D:create"); + ok &= luaval_to_size(tolua_S, 3, &arg1, "cc.WavesTiles3D:create"); + ok &= luaval_to_uint32(tolua_S, 4,&arg2, "cc.WavesTiles3D:create"); + ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.WavesTiles3D:create"); if(!ok) return 0; cocos2d::WavesTiles3D* ret = cocos2d::WavesTiles3D::create(arg0, arg1, arg2, arg3); object_to_luaval(tolua_S, "cc.WavesTiles3D",(cocos2d::WavesTiles3D*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 4); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.WavesTiles3D:create",argc, 4); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -30199,7 +30199,7 @@ int lua_cocos2dx_JumpTiles3D_getAmplitudeRate(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAmplitudeRate",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.JumpTiles3D:getAmplitudeRate",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -30239,13 +30239,13 @@ int lua_cocos2dx_JumpTiles3D_setAmplitude(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.JumpTiles3D:setAmplitude"); if(!ok) return 0; cobj->setAmplitude(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAmplitude",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.JumpTiles3D:setAmplitude",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -30285,13 +30285,13 @@ int lua_cocos2dx_JumpTiles3D_setAmplitudeRate(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.JumpTiles3D:setAmplitudeRate"); if(!ok) return 0; cobj->setAmplitudeRate(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAmplitudeRate",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.JumpTiles3D:setAmplitudeRate",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -30335,7 +30335,7 @@ int lua_cocos2dx_JumpTiles3D_getAmplitude(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAmplitude",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.JumpTiles3D:getAmplitude",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -30366,17 +30366,17 @@ int lua_cocos2dx_JumpTiles3D_create(lua_State* tolua_S) cocos2d::Size arg1; unsigned int arg2; double arg3; - ok &= luaval_to_number(tolua_S, 2,&arg0); - ok &= luaval_to_size(tolua_S, 3, &arg1); - ok &= luaval_to_uint32(tolua_S, 4,&arg2); - ok &= luaval_to_number(tolua_S, 5,&arg3); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.JumpTiles3D:create"); + ok &= luaval_to_size(tolua_S, 3, &arg1, "cc.JumpTiles3D:create"); + ok &= luaval_to_uint32(tolua_S, 4,&arg2, "cc.JumpTiles3D:create"); + ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.JumpTiles3D:create"); if(!ok) return 0; cocos2d::JumpTiles3D* ret = cocos2d::JumpTiles3D::create(arg0, arg1, arg2, arg3); object_to_luaval(tolua_S, "cc.JumpTiles3D",(cocos2d::JumpTiles3D*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 4); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.JumpTiles3D:create",argc, 4); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -30427,15 +30427,15 @@ int lua_cocos2dx_SplitRows_create(lua_State* tolua_S) { double arg0; unsigned int arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); - ok &= luaval_to_uint32(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.SplitRows:create"); + ok &= luaval_to_uint32(tolua_S, 3,&arg1, "cc.SplitRows:create"); if(!ok) return 0; cocos2d::SplitRows* ret = cocos2d::SplitRows::create(arg0, arg1); object_to_luaval(tolua_S, "cc.SplitRows",(cocos2d::SplitRows*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.SplitRows:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -30482,15 +30482,15 @@ int lua_cocos2dx_SplitCols_create(lua_State* tolua_S) { double arg0; unsigned int arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); - ok &= luaval_to_uint32(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.SplitCols:create"); + ok &= luaval_to_uint32(tolua_S, 3,&arg1, "cc.SplitCols:create"); if(!ok) return 0; cocos2d::SplitCols* ret = cocos2d::SplitCols::create(arg0, arg1); object_to_luaval(tolua_S, "cc.SplitCols",(cocos2d::SplitCols*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.SplitCols:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -30539,17 +30539,17 @@ int lua_cocos2dx_ActionTween_create(lua_State* tolua_S) std::string arg1; double arg2; double arg3; - ok &= luaval_to_number(tolua_S, 2,&arg0); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); - ok &= luaval_to_number(tolua_S, 4,&arg2); - ok &= luaval_to_number(tolua_S, 5,&arg3); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ActionTween:create"); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "cc.ActionTween:create"); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.ActionTween:create"); + ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.ActionTween:create"); if(!ok) return 0; cocos2d::ActionTween* ret = cocos2d::ActionTween::create(arg0, arg1, arg2, arg3); object_to_luaval(tolua_S, "cc.ActionTween",(cocos2d::ActionTween*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 4); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ActionTween:create",argc, 4); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -30611,7 +30611,7 @@ int lua_cocos2dx_CardinalSplineTo_getPoints(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.PointArray",(cocos2d::PointArray*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPoints",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CardinalSplineTo:getPoints",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -30651,13 +30651,13 @@ int lua_cocos2dx_CardinalSplineTo_updatePosition(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.CardinalSplineTo:updatePosition"); if(!ok) return 0; cobj->updatePosition(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "updatePosition",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CardinalSplineTo:updatePosition",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -30699,18 +30699,18 @@ int lua_cocos2dx_CardinalSplineTo_initWithDuration(lua_State* tolua_S) cocos2d::PointArray* arg1; double arg2; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.CardinalSplineTo:initWithDuration"); ok &= luaval_to_object(tolua_S, 3, "cc.PointArray",&arg1); - ok &= luaval_to_number(tolua_S, 4,&arg2); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.CardinalSplineTo:initWithDuration"); if(!ok) return 0; bool ret = cobj->initWithDuration(arg0, arg1, arg2); tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "initWithDuration",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CardinalSplineTo:initWithDuration",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 @@ -30744,7 +30744,7 @@ int lua_cocos2dx_CardinalSplineTo_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.CardinalSplineTo"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "CardinalSplineTo",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CardinalSplineTo:CardinalSplineTo",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -30801,7 +30801,7 @@ int lua_cocos2dx_CardinalSplineBy_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.CardinalSplineBy"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "CardinalSplineBy",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CardinalSplineBy:CardinalSplineBy",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -30862,7 +30862,7 @@ int lua_cocos2dx_CatmullRomTo_initWithDuration(lua_State* tolua_S) double arg0; cocos2d::PointArray* arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.CatmullRomTo:initWithDuration"); ok &= luaval_to_object(tolua_S, 3, "cc.PointArray",&arg1); if(!ok) @@ -30871,7 +30871,7 @@ int lua_cocos2dx_CatmullRomTo_initWithDuration(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "initWithDuration",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CatmullRomTo:initWithDuration",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -30932,7 +30932,7 @@ int lua_cocos2dx_CatmullRomBy_initWithDuration(lua_State* tolua_S) double arg0; cocos2d::PointArray* arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.CatmullRomBy:initWithDuration"); ok &= luaval_to_object(tolua_S, 3, "cc.PointArray",&arg1); if(!ok) @@ -30941,7 +30941,7 @@ int lua_cocos2dx_CatmullRomBy_initWithDuration(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "initWithDuration",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CatmullRomBy:initWithDuration",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -31005,21 +31005,21 @@ int lua_cocos2dx_DrawNode_drawQuadraticBezier(lua_State* tolua_S) unsigned int arg3; cocos2d::Color4F arg4; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.DrawNode:drawQuadraticBezier"); - ok &= luaval_to_vec2(tolua_S, 3, &arg1); + ok &= luaval_to_vec2(tolua_S, 3, &arg1, "cc.DrawNode:drawQuadraticBezier"); - ok &= luaval_to_vec2(tolua_S, 4, &arg2); + ok &= luaval_to_vec2(tolua_S, 4, &arg2, "cc.DrawNode:drawQuadraticBezier"); - ok &= luaval_to_uint32(tolua_S, 5,&arg3); + ok &= luaval_to_uint32(tolua_S, 5,&arg3, "cc.DrawNode:drawQuadraticBezier"); - ok &=luaval_to_color4f(tolua_S, 6, &arg4); + ok &=luaval_to_color4f(tolua_S, 6, &arg4, "cc.DrawNode:drawQuadraticBezier"); if(!ok) return 0; cobj->drawQuadraticBezier(arg0, arg1, arg2, arg3, arg4); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "drawQuadraticBezier",argc, 5); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.DrawNode:drawQuadraticBezier",argc, 5); return 0; #if COCOS2D_DEBUG >= 1 @@ -31060,15 +31060,15 @@ int lua_cocos2dx_DrawNode_onDraw(lua_State* tolua_S) cocos2d::Mat4 arg0; unsigned int arg1; - ok &= luaval_to_mat4(tolua_S, 2, &arg0); + ok &= luaval_to_mat4(tolua_S, 2, &arg0, "cc.DrawNode:onDraw"); - ok &= luaval_to_uint32(tolua_S, 3,&arg1); + ok &= luaval_to_uint32(tolua_S, 3,&arg1, "cc.DrawNode:onDraw"); if(!ok) return 0; cobj->onDraw(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "onDraw",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.DrawNode:onDraw",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -31111,7 +31111,7 @@ int lua_cocos2dx_DrawNode_clear(lua_State* tolua_S) cobj->clear(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "clear",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.DrawNode:clear",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -31154,19 +31154,19 @@ int lua_cocos2dx_DrawNode_drawTriangle(lua_State* tolua_S) cocos2d::Vec2 arg2; cocos2d::Color4F arg3; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.DrawNode:drawTriangle"); - ok &= luaval_to_vec2(tolua_S, 3, &arg1); + ok &= luaval_to_vec2(tolua_S, 3, &arg1, "cc.DrawNode:drawTriangle"); - ok &= luaval_to_vec2(tolua_S, 4, &arg2); + ok &= luaval_to_vec2(tolua_S, 4, &arg2, "cc.DrawNode:drawTriangle"); - ok &=luaval_to_color4f(tolua_S, 5, &arg3); + ok &=luaval_to_color4f(tolua_S, 5, &arg3, "cc.DrawNode:drawTriangle"); if(!ok) return 0; cobj->drawTriangle(arg0, arg1, arg2, arg3); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "drawTriangle",argc, 4); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.DrawNode:drawTriangle",argc, 4); return 0; #if COCOS2D_DEBUG >= 1 @@ -31208,17 +31208,17 @@ int lua_cocos2dx_DrawNode_drawDot(lua_State* tolua_S) double arg1; cocos2d::Color4F arg2; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.DrawNode:drawDot"); - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.DrawNode:drawDot"); - ok &=luaval_to_color4f(tolua_S, 4, &arg2); + ok &=luaval_to_color4f(tolua_S, 4, &arg2, "cc.DrawNode:drawDot"); if(!ok) return 0; cobj->drawDot(arg0, arg1, arg2); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "drawDot",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.DrawNode:drawDot",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 @@ -31263,23 +31263,23 @@ int lua_cocos2dx_DrawNode_drawCubicBezier(lua_State* tolua_S) unsigned int arg4; cocos2d::Color4F arg5; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.DrawNode:drawCubicBezier"); - ok &= luaval_to_vec2(tolua_S, 3, &arg1); + ok &= luaval_to_vec2(tolua_S, 3, &arg1, "cc.DrawNode:drawCubicBezier"); - ok &= luaval_to_vec2(tolua_S, 4, &arg2); + ok &= luaval_to_vec2(tolua_S, 4, &arg2, "cc.DrawNode:drawCubicBezier"); - ok &= luaval_to_vec2(tolua_S, 5, &arg3); + ok &= luaval_to_vec2(tolua_S, 5, &arg3, "cc.DrawNode:drawCubicBezier"); - ok &= luaval_to_uint32(tolua_S, 6,&arg4); + ok &= luaval_to_uint32(tolua_S, 6,&arg4, "cc.DrawNode:drawCubicBezier"); - ok &=luaval_to_color4f(tolua_S, 7, &arg5); + ok &=luaval_to_color4f(tolua_S, 7, &arg5, "cc.DrawNode:drawCubicBezier"); if(!ok) return 0; cobj->drawCubicBezier(arg0, arg1, arg2, arg3, arg4, arg5); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "drawCubicBezier",argc, 6); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.DrawNode:drawCubicBezier",argc, 6); return 0; #if COCOS2D_DEBUG >= 1 @@ -31322,19 +31322,19 @@ int lua_cocos2dx_DrawNode_drawSegment(lua_State* tolua_S) double arg2; cocos2d::Color4F arg3; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.DrawNode:drawSegment"); - ok &= luaval_to_vec2(tolua_S, 3, &arg1); + ok &= luaval_to_vec2(tolua_S, 3, &arg1, "cc.DrawNode:drawSegment"); - ok &= luaval_to_number(tolua_S, 4,&arg2); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.DrawNode:drawSegment"); - ok &=luaval_to_color4f(tolua_S, 5, &arg3); + ok &=luaval_to_color4f(tolua_S, 5, &arg3, "cc.DrawNode:drawSegment"); if(!ok) return 0; cobj->drawSegment(arg0, arg1, arg2, arg3); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "drawSegment",argc, 4); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.DrawNode:drawSegment",argc, 4); return 0; #if COCOS2D_DEBUG >= 1 @@ -31367,7 +31367,7 @@ int lua_cocos2dx_DrawNode_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.DrawNode",(cocos2d::DrawNode*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.DrawNode:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -31436,7 +31436,7 @@ int lua_cocos2dx_GLProgram_getFragmentShaderLog(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getFragmentShaderLog",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLProgram:getFragmentShaderLog",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -31477,16 +31477,16 @@ int lua_cocos2dx_GLProgram_initWithByteArrays(lua_State* tolua_S) const char* arg0; const char* arg1; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.GLProgram:initWithByteArrays"); arg0 = arg0_tmp.c_str(); - std::string arg1_tmp; ok &= luaval_to_std_string(tolua_S, 3, &arg1_tmp); arg1 = arg1_tmp.c_str(); + std::string arg1_tmp; ok &= luaval_to_std_string(tolua_S, 3, &arg1_tmp, "cc.GLProgram:initWithByteArrays"); arg1 = arg1_tmp.c_str(); if(!ok) return 0; bool ret = cobj->initWithByteArrays(arg0, arg1); tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "initWithByteArrays",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLProgram:initWithByteArrays",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -31527,16 +31527,16 @@ int lua_cocos2dx_GLProgram_initWithFilenames(lua_State* tolua_S) std::string arg0; std::string arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.GLProgram:initWithFilenames"); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "cc.GLProgram:initWithFilenames"); if(!ok) return 0; bool ret = cobj->initWithFilenames(arg0, arg1); tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "initWithFilenames",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLProgram:initWithFilenames",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -31579,7 +31579,7 @@ int lua_cocos2dx_GLProgram_use(lua_State* tolua_S) cobj->use(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "use",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLProgram:use",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -31623,7 +31623,7 @@ int lua_cocos2dx_GLProgram_getVertexShaderLog(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getVertexShaderLog",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLProgram:getVertexShaderLog",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -31657,7 +31657,7 @@ int lua_cocos2dx_GLProgram_setUniformsForBuiltins(lua_State* tolua_S) do{ if (argc == 1) { cocos2d::Mat4 arg0; - ok &= luaval_to_mat4(tolua_S, 2, &arg0); + ok &= luaval_to_mat4(tolua_S, 2, &arg0, "cc.GLProgram:setUniformsForBuiltins"); if (!ok) { break; } cobj->setUniformsForBuiltins(arg0); @@ -31672,7 +31672,7 @@ int lua_cocos2dx_GLProgram_setUniformsForBuiltins(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setUniformsForBuiltins",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLProgram:setUniformsForBuiltins",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -31715,7 +31715,7 @@ int lua_cocos2dx_GLProgram_updateUniforms(lua_State* tolua_S) cobj->updateUniforms(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "updateUniforms",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLProgram:updateUniforms",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -31756,15 +31756,15 @@ int lua_cocos2dx_GLProgram_setUniformLocationWith1i(lua_State* tolua_S) int arg0; int arg1; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.GLProgram:setUniformLocationWith1i"); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.GLProgram:setUniformLocationWith1i"); if(!ok) return 0; cobj->setUniformLocationWith1i(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setUniformLocationWith1i",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLProgram:setUniformLocationWith1i",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -31807,7 +31807,7 @@ int lua_cocos2dx_GLProgram_reset(lua_State* tolua_S) cobj->reset(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "reset",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLProgram:reset",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -31848,15 +31848,15 @@ int lua_cocos2dx_GLProgram_bindAttribLocation(lua_State* tolua_S) std::string arg0; unsigned int arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.GLProgram:bindAttribLocation"); - ok &= luaval_to_uint32(tolua_S, 3,&arg1); + ok &= luaval_to_uint32(tolua_S, 3,&arg1, "cc.GLProgram:bindAttribLocation"); if(!ok) return 0; cobj->bindAttribLocation(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "bindAttribLocation",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLProgram:bindAttribLocation",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -31896,14 +31896,14 @@ int lua_cocos2dx_GLProgram_getAttribLocation(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.GLProgram:getAttribLocation"); if(!ok) return 0; int ret = cobj->getAttribLocation(arg0); tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAttribLocation",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLProgram:getAttribLocation",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -31947,7 +31947,7 @@ int lua_cocos2dx_GLProgram_link(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "link",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLProgram:link",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -31976,15 +31976,15 @@ int lua_cocos2dx_GLProgram_createWithByteArrays(lua_State* tolua_S) { const char* arg0; const char* arg1; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); - std::string arg1_tmp; ok &= luaval_to_std_string(tolua_S, 3, &arg1_tmp); arg1 = arg1_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.GLProgram:createWithByteArrays"); arg0 = arg0_tmp.c_str(); + std::string arg1_tmp; ok &= luaval_to_std_string(tolua_S, 3, &arg1_tmp, "cc.GLProgram:createWithByteArrays"); arg1 = arg1_tmp.c_str(); if(!ok) return 0; cocos2d::GLProgram* ret = cocos2d::GLProgram::createWithByteArrays(arg0, arg1); object_to_luaval(tolua_S, "cc.GLProgram",(cocos2d::GLProgram*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createWithByteArrays",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.GLProgram:createWithByteArrays",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -32011,15 +32011,15 @@ int lua_cocos2dx_GLProgram_createWithFilenames(lua_State* tolua_S) { std::string arg0; std::string arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.GLProgram:createWithFilenames"); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "cc.GLProgram:createWithFilenames"); if(!ok) return 0; cocos2d::GLProgram* ret = cocos2d::GLProgram::createWithFilenames(arg0, arg1); object_to_luaval(tolua_S, "cc.GLProgram",(cocos2d::GLProgram*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createWithFilenames",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.GLProgram:createWithFilenames",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -32051,7 +32051,7 @@ int lua_cocos2dx_GLProgram_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.GLProgram"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "GLProgram",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLProgram:GLProgram",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -32131,7 +32131,7 @@ int lua_cocos2dx_SpriteBatchNode_appendChild(lua_State* tolua_S) cobj->appendChild(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "appendChild",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteBatchNode:appendChild",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -32175,16 +32175,16 @@ int lua_cocos2dx_SpriteBatchNode_addSpriteWithoutQuad(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 2, "cc.Sprite",&arg0); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.SpriteBatchNode:addSpriteWithoutQuad"); - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "cc.SpriteBatchNode:addSpriteWithoutQuad"); if(!ok) return 0; cocos2d::SpriteBatchNode* ret = cobj->addSpriteWithoutQuad(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.SpriteBatchNode",(cocos2d::SpriteBatchNode*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addSpriteWithoutQuad",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteBatchNode:addSpriteWithoutQuad",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 @@ -32224,13 +32224,13 @@ int lua_cocos2dx_SpriteBatchNode_reorderBatch(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.SpriteBatchNode:reorderBatch"); if(!ok) return 0; cobj->reorderBatch(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "reorderBatch",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteBatchNode:reorderBatch",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -32270,13 +32270,13 @@ int lua_cocos2dx_SpriteBatchNode_removeAllChildrenWithCleanup(lua_State* tolua_S { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.SpriteBatchNode:removeAllChildrenWithCleanup"); if(!ok) return 0; cobj->removeAllChildrenWithCleanup(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeAllChildrenWithCleanup",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteBatchNode:removeAllChildrenWithCleanup",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -32323,7 +32323,7 @@ int lua_cocos2dx_SpriteBatchNode_lowestAtlasIndexInChild(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "lowestAtlasIndexInChild",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteBatchNode:lowestAtlasIndexInChild",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -32366,14 +32366,14 @@ int lua_cocos2dx_SpriteBatchNode_atlasIndexForChild(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 2, "cc.Sprite",&arg0); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.SpriteBatchNode:atlasIndexForChild"); if(!ok) return 0; ssize_t ret = cobj->atlasIndexForChild(arg0, arg1); tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "atlasIndexForChild",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteBatchNode:atlasIndexForChild",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -32419,7 +32419,7 @@ int lua_cocos2dx_SpriteBatchNode_setTextureAtlas(lua_State* tolua_S) cobj->setTextureAtlas(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTextureAtlas",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteBatchNode:setTextureAtlas",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -32463,7 +32463,7 @@ int lua_cocos2dx_SpriteBatchNode_getTexture(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Texture2D",(cocos2d::Texture2D*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTexture",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteBatchNode:getTexture",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -32506,7 +32506,7 @@ int lua_cocos2dx_SpriteBatchNode_increaseAtlasCapacity(lua_State* tolua_S) cobj->increaseAtlasCapacity(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "increaseAtlasCapacity",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteBatchNode:increaseAtlasCapacity",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -32550,7 +32550,7 @@ int lua_cocos2dx_SpriteBatchNode_getTextureAtlas(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.TextureAtlas",(cocos2d::TextureAtlas*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTextureAtlas",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteBatchNode:getTextureAtlas",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -32593,13 +32593,13 @@ int lua_cocos2dx_SpriteBatchNode_insertQuadFromSprite(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 2, "cc.Sprite",&arg0); - ok &= luaval_to_ssize(tolua_S, 3, &arg1); + ok &= luaval_to_ssize(tolua_S, 3, &arg1, "cc.SpriteBatchNode:insertQuadFromSprite"); if(!ok) return 0; cobj->insertQuadFromSprite(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "insertQuadFromSprite",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteBatchNode:insertQuadFromSprite",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -32645,7 +32645,7 @@ int lua_cocos2dx_SpriteBatchNode_setTexture(lua_State* tolua_S) cobj->setTexture(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTexture",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteBatchNode:setTexture",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -32688,14 +32688,14 @@ int lua_cocos2dx_SpriteBatchNode_rebuildIndexInOrder(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 2, "cc.Sprite",&arg0); - ok &= luaval_to_ssize(tolua_S, 3, &arg1); + ok &= luaval_to_ssize(tolua_S, 3, &arg1, "cc.SpriteBatchNode:rebuildIndexInOrder"); if(!ok) return 0; ssize_t ret = cobj->rebuildIndexInOrder(arg0, arg1); tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "rebuildIndexInOrder",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteBatchNode:rebuildIndexInOrder",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -32742,7 +32742,7 @@ int lua_cocos2dx_SpriteBatchNode_highestAtlasIndexInChild(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "highestAtlasIndexInChild",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteBatchNode:highestAtlasIndexInChild",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -32783,15 +32783,15 @@ int lua_cocos2dx_SpriteBatchNode_removeChildAtIndex(lua_State* tolua_S) ssize_t arg0; bool arg1; - ok &= luaval_to_ssize(tolua_S, 2, &arg0); + ok &= luaval_to_ssize(tolua_S, 2, &arg0, "cc.SpriteBatchNode:removeChildAtIndex"); - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.SpriteBatchNode:removeChildAtIndex"); if(!ok) return 0; cobj->removeChildAtIndex(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeChildAtIndex",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteBatchNode:removeChildAtIndex",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -32837,7 +32837,7 @@ int lua_cocos2dx_SpriteBatchNode_removeSpriteFromAtlas(lua_State* tolua_S) cobj->removeSpriteFromAtlas(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeSpriteFromAtlas",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteBatchNode:removeSpriteFromAtlas",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -32865,7 +32865,7 @@ int lua_cocos2dx_SpriteBatchNode_create(lua_State* tolua_S) if (argc == 1) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.SpriteBatchNode:create"); if(!ok) return 0; cocos2d::SpriteBatchNode* ret = cocos2d::SpriteBatchNode::create(arg0); @@ -32876,15 +32876,15 @@ int lua_cocos2dx_SpriteBatchNode_create(lua_State* tolua_S) { std::string arg0; ssize_t arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); - ok &= luaval_to_ssize(tolua_S, 3, &arg1); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.SpriteBatchNode:create"); + ok &= luaval_to_ssize(tolua_S, 3, &arg1, "cc.SpriteBatchNode:create"); if(!ok) return 0; cocos2d::SpriteBatchNode* ret = cocos2d::SpriteBatchNode::create(arg0, arg1); object_to_luaval(tolua_S, "cc.SpriteBatchNode",(cocos2d::SpriteBatchNode*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.SpriteBatchNode:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -32922,14 +32922,14 @@ int lua_cocos2dx_SpriteBatchNode_createWithTexture(lua_State* tolua_S) cocos2d::Texture2D* arg0; ssize_t arg1; ok &= luaval_to_object(tolua_S, 2, "cc.Texture2D",&arg0); - ok &= luaval_to_ssize(tolua_S, 3, &arg1); + ok &= luaval_to_ssize(tolua_S, 3, &arg1, "cc.SpriteBatchNode:createWithTexture"); if(!ok) return 0; cocos2d::SpriteBatchNode* ret = cocos2d::SpriteBatchNode::createWithTexture(arg0, arg1); object_to_luaval(tolua_S, "cc.SpriteBatchNode",(cocos2d::SpriteBatchNode*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createWithTexture",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.SpriteBatchNode:createWithTexture",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -33008,7 +33008,7 @@ int lua_cocos2dx_Label_isClipMarginEnabled(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isClipMarginEnabled",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:isClipMarginEnabled",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -33055,7 +33055,7 @@ int lua_cocos2dx_Label_enableShadow(lua_State* tolua_S) { cocos2d::Color4B arg0; - ok &=luaval_to_color4b(tolua_S, 2, &arg0); + ok &=luaval_to_color4b(tolua_S, 2, &arg0, "cc.Label:enableShadow"); if(!ok) return 0; cobj->enableShadow(arg0); @@ -33066,9 +33066,9 @@ int lua_cocos2dx_Label_enableShadow(lua_State* tolua_S) cocos2d::Color4B arg0; cocos2d::Size arg1; - ok &=luaval_to_color4b(tolua_S, 2, &arg0); + ok &=luaval_to_color4b(tolua_S, 2, &arg0, "cc.Label:enableShadow"); - ok &= luaval_to_size(tolua_S, 3, &arg1); + ok &= luaval_to_size(tolua_S, 3, &arg1, "cc.Label:enableShadow"); if(!ok) return 0; cobj->enableShadow(arg0, arg1); @@ -33080,17 +33080,17 @@ int lua_cocos2dx_Label_enableShadow(lua_State* tolua_S) cocos2d::Size arg1; int arg2; - ok &=luaval_to_color4b(tolua_S, 2, &arg0); + ok &=luaval_to_color4b(tolua_S, 2, &arg0, "cc.Label:enableShadow"); - ok &= luaval_to_size(tolua_S, 3, &arg1); + ok &= luaval_to_size(tolua_S, 3, &arg1, "cc.Label:enableShadow"); - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "cc.Label:enableShadow"); if(!ok) return 0; cobj->enableShadow(arg0, arg1, arg2); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "enableShadow",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:enableShadow",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -33131,15 +33131,15 @@ int lua_cocos2dx_Label_setDimensions(lua_State* tolua_S) unsigned int arg0; unsigned int arg1; - ok &= luaval_to_uint32(tolua_S, 2,&arg0); + ok &= luaval_to_uint32(tolua_S, 2,&arg0, "cc.Label:setDimensions"); - ok &= luaval_to_uint32(tolua_S, 3,&arg1); + ok &= luaval_to_uint32(tolua_S, 3,&arg1, "cc.Label:setDimensions"); if(!ok) return 0; cobj->setDimensions(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setDimensions",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:setDimensions",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -33183,7 +33183,7 @@ int lua_cocos2dx_Label_getString(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getString",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:getString",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -33227,7 +33227,7 @@ int lua_cocos2dx_Label_getHeight(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getHeight",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:getHeight",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -33270,7 +33270,7 @@ int lua_cocos2dx_Label_disableEffect(lua_State* tolua_S) cobj->disableEffect(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "disableEffect",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:disableEffect",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -33310,14 +33310,14 @@ int lua_cocos2dx_Label_setTTFConfig(lua_State* tolua_S) { cocos2d::_ttfConfig arg0; - ok &= luaval_to_ttfconfig(tolua_S, 2, &arg0); + ok &= luaval_to_ttfconfig(tolua_S, 2, &arg0, "cc.Label:setTTFConfig"); if(!ok) return 0; bool ret = cobj->setTTFConfig(arg0); tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTTFConfig",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:setTTFConfig",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -33361,7 +33361,7 @@ int lua_cocos2dx_Label_getTextColor(lua_State* tolua_S) color4b_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTextColor",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:getTextColor",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -33401,13 +33401,13 @@ int lua_cocos2dx_Label_setWidth(lua_State* tolua_S) { unsigned int arg0; - ok &= luaval_to_uint32(tolua_S, 2,&arg0); + ok &= luaval_to_uint32(tolua_S, 2,&arg0, "cc.Label:setWidth"); if(!ok) return 0; cobj->setWidth(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setWidth",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:setWidth",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -33451,7 +33451,7 @@ int lua_cocos2dx_Label_getMaxLineWidth(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getMaxLineWidth",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:getMaxLineWidth",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -33495,7 +33495,7 @@ int lua_cocos2dx_Label_getHorizontalAlignment(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getHorizontalAlignment",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:getHorizontalAlignment",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -33535,13 +33535,13 @@ int lua_cocos2dx_Label_setClipMarginEnabled(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.Label:setClipMarginEnabled"); if(!ok) return 0; cobj->setClipMarginEnabled(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setClipMarginEnabled",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:setClipMarginEnabled",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -33581,13 +33581,13 @@ int lua_cocos2dx_Label_setString(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Label:setString"); if(!ok) return 0; cobj->setString(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setString",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:setString",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -33627,13 +33627,13 @@ int lua_cocos2dx_Label_setSystemFontName(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Label:setSystemFontName"); if(!ok) return 0; cobj->setSystemFontName(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setSystemFontName",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:setSystemFontName",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -33673,7 +33673,7 @@ int lua_cocos2dx_Label_setBMFontFilePath(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Label:setBMFontFilePath"); if(!ok) return 0; bool ret = cobj->setBMFontFilePath(arg0); @@ -33685,16 +33685,16 @@ int lua_cocos2dx_Label_setBMFontFilePath(lua_State* tolua_S) std::string arg0; cocos2d::Vec2 arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Label:setBMFontFilePath"); - ok &= luaval_to_vec2(tolua_S, 3, &arg1); + ok &= luaval_to_vec2(tolua_S, 3, &arg1, "cc.Label:setBMFontFilePath"); if(!ok) return 0; bool ret = cobj->setBMFontFilePath(arg0, arg1); tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setBMFontFilePath",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:setBMFontFilePath",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -33738,7 +33738,7 @@ int lua_cocos2dx_Label_getFontAtlas(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.FontAtlas",(cocos2d::FontAtlas*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getFontAtlas",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:getFontAtlas",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -33778,13 +33778,13 @@ int lua_cocos2dx_Label_setLineHeight(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Label:setLineHeight"); if(!ok) return 0; cobj->setLineHeight(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setLineHeight",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:setLineHeight",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -33824,13 +33824,13 @@ int lua_cocos2dx_Label_setSystemFontSize(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Label:setSystemFontSize"); if(!ok) return 0; cobj->setSystemFontSize(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setSystemFontSize",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:setSystemFontSize",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -33873,7 +33873,7 @@ int lua_cocos2dx_Label_updateContent(lua_State* tolua_S) cobj->updateContent(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "updateContent",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:updateContent",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -33917,7 +33917,7 @@ int lua_cocos2dx_Label_getStringLength(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getStringLength",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:getStringLength",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -33957,13 +33957,13 @@ int lua_cocos2dx_Label_setLineBreakWithoutSpace(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.Label:setLineBreakWithoutSpace"); if(!ok) return 0; cobj->setLineBreakWithoutSpace(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setLineBreakWithoutSpace",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:setLineBreakWithoutSpace",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -34007,7 +34007,7 @@ int lua_cocos2dx_Label_getStringNumLines(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getStringNumLines",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:getStringNumLines",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -34047,7 +34047,7 @@ int lua_cocos2dx_Label_enableOutline(lua_State* tolua_S) { cocos2d::Color4B arg0; - ok &=luaval_to_color4b(tolua_S, 2, &arg0); + ok &=luaval_to_color4b(tolua_S, 2, &arg0, "cc.Label:enableOutline"); if(!ok) return 0; cobj->enableOutline(arg0); @@ -34058,15 +34058,15 @@ int lua_cocos2dx_Label_enableOutline(lua_State* tolua_S) cocos2d::Color4B arg0; int arg1; - ok &=luaval_to_color4b(tolua_S, 2, &arg0); + ok &=luaval_to_color4b(tolua_S, 2, &arg0, "cc.Label:enableOutline"); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.Label:enableOutline"); if(!ok) return 0; cobj->enableOutline(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "enableOutline",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:enableOutline",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -34110,7 +34110,7 @@ int lua_cocos2dx_Label_getAdditionalKerning(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAdditionalKerning",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:getAdditionalKerning",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -34148,15 +34148,15 @@ int lua_cocos2dx_Label_setCharMap(lua_State* tolua_S) if (!ok) { break; } int arg1; - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.Label:setCharMap"); if (!ok) { break; } int arg2; - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "cc.Label:setCharMap"); if (!ok) { break; } int arg3; - ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3); + ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3, "cc.Label:setCharMap"); if (!ok) { break; } bool ret = cobj->setCharMap(arg0, arg1, arg2, arg3); @@ -34168,19 +34168,19 @@ int lua_cocos2dx_Label_setCharMap(lua_State* tolua_S) do{ if (argc == 4) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Label:setCharMap"); if (!ok) { break; } int arg1; - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.Label:setCharMap"); if (!ok) { break; } int arg2; - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "cc.Label:setCharMap"); if (!ok) { break; } int arg3; - ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3); + ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3, "cc.Label:setCharMap"); if (!ok) { break; } bool ret = cobj->setCharMap(arg0, arg1, arg2, arg3); @@ -34192,7 +34192,7 @@ int lua_cocos2dx_Label_setCharMap(lua_State* tolua_S) do{ if (argc == 1) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Label:setCharMap"); if (!ok) { break; } bool ret = cobj->setCharMap(arg0); @@ -34201,7 +34201,7 @@ int lua_cocos2dx_Label_setCharMap(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setCharMap",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:setCharMap",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -34245,7 +34245,7 @@ int lua_cocos2dx_Label_getDimensions(lua_State* tolua_S) size_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDimensions",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:getDimensions",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -34285,13 +34285,13 @@ int lua_cocos2dx_Label_setMaxLineWidth(lua_State* tolua_S) { unsigned int arg0; - ok &= luaval_to_uint32(tolua_S, 2,&arg0); + ok &= luaval_to_uint32(tolua_S, 2,&arg0, "cc.Label:setMaxLineWidth"); if(!ok) return 0; cobj->setMaxLineWidth(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setMaxLineWidth",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:setMaxLineWidth",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -34335,7 +34335,7 @@ int lua_cocos2dx_Label_getSystemFontName(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getSystemFontName",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:getSystemFontName",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -34375,13 +34375,13 @@ int lua_cocos2dx_Label_setVerticalAlignment(lua_State* tolua_S) { cocos2d::TextVAlignment arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.Label:setVerticalAlignment"); if(!ok) return 0; cobj->setVerticalAlignment(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setVerticalAlignment",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:setVerticalAlignment",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -34425,7 +34425,7 @@ int lua_cocos2dx_Label_getLineHeight(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getLineHeight",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:getLineHeight",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -34469,7 +34469,7 @@ int lua_cocos2dx_Label_getTTFConfig(lua_State* tolua_S) ttfconfig_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTTFConfig",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:getTTFConfig",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -34513,7 +34513,7 @@ int lua_cocos2dx_Label_getVerticalAlignment(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getVerticalAlignment",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:getVerticalAlignment",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -34553,13 +34553,13 @@ int lua_cocos2dx_Label_setTextColor(lua_State* tolua_S) { cocos2d::Color4B arg0; - ok &=luaval_to_color4b(tolua_S, 2, &arg0); + ok &=luaval_to_color4b(tolua_S, 2, &arg0, "cc.Label:setTextColor"); if(!ok) return 0; cobj->setTextColor(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTextColor",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:setTextColor",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -34599,13 +34599,13 @@ int lua_cocos2dx_Label_setHeight(lua_State* tolua_S) { unsigned int arg0; - ok &= luaval_to_uint32(tolua_S, 2,&arg0); + ok &= luaval_to_uint32(tolua_S, 2,&arg0, "cc.Label:setHeight"); if(!ok) return 0; cobj->setHeight(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setHeight",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:setHeight",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -34649,7 +34649,7 @@ int lua_cocos2dx_Label_getWidth(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getWidth",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:getWidth",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -34689,13 +34689,13 @@ int lua_cocos2dx_Label_enableGlow(lua_State* tolua_S) { cocos2d::Color4B arg0; - ok &=luaval_to_color4b(tolua_S, 2, &arg0); + ok &=luaval_to_color4b(tolua_S, 2, &arg0, "cc.Label:enableGlow"); if(!ok) return 0; cobj->enableGlow(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "enableGlow",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:enableGlow",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -34735,14 +34735,14 @@ int lua_cocos2dx_Label_getLetter(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.Label:getLetter"); if(!ok) return 0; cocos2d::Sprite* ret = cobj->getLetter(arg0); object_to_luaval(tolua_S, "cc.Sprite",(cocos2d::Sprite*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getLetter",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:getLetter",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -34782,13 +34782,13 @@ int lua_cocos2dx_Label_setAdditionalKerning(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Label:setAdditionalKerning"); if(!ok) return 0; cobj->setAdditionalKerning(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAdditionalKerning",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:setAdditionalKerning",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -34832,7 +34832,7 @@ int lua_cocos2dx_Label_getSystemFontSize(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getSystemFontSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:getSystemFontSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -34876,7 +34876,7 @@ int lua_cocos2dx_Label_getTextAlignment(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTextAlignment",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:getTextAlignment",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -34920,7 +34920,7 @@ int lua_cocos2dx_Label_getBMFontFilePath(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBMFontFilePath",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:getBMFontFilePath",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -34960,13 +34960,13 @@ int lua_cocos2dx_Label_setHorizontalAlignment(lua_State* tolua_S) { cocos2d::TextHAlignment arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.Label:setHorizontalAlignment"); if(!ok) return 0; cobj->setHorizontalAlignment(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setHorizontalAlignment",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:setHorizontalAlignment",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -35000,11 +35000,11 @@ int lua_cocos2dx_Label_setAlignment(lua_State* tolua_S) do{ if (argc == 2) { cocos2d::TextHAlignment arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.Label:setAlignment"); if (!ok) { break; } cocos2d::TextVAlignment arg1; - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.Label:setAlignment"); if (!ok) { break; } cobj->setAlignment(arg0, arg1); @@ -35015,7 +35015,7 @@ int lua_cocos2dx_Label_setAlignment(lua_State* tolua_S) do{ if (argc == 1) { cocos2d::TextHAlignment arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.Label:setAlignment"); if (!ok) { break; } cobj->setAlignment(arg0); @@ -35023,7 +35023,7 @@ int lua_cocos2dx_Label_setAlignment(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAlignment",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Label:setAlignment",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -35052,8 +35052,8 @@ int lua_cocos2dx_Label_createWithBMFont(lua_State* tolua_S) { std::string arg0; std::string arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Label:createWithBMFont"); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "cc.Label:createWithBMFont"); if(!ok) return 0; cocos2d::Label* ret = cocos2d::Label::createWithBMFont(arg0, arg1); @@ -35065,9 +35065,9 @@ int lua_cocos2dx_Label_createWithBMFont(lua_State* tolua_S) std::string arg0; std::string arg1; cocos2d::TextHAlignment arg2; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Label:createWithBMFont"); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "cc.Label:createWithBMFont"); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "cc.Label:createWithBMFont"); if(!ok) return 0; cocos2d::Label* ret = cocos2d::Label::createWithBMFont(arg0, arg1, arg2); @@ -35080,10 +35080,10 @@ int lua_cocos2dx_Label_createWithBMFont(lua_State* tolua_S) std::string arg1; cocos2d::TextHAlignment arg2; int arg3; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); - ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Label:createWithBMFont"); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "cc.Label:createWithBMFont"); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "cc.Label:createWithBMFont"); + ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3, "cc.Label:createWithBMFont"); if(!ok) return 0; cocos2d::Label* ret = cocos2d::Label::createWithBMFont(arg0, arg1, arg2, arg3); @@ -35097,18 +35097,18 @@ int lua_cocos2dx_Label_createWithBMFont(lua_State* tolua_S) cocos2d::TextHAlignment arg2; int arg3; cocos2d::Vec2 arg4; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); - ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3); - ok &= luaval_to_vec2(tolua_S, 6, &arg4); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Label:createWithBMFont"); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "cc.Label:createWithBMFont"); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "cc.Label:createWithBMFont"); + ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3, "cc.Label:createWithBMFont"); + ok &= luaval_to_vec2(tolua_S, 6, &arg4, "cc.Label:createWithBMFont"); if(!ok) return 0; cocos2d::Label* ret = cocos2d::Label::createWithBMFont(arg0, arg1, arg2, arg3, arg4); object_to_luaval(tolua_S, "cc.Label",(cocos2d::Label*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createWithBMFont",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Label:createWithBMFont",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -35139,7 +35139,7 @@ int lua_cocos2dx_Label_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Label",(cocos2d::Label*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Label:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -35169,13 +35169,13 @@ int lua_cocos2dx_Label_createWithCharMap(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 2, "cc.Texture2D",&arg0); if (!ok) { break; } int arg1; - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.Label:createWithCharMap"); if (!ok) { break; } int arg2; - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "cc.Label:createWithCharMap"); if (!ok) { break; } int arg3; - ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3); + ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3, "cc.Label:createWithCharMap"); if (!ok) { break; } cocos2d::Label* ret = cocos2d::Label::createWithCharMap(arg0, arg1, arg2, arg3); object_to_luaval(tolua_S, "cc.Label",(cocos2d::Label*)ret); @@ -35188,16 +35188,16 @@ int lua_cocos2dx_Label_createWithCharMap(lua_State* tolua_S) if (argc == 4) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Label:createWithCharMap"); if (!ok) { break; } int arg1; - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.Label:createWithCharMap"); if (!ok) { break; } int arg2; - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "cc.Label:createWithCharMap"); if (!ok) { break; } int arg3; - ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3); + ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3, "cc.Label:createWithCharMap"); if (!ok) { break; } cocos2d::Label* ret = cocos2d::Label::createWithCharMap(arg0, arg1, arg2, arg3); object_to_luaval(tolua_S, "cc.Label",(cocos2d::Label*)ret); @@ -35210,7 +35210,7 @@ int lua_cocos2dx_Label_createWithCharMap(lua_State* tolua_S) if (argc == 1) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Label:createWithCharMap"); if (!ok) { break; } cocos2d::Label* ret = cocos2d::Label::createWithCharMap(arg0); object_to_luaval(tolua_S, "cc.Label",(cocos2d::Label*)ret); @@ -35218,7 +35218,7 @@ int lua_cocos2dx_Label_createWithCharMap(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "createWithCharMap",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.Label:createWithCharMap",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -35246,9 +35246,9 @@ int lua_cocos2dx_Label_createWithSystemFont(lua_State* tolua_S) std::string arg0; std::string arg1; double arg2; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); - ok &= luaval_to_number(tolua_S, 4,&arg2); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Label:createWithSystemFont"); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "cc.Label:createWithSystemFont"); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.Label:createWithSystemFont"); if(!ok) return 0; cocos2d::Label* ret = cocos2d::Label::createWithSystemFont(arg0, arg1, arg2); @@ -35261,10 +35261,10 @@ int lua_cocos2dx_Label_createWithSystemFont(lua_State* tolua_S) std::string arg1; double arg2; cocos2d::Size arg3; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); - ok &= luaval_to_number(tolua_S, 4,&arg2); - ok &= luaval_to_size(tolua_S, 5, &arg3); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Label:createWithSystemFont"); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "cc.Label:createWithSystemFont"); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.Label:createWithSystemFont"); + ok &= luaval_to_size(tolua_S, 5, &arg3, "cc.Label:createWithSystemFont"); if(!ok) return 0; cocos2d::Label* ret = cocos2d::Label::createWithSystemFont(arg0, arg1, arg2, arg3); @@ -35278,11 +35278,11 @@ int lua_cocos2dx_Label_createWithSystemFont(lua_State* tolua_S) double arg2; cocos2d::Size arg3; cocos2d::TextHAlignment arg4; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); - ok &= luaval_to_number(tolua_S, 4,&arg2); - ok &= luaval_to_size(tolua_S, 5, &arg3); - ok &= luaval_to_int32(tolua_S, 6,(int *)&arg4); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Label:createWithSystemFont"); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "cc.Label:createWithSystemFont"); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.Label:createWithSystemFont"); + ok &= luaval_to_size(tolua_S, 5, &arg3, "cc.Label:createWithSystemFont"); + ok &= luaval_to_int32(tolua_S, 6,(int *)&arg4, "cc.Label:createWithSystemFont"); if(!ok) return 0; cocos2d::Label* ret = cocos2d::Label::createWithSystemFont(arg0, arg1, arg2, arg3, arg4); @@ -35297,19 +35297,19 @@ int lua_cocos2dx_Label_createWithSystemFont(lua_State* tolua_S) cocos2d::Size arg3; cocos2d::TextHAlignment arg4; cocos2d::TextVAlignment arg5; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); - ok &= luaval_to_number(tolua_S, 4,&arg2); - ok &= luaval_to_size(tolua_S, 5, &arg3); - ok &= luaval_to_int32(tolua_S, 6,(int *)&arg4); - ok &= luaval_to_int32(tolua_S, 7,(int *)&arg5); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Label:createWithSystemFont"); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "cc.Label:createWithSystemFont"); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.Label:createWithSystemFont"); + ok &= luaval_to_size(tolua_S, 5, &arg3, "cc.Label:createWithSystemFont"); + ok &= luaval_to_int32(tolua_S, 6,(int *)&arg4, "cc.Label:createWithSystemFont"); + ok &= luaval_to_int32(tolua_S, 7,(int *)&arg5, "cc.Label:createWithSystemFont"); if(!ok) return 0; cocos2d::Label* ret = cocos2d::Label::createWithSystemFont(arg0, arg1, arg2, arg3, arg4, arg5); object_to_luaval(tolua_S, "cc.Label",(cocos2d::Label*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createWithSystemFont",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Label:createWithSystemFont",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -35406,7 +35406,7 @@ int lua_cocos2dx_Layer_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Layer",(cocos2d::Layer*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Layer:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -35465,15 +35465,15 @@ int lua_cocos2dx_LayerColor_changeWidthAndHeight(lua_State* tolua_S) double arg0; double arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.LayerColor:changeWidthAndHeight"); - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.LayerColor:changeWidthAndHeight"); if(!ok) return 0; cobj->changeWidthAndHeight(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "changeWidthAndHeight",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.LayerColor:changeWidthAndHeight",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -35513,13 +35513,13 @@ int lua_cocos2dx_LayerColor_changeHeight(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.LayerColor:changeHeight"); if(!ok) return 0; cobj->changeHeight(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "changeHeight",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.LayerColor:changeHeight",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -35559,13 +35559,13 @@ int lua_cocos2dx_LayerColor_changeWidth(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.LayerColor:changeWidth"); if(!ok) return 0; cobj->changeWidth(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "changeWidth",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.LayerColor:changeWidth",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -35594,13 +35594,13 @@ int lua_cocos2dx_LayerColor_create(lua_State* tolua_S) if (argc == 3) { cocos2d::Color4B arg0; - ok &=luaval_to_color4b(tolua_S, 2, &arg0); + ok &=luaval_to_color4b(tolua_S, 2, &arg0, "cc.LayerColor:create"); if (!ok) { break; } double arg1; - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.LayerColor:create"); if (!ok) { break; } double arg2; - ok &= luaval_to_number(tolua_S, 4,&arg2); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.LayerColor:create"); if (!ok) { break; } cocos2d::LayerColor* ret = cocos2d::LayerColor::create(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.LayerColor",(cocos2d::LayerColor*)ret); @@ -35623,7 +35623,7 @@ int lua_cocos2dx_LayerColor_create(lua_State* tolua_S) if (argc == 1) { cocos2d::Color4B arg0; - ok &=luaval_to_color4b(tolua_S, 2, &arg0); + ok &=luaval_to_color4b(tolua_S, 2, &arg0, "cc.LayerColor:create"); if (!ok) { break; } cocos2d::LayerColor* ret = cocos2d::LayerColor::create(arg0); object_to_luaval(tolua_S, "cc.LayerColor",(cocos2d::LayerColor*)ret); @@ -35631,7 +35631,7 @@ int lua_cocos2dx_LayerColor_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.LayerColor:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -35696,7 +35696,7 @@ int lua_cocos2dx_LayerGradient_getStartColor(lua_State* tolua_S) color3b_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getStartColor",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.LayerGradient:getStartColor",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -35740,7 +35740,7 @@ int lua_cocos2dx_LayerGradient_isCompressedInterpolation(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isCompressedInterpolation",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.LayerGradient:isCompressedInterpolation",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -35784,7 +35784,7 @@ int lua_cocos2dx_LayerGradient_getStartOpacity(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getStartOpacity",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.LayerGradient:getStartOpacity",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -35824,13 +35824,13 @@ int lua_cocos2dx_LayerGradient_setVector(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.LayerGradient:setVector"); if(!ok) return 0; cobj->setVector(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setVector",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.LayerGradient:setVector",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -35870,13 +35870,13 @@ int lua_cocos2dx_LayerGradient_setStartOpacity(lua_State* tolua_S) { uint16_t arg0; - ok &= luaval_to_uint16(tolua_S, 2,&arg0); + ok &= luaval_to_uint16(tolua_S, 2,&arg0, "cc.LayerGradient:setStartOpacity"); if(!ok) return 0; cobj->setStartOpacity(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setStartOpacity",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.LayerGradient:setStartOpacity",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -35916,13 +35916,13 @@ int lua_cocos2dx_LayerGradient_setCompressedInterpolation(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.LayerGradient:setCompressedInterpolation"); if(!ok) return 0; cobj->setCompressedInterpolation(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setCompressedInterpolation",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.LayerGradient:setCompressedInterpolation",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -35962,13 +35962,13 @@ int lua_cocos2dx_LayerGradient_setEndOpacity(lua_State* tolua_S) { uint16_t arg0; - ok &= luaval_to_uint16(tolua_S, 2,&arg0); + ok &= luaval_to_uint16(tolua_S, 2,&arg0, "cc.LayerGradient:setEndOpacity"); if(!ok) return 0; cobj->setEndOpacity(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setEndOpacity",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.LayerGradient:setEndOpacity",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -36012,7 +36012,7 @@ int lua_cocos2dx_LayerGradient_getVector(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getVector",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.LayerGradient:getVector",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -36052,13 +36052,13 @@ int lua_cocos2dx_LayerGradient_setEndColor(lua_State* tolua_S) { cocos2d::Color3B arg0; - ok &= luaval_to_color3b(tolua_S, 2, &arg0); + ok &= luaval_to_color3b(tolua_S, 2, &arg0, "cc.LayerGradient:setEndColor"); if(!ok) return 0; cobj->setEndColor(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setEndColor",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.LayerGradient:setEndColor",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -36102,7 +36102,7 @@ int lua_cocos2dx_LayerGradient_getEndColor(lua_State* tolua_S) color3b_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getEndColor",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.LayerGradient:getEndColor",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -36146,7 +36146,7 @@ int lua_cocos2dx_LayerGradient_getEndOpacity(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getEndOpacity",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.LayerGradient:getEndOpacity",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -36186,13 +36186,13 @@ int lua_cocos2dx_LayerGradient_setStartColor(lua_State* tolua_S) { cocos2d::Color3B arg0; - ok &= luaval_to_color3b(tolua_S, 2, &arg0); + ok &= luaval_to_color3b(tolua_S, 2, &arg0, "cc.LayerGradient:setStartColor"); if(!ok) return 0; cobj->setStartColor(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setStartColor",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.LayerGradient:setStartColor",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -36221,10 +36221,10 @@ int lua_cocos2dx_LayerGradient_create(lua_State* tolua_S) if (argc == 2) { cocos2d::Color4B arg0; - ok &=luaval_to_color4b(tolua_S, 2, &arg0); + ok &=luaval_to_color4b(tolua_S, 2, &arg0, "cc.LayerGradient:create"); if (!ok) { break; } cocos2d::Color4B arg1; - ok &=luaval_to_color4b(tolua_S, 3, &arg1); + ok &=luaval_to_color4b(tolua_S, 3, &arg1, "cc.LayerGradient:create"); if (!ok) { break; } cocos2d::LayerGradient* ret = cocos2d::LayerGradient::create(arg0, arg1); object_to_luaval(tolua_S, "cc.LayerGradient",(cocos2d::LayerGradient*)ret); @@ -36247,13 +36247,13 @@ int lua_cocos2dx_LayerGradient_create(lua_State* tolua_S) if (argc == 3) { cocos2d::Color4B arg0; - ok &=luaval_to_color4b(tolua_S, 2, &arg0); + ok &=luaval_to_color4b(tolua_S, 2, &arg0, "cc.LayerGradient:create"); if (!ok) { break; } cocos2d::Color4B arg1; - ok &=luaval_to_color4b(tolua_S, 3, &arg1); + ok &=luaval_to_color4b(tolua_S, 3, &arg1, "cc.LayerGradient:create"); if (!ok) { break; } cocos2d::Vec2 arg2; - ok &= luaval_to_vec2(tolua_S, 4, &arg2); + ok &= luaval_to_vec2(tolua_S, 4, &arg2, "cc.LayerGradient:create"); if (!ok) { break; } cocos2d::LayerGradient* ret = cocos2d::LayerGradient::create(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.LayerGradient",(cocos2d::LayerGradient*)ret); @@ -36261,7 +36261,7 @@ int lua_cocos2dx_LayerGradient_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.LayerGradient:create",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -36331,13 +36331,13 @@ int lua_cocos2dx_LayerMultiplex_switchToAndReleaseMe(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.LayerMultiplex:switchToAndReleaseMe"); if(!ok) return 0; cobj->switchToAndReleaseMe(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "switchToAndReleaseMe",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.LayerMultiplex:switchToAndReleaseMe",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -36383,7 +36383,7 @@ int lua_cocos2dx_LayerMultiplex_addLayer(lua_State* tolua_S) cobj->addLayer(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addLayer",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.LayerMultiplex:addLayer",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -36423,13 +36423,13 @@ int lua_cocos2dx_LayerMultiplex_switchTo(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.LayerMultiplex:switchTo"); if(!ok) return 0; cobj->switchTo(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "switchTo",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.LayerMultiplex:switchTo",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -36498,7 +36498,7 @@ int lua_cocos2dx_TransitionEaseScene_easeActionWithAction(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.ActionInterval",(cocos2d::ActionInterval*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "easeActionWithAction",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TransitionEaseScene:easeActionWithAction",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -36561,7 +36561,7 @@ int lua_cocos2dx_TransitionScene_finish(lua_State* tolua_S) cobj->finish(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "finish",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TransitionScene:finish",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -36604,7 +36604,7 @@ int lua_cocos2dx_TransitionScene_hideOutShowIn(lua_State* tolua_S) cobj->hideOutShowIn(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "hideOutShowIn",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TransitionScene:hideOutShowIn",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -36633,7 +36633,7 @@ int lua_cocos2dx_TransitionScene_create(lua_State* tolua_S) { double arg0; cocos2d::Scene* arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionScene:create"); ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); if(!ok) return 0; @@ -36641,7 +36641,7 @@ int lua_cocos2dx_TransitionScene_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.TransitionScene",(cocos2d::TransitionScene*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.TransitionScene:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -36691,16 +36691,16 @@ int lua_cocos2dx_TransitionSceneOriented_create(lua_State* tolua_S) double arg0; cocos2d::Scene* arg1; cocos2d::TransitionScene::Orientation arg2; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionSceneOriented:create"); ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "cc.TransitionSceneOriented:create"); if(!ok) return 0; cocos2d::TransitionSceneOriented* ret = cocos2d::TransitionSceneOriented::create(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.TransitionSceneOriented",(cocos2d::TransitionSceneOriented*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.TransitionSceneOriented:create",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -36747,7 +36747,7 @@ int lua_cocos2dx_TransitionRotoZoom_create(lua_State* tolua_S) { double arg0; cocos2d::Scene* arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionRotoZoom:create"); ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); if(!ok) return 0; @@ -36755,7 +36755,7 @@ int lua_cocos2dx_TransitionRotoZoom_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.TransitionRotoZoom",(cocos2d::TransitionRotoZoom*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.TransitionRotoZoom:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -36802,7 +36802,7 @@ int lua_cocos2dx_TransitionJumpZoom_create(lua_State* tolua_S) { double arg0; cocos2d::Scene* arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionJumpZoom:create"); ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); if(!ok) return 0; @@ -36810,7 +36810,7 @@ int lua_cocos2dx_TransitionJumpZoom_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.TransitionJumpZoom",(cocos2d::TransitionJumpZoom*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.TransitionJumpZoom:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -36872,7 +36872,7 @@ int lua_cocos2dx_TransitionMoveInL_action(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.ActionInterval",(cocos2d::ActionInterval*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "action",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TransitionMoveInL:action",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -36919,7 +36919,7 @@ int lua_cocos2dx_TransitionMoveInL_easeActionWithAction(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.ActionInterval",(cocos2d::ActionInterval*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "easeActionWithAction",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TransitionMoveInL:easeActionWithAction",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -36948,7 +36948,7 @@ int lua_cocos2dx_TransitionMoveInL_create(lua_State* tolua_S) { double arg0; cocos2d::Scene* arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionMoveInL:create"); ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); if(!ok) return 0; @@ -36956,7 +36956,7 @@ int lua_cocos2dx_TransitionMoveInL_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.TransitionMoveInL",(cocos2d::TransitionMoveInL*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.TransitionMoveInL:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -37005,7 +37005,7 @@ int lua_cocos2dx_TransitionMoveInR_create(lua_State* tolua_S) { double arg0; cocos2d::Scene* arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionMoveInR:create"); ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); if(!ok) return 0; @@ -37013,7 +37013,7 @@ int lua_cocos2dx_TransitionMoveInR_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.TransitionMoveInR",(cocos2d::TransitionMoveInR*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.TransitionMoveInR:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -37060,7 +37060,7 @@ int lua_cocos2dx_TransitionMoveInT_create(lua_State* tolua_S) { double arg0; cocos2d::Scene* arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionMoveInT:create"); ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); if(!ok) return 0; @@ -37068,7 +37068,7 @@ int lua_cocos2dx_TransitionMoveInT_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.TransitionMoveInT",(cocos2d::TransitionMoveInT*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.TransitionMoveInT:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -37115,7 +37115,7 @@ int lua_cocos2dx_TransitionMoveInB_create(lua_State* tolua_S) { double arg0; cocos2d::Scene* arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionMoveInB:create"); ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); if(!ok) return 0; @@ -37123,7 +37123,7 @@ int lua_cocos2dx_TransitionMoveInB_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.TransitionMoveInB",(cocos2d::TransitionMoveInB*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.TransitionMoveInB:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -37185,7 +37185,7 @@ int lua_cocos2dx_TransitionSlideInL_action(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.ActionInterval",(cocos2d::ActionInterval*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "action",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TransitionSlideInL:action",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -37232,7 +37232,7 @@ int lua_cocos2dx_TransitionSlideInL_easeActionWithAction(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.ActionInterval",(cocos2d::ActionInterval*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "easeActionWithAction",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TransitionSlideInL:easeActionWithAction",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -37261,7 +37261,7 @@ int lua_cocos2dx_TransitionSlideInL_create(lua_State* tolua_S) { double arg0; cocos2d::Scene* arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionSlideInL:create"); ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); if(!ok) return 0; @@ -37269,7 +37269,7 @@ int lua_cocos2dx_TransitionSlideInL_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.TransitionSlideInL",(cocos2d::TransitionSlideInL*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.TransitionSlideInL:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -37333,7 +37333,7 @@ int lua_cocos2dx_TransitionSlideInR_action(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.ActionInterval",(cocos2d::ActionInterval*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "action",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TransitionSlideInR:action",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -37362,7 +37362,7 @@ int lua_cocos2dx_TransitionSlideInR_create(lua_State* tolua_S) { double arg0; cocos2d::Scene* arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionSlideInR:create"); ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); if(!ok) return 0; @@ -37370,7 +37370,7 @@ int lua_cocos2dx_TransitionSlideInR_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.TransitionSlideInR",(cocos2d::TransitionSlideInR*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.TransitionSlideInR:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -37433,7 +37433,7 @@ int lua_cocos2dx_TransitionSlideInB_action(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.ActionInterval",(cocos2d::ActionInterval*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "action",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TransitionSlideInB:action",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -37462,7 +37462,7 @@ int lua_cocos2dx_TransitionSlideInB_create(lua_State* tolua_S) { double arg0; cocos2d::Scene* arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionSlideInB:create"); ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); if(!ok) return 0; @@ -37470,7 +37470,7 @@ int lua_cocos2dx_TransitionSlideInB_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.TransitionSlideInB",(cocos2d::TransitionSlideInB*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.TransitionSlideInB:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -37533,7 +37533,7 @@ int lua_cocos2dx_TransitionSlideInT_action(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.ActionInterval",(cocos2d::ActionInterval*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "action",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TransitionSlideInT:action",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -37562,7 +37562,7 @@ int lua_cocos2dx_TransitionSlideInT_create(lua_State* tolua_S) { double arg0; cocos2d::Scene* arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionSlideInT:create"); ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); if(!ok) return 0; @@ -37570,7 +37570,7 @@ int lua_cocos2dx_TransitionSlideInT_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.TransitionSlideInT",(cocos2d::TransitionSlideInT*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.TransitionSlideInT:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -37636,7 +37636,7 @@ int lua_cocos2dx_TransitionShrinkGrow_easeActionWithAction(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.ActionInterval",(cocos2d::ActionInterval*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "easeActionWithAction",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TransitionShrinkGrow:easeActionWithAction",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -37665,7 +37665,7 @@ int lua_cocos2dx_TransitionShrinkGrow_create(lua_State* tolua_S) { double arg0; cocos2d::Scene* arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionShrinkGrow:create"); ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); if(!ok) return 0; @@ -37673,7 +37673,7 @@ int lua_cocos2dx_TransitionShrinkGrow_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.TransitionShrinkGrow",(cocos2d::TransitionShrinkGrow*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.TransitionShrinkGrow:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -37721,7 +37721,7 @@ int lua_cocos2dx_TransitionFlipX_create(lua_State* tolua_S) if (argc == 2) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionFlipX:create"); if (!ok) { break; } cocos2d::Scene* arg1; ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); @@ -37737,13 +37737,13 @@ int lua_cocos2dx_TransitionFlipX_create(lua_State* tolua_S) if (argc == 3) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionFlipX:create"); if (!ok) { break; } cocos2d::Scene* arg1; ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); if (!ok) { break; } cocos2d::TransitionScene::Orientation arg2; - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "cc.TransitionFlipX:create"); if (!ok) { break; } cocos2d::TransitionFlipX* ret = cocos2d::TransitionFlipX::create(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.TransitionFlipX",(cocos2d::TransitionFlipX*)ret); @@ -37751,7 +37751,7 @@ int lua_cocos2dx_TransitionFlipX_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.TransitionFlipX:create",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -37798,7 +37798,7 @@ int lua_cocos2dx_TransitionFlipY_create(lua_State* tolua_S) if (argc == 2) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionFlipY:create"); if (!ok) { break; } cocos2d::Scene* arg1; ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); @@ -37814,13 +37814,13 @@ int lua_cocos2dx_TransitionFlipY_create(lua_State* tolua_S) if (argc == 3) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionFlipY:create"); if (!ok) { break; } cocos2d::Scene* arg1; ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); if (!ok) { break; } cocos2d::TransitionScene::Orientation arg2; - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "cc.TransitionFlipY:create"); if (!ok) { break; } cocos2d::TransitionFlipY* ret = cocos2d::TransitionFlipY::create(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.TransitionFlipY",(cocos2d::TransitionFlipY*)ret); @@ -37828,7 +37828,7 @@ int lua_cocos2dx_TransitionFlipY_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.TransitionFlipY:create",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -37875,7 +37875,7 @@ int lua_cocos2dx_TransitionFlipAngular_create(lua_State* tolua_S) if (argc == 2) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionFlipAngular:create"); if (!ok) { break; } cocos2d::Scene* arg1; ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); @@ -37891,13 +37891,13 @@ int lua_cocos2dx_TransitionFlipAngular_create(lua_State* tolua_S) if (argc == 3) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionFlipAngular:create"); if (!ok) { break; } cocos2d::Scene* arg1; ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); if (!ok) { break; } cocos2d::TransitionScene::Orientation arg2; - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "cc.TransitionFlipAngular:create"); if (!ok) { break; } cocos2d::TransitionFlipAngular* ret = cocos2d::TransitionFlipAngular::create(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.TransitionFlipAngular",(cocos2d::TransitionFlipAngular*)ret); @@ -37905,7 +37905,7 @@ int lua_cocos2dx_TransitionFlipAngular_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.TransitionFlipAngular:create",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -37952,7 +37952,7 @@ int lua_cocos2dx_TransitionZoomFlipX_create(lua_State* tolua_S) if (argc == 2) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionZoomFlipX:create"); if (!ok) { break; } cocos2d::Scene* arg1; ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); @@ -37968,13 +37968,13 @@ int lua_cocos2dx_TransitionZoomFlipX_create(lua_State* tolua_S) if (argc == 3) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionZoomFlipX:create"); if (!ok) { break; } cocos2d::Scene* arg1; ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); if (!ok) { break; } cocos2d::TransitionScene::Orientation arg2; - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "cc.TransitionZoomFlipX:create"); if (!ok) { break; } cocos2d::TransitionZoomFlipX* ret = cocos2d::TransitionZoomFlipX::create(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.TransitionZoomFlipX",(cocos2d::TransitionZoomFlipX*)ret); @@ -37982,7 +37982,7 @@ int lua_cocos2dx_TransitionZoomFlipX_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.TransitionZoomFlipX:create",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -38029,7 +38029,7 @@ int lua_cocos2dx_TransitionZoomFlipY_create(lua_State* tolua_S) if (argc == 2) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionZoomFlipY:create"); if (!ok) { break; } cocos2d::Scene* arg1; ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); @@ -38045,13 +38045,13 @@ int lua_cocos2dx_TransitionZoomFlipY_create(lua_State* tolua_S) if (argc == 3) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionZoomFlipY:create"); if (!ok) { break; } cocos2d::Scene* arg1; ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); if (!ok) { break; } cocos2d::TransitionScene::Orientation arg2; - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "cc.TransitionZoomFlipY:create"); if (!ok) { break; } cocos2d::TransitionZoomFlipY* ret = cocos2d::TransitionZoomFlipY::create(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.TransitionZoomFlipY",(cocos2d::TransitionZoomFlipY*)ret); @@ -38059,7 +38059,7 @@ int lua_cocos2dx_TransitionZoomFlipY_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.TransitionZoomFlipY:create",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -38106,7 +38106,7 @@ int lua_cocos2dx_TransitionZoomFlipAngular_create(lua_State* tolua_S) if (argc == 2) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionZoomFlipAngular:create"); if (!ok) { break; } cocos2d::Scene* arg1; ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); @@ -38122,13 +38122,13 @@ int lua_cocos2dx_TransitionZoomFlipAngular_create(lua_State* tolua_S) if (argc == 3) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionZoomFlipAngular:create"); if (!ok) { break; } cocos2d::Scene* arg1; ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); if (!ok) { break; } cocos2d::TransitionScene::Orientation arg2; - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "cc.TransitionZoomFlipAngular:create"); if (!ok) { break; } cocos2d::TransitionZoomFlipAngular* ret = cocos2d::TransitionZoomFlipAngular::create(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.TransitionZoomFlipAngular",(cocos2d::TransitionZoomFlipAngular*)ret); @@ -38136,7 +38136,7 @@ int lua_cocos2dx_TransitionZoomFlipAngular_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.TransitionZoomFlipAngular:create",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -38183,7 +38183,7 @@ int lua_cocos2dx_TransitionFade_create(lua_State* tolua_S) if (argc == 2) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionFade:create"); if (!ok) { break; } cocos2d::Scene* arg1; ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); @@ -38199,13 +38199,13 @@ int lua_cocos2dx_TransitionFade_create(lua_State* tolua_S) if (argc == 3) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionFade:create"); if (!ok) { break; } cocos2d::Scene* arg1; ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); if (!ok) { break; } cocos2d::Color3B arg2; - ok &= luaval_to_color3b(tolua_S, 4, &arg2); + ok &= luaval_to_color3b(tolua_S, 4, &arg2, "cc.TransitionFade:create"); if (!ok) { break; } cocos2d::TransitionFade* ret = cocos2d::TransitionFade::create(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.TransitionFade",(cocos2d::TransitionFade*)ret); @@ -38213,7 +38213,7 @@ int lua_cocos2dx_TransitionFade_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.TransitionFade:create",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -38260,7 +38260,7 @@ int lua_cocos2dx_TransitionCrossFade_create(lua_State* tolua_S) { double arg0; cocos2d::Scene* arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionCrossFade:create"); ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); if(!ok) return 0; @@ -38268,7 +38268,7 @@ int lua_cocos2dx_TransitionCrossFade_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.TransitionCrossFade",(cocos2d::TransitionCrossFade*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.TransitionCrossFade:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -38333,7 +38333,7 @@ int lua_cocos2dx_TransitionTurnOffTiles_easeActionWithAction(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.ActionInterval",(cocos2d::ActionInterval*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "easeActionWithAction",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TransitionTurnOffTiles:easeActionWithAction",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -38362,7 +38362,7 @@ int lua_cocos2dx_TransitionTurnOffTiles_create(lua_State* tolua_S) { double arg0; cocos2d::Scene* arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionTurnOffTiles:create"); ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); if(!ok) return 0; @@ -38370,7 +38370,7 @@ int lua_cocos2dx_TransitionTurnOffTiles_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.TransitionTurnOffTiles",(cocos2d::TransitionTurnOffTiles*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.TransitionTurnOffTiles:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -38433,7 +38433,7 @@ int lua_cocos2dx_TransitionSplitCols_action(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.ActionInterval",(cocos2d::ActionInterval*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "action",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TransitionSplitCols:action",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -38480,7 +38480,7 @@ int lua_cocos2dx_TransitionSplitCols_easeActionWithAction(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.ActionInterval",(cocos2d::ActionInterval*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "easeActionWithAction",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TransitionSplitCols:easeActionWithAction",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -38509,7 +38509,7 @@ int lua_cocos2dx_TransitionSplitCols_create(lua_State* tolua_S) { double arg0; cocos2d::Scene* arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionSplitCols:create"); ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); if(!ok) return 0; @@ -38517,7 +38517,7 @@ int lua_cocos2dx_TransitionSplitCols_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.TransitionSplitCols",(cocos2d::TransitionSplitCols*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.TransitionSplitCols:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -38566,7 +38566,7 @@ int lua_cocos2dx_TransitionSplitRows_create(lua_State* tolua_S) { double arg0; cocos2d::Scene* arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionSplitRows:create"); ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); if(!ok) return 0; @@ -38574,7 +38574,7 @@ int lua_cocos2dx_TransitionSplitRows_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.TransitionSplitRows",(cocos2d::TransitionSplitRows*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.TransitionSplitRows:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -38639,7 +38639,7 @@ int lua_cocos2dx_TransitionFadeTR_easeActionWithAction(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.ActionInterval",(cocos2d::ActionInterval*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "easeActionWithAction",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TransitionFadeTR:easeActionWithAction",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -38679,14 +38679,14 @@ int lua_cocos2dx_TransitionFadeTR_actionWithSize(lua_State* tolua_S) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.TransitionFadeTR:actionWithSize"); if(!ok) return 0; cocos2d::ActionInterval* ret = cobj->actionWithSize(arg0); object_to_luaval(tolua_S, "cc.ActionInterval",(cocos2d::ActionInterval*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "actionWithSize",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TransitionFadeTR:actionWithSize",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -38715,7 +38715,7 @@ int lua_cocos2dx_TransitionFadeTR_create(lua_State* tolua_S) { double arg0; cocos2d::Scene* arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionFadeTR:create"); ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); if(!ok) return 0; @@ -38723,7 +38723,7 @@ int lua_cocos2dx_TransitionFadeTR_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.TransitionFadeTR",(cocos2d::TransitionFadeTR*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.TransitionFadeTR:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -38772,7 +38772,7 @@ int lua_cocos2dx_TransitionFadeBL_create(lua_State* tolua_S) { double arg0; cocos2d::Scene* arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionFadeBL:create"); ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); if(!ok) return 0; @@ -38780,7 +38780,7 @@ int lua_cocos2dx_TransitionFadeBL_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.TransitionFadeBL",(cocos2d::TransitionFadeBL*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.TransitionFadeBL:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -38827,7 +38827,7 @@ int lua_cocos2dx_TransitionFadeUp_create(lua_State* tolua_S) { double arg0; cocos2d::Scene* arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionFadeUp:create"); ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); if(!ok) return 0; @@ -38835,7 +38835,7 @@ int lua_cocos2dx_TransitionFadeUp_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.TransitionFadeUp",(cocos2d::TransitionFadeUp*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.TransitionFadeUp:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -38882,7 +38882,7 @@ int lua_cocos2dx_TransitionFadeDown_create(lua_State* tolua_S) { double arg0; cocos2d::Scene* arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionFadeDown:create"); ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); if(!ok) return 0; @@ -38890,7 +38890,7 @@ int lua_cocos2dx_TransitionFadeDown_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.TransitionFadeDown",(cocos2d::TransitionFadeDown*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.TransitionFadeDown:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -38948,14 +38948,14 @@ int lua_cocos2dx_TransitionPageTurn_actionWithSize(lua_State* tolua_S) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.TransitionPageTurn:actionWithSize"); if(!ok) return 0; cocos2d::ActionInterval* ret = cobj->actionWithSize(arg0); object_to_luaval(tolua_S, "cc.ActionInterval",(cocos2d::ActionInterval*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "actionWithSize",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TransitionPageTurn:actionWithSize",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -38997,18 +38997,18 @@ int lua_cocos2dx_TransitionPageTurn_initWithDuration(lua_State* tolua_S) cocos2d::Scene* arg1; bool arg2; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionPageTurn:initWithDuration"); ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); - ok &= luaval_to_boolean(tolua_S, 4,&arg2); + ok &= luaval_to_boolean(tolua_S, 4,&arg2, "cc.TransitionPageTurn:initWithDuration"); if(!ok) return 0; bool ret = cobj->initWithDuration(arg0, arg1, arg2); tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "initWithDuration",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TransitionPageTurn:initWithDuration",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 @@ -39038,16 +39038,16 @@ int lua_cocos2dx_TransitionPageTurn_create(lua_State* tolua_S) double arg0; cocos2d::Scene* arg1; bool arg2; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionPageTurn:create"); ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); - ok &= luaval_to_boolean(tolua_S, 4,&arg2); + ok &= luaval_to_boolean(tolua_S, 4,&arg2, "cc.TransitionPageTurn:create"); if(!ok) return 0; cocos2d::TransitionPageTurn* ret = cocos2d::TransitionPageTurn::create(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.TransitionPageTurn",(cocos2d::TransitionPageTurn*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.TransitionPageTurn:create",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -39096,7 +39096,7 @@ int lua_cocos2dx_TransitionProgress_create(lua_State* tolua_S) { double arg0; cocos2d::Scene* arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionProgress:create"); ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); if(!ok) return 0; @@ -39104,7 +39104,7 @@ int lua_cocos2dx_TransitionProgress_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.TransitionProgress",(cocos2d::TransitionProgress*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.TransitionProgress:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -39151,7 +39151,7 @@ int lua_cocos2dx_TransitionProgressRadialCCW_create(lua_State* tolua_S) { double arg0; cocos2d::Scene* arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionProgressRadialCCW:create"); ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); if(!ok) return 0; @@ -39159,7 +39159,7 @@ int lua_cocos2dx_TransitionProgressRadialCCW_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.TransitionProgressRadialCCW",(cocos2d::TransitionProgressRadialCCW*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.TransitionProgressRadialCCW:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -39206,7 +39206,7 @@ int lua_cocos2dx_TransitionProgressRadialCW_create(lua_State* tolua_S) { double arg0; cocos2d::Scene* arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionProgressRadialCW:create"); ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); if(!ok) return 0; @@ -39214,7 +39214,7 @@ int lua_cocos2dx_TransitionProgressRadialCW_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.TransitionProgressRadialCW",(cocos2d::TransitionProgressRadialCW*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.TransitionProgressRadialCW:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -39261,7 +39261,7 @@ int lua_cocos2dx_TransitionProgressHorizontal_create(lua_State* tolua_S) { double arg0; cocos2d::Scene* arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionProgressHorizontal:create"); ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); if(!ok) return 0; @@ -39269,7 +39269,7 @@ int lua_cocos2dx_TransitionProgressHorizontal_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.TransitionProgressHorizontal",(cocos2d::TransitionProgressHorizontal*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.TransitionProgressHorizontal:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -39316,7 +39316,7 @@ int lua_cocos2dx_TransitionProgressVertical_create(lua_State* tolua_S) { double arg0; cocos2d::Scene* arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionProgressVertical:create"); ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); if(!ok) return 0; @@ -39324,7 +39324,7 @@ int lua_cocos2dx_TransitionProgressVertical_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.TransitionProgressVertical",(cocos2d::TransitionProgressVertical*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.TransitionProgressVertical:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -39371,7 +39371,7 @@ int lua_cocos2dx_TransitionProgressInOut_create(lua_State* tolua_S) { double arg0; cocos2d::Scene* arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionProgressInOut:create"); ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); if(!ok) return 0; @@ -39379,7 +39379,7 @@ int lua_cocos2dx_TransitionProgressInOut_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.TransitionProgressInOut",(cocos2d::TransitionProgressInOut*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.TransitionProgressInOut:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -39426,7 +39426,7 @@ int lua_cocos2dx_TransitionProgressOutIn_create(lua_State* tolua_S) { double arg0; cocos2d::Scene* arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.TransitionProgressOutIn:create"); ok &= luaval_to_object(tolua_S, 3, "cc.Scene",&arg1); if(!ok) return 0; @@ -39434,7 +39434,7 @@ int lua_cocos2dx_TransitionProgressOutIn_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.TransitionProgressOutIn",(cocos2d::TransitionProgressOutIn*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.TransitionProgressOutIn:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -39492,13 +39492,13 @@ int lua_cocos2dx_MenuItem_setEnabled(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.MenuItem:setEnabled"); if(!ok) return 0; cobj->setEnabled(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setEnabled",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.MenuItem:setEnabled",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -39541,7 +39541,7 @@ int lua_cocos2dx_MenuItem_activate(lua_State* tolua_S) cobj->activate(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "activate",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.MenuItem:activate",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -39585,7 +39585,7 @@ int lua_cocos2dx_MenuItem_isEnabled(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isEnabled",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.MenuItem:isEnabled",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -39628,7 +39628,7 @@ int lua_cocos2dx_MenuItem_selected(lua_State* tolua_S) cobj->selected(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "selected",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.MenuItem:selected",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -39672,7 +39672,7 @@ int lua_cocos2dx_MenuItem_isSelected(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isSelected",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.MenuItem:isSelected",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -39715,7 +39715,7 @@ int lua_cocos2dx_MenuItem_unselected(lua_State* tolua_S) cobj->unselected(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "unselected",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.MenuItem:unselected",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -39759,7 +39759,7 @@ int lua_cocos2dx_MenuItem_rect(lua_State* tolua_S) rect_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "rect",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.MenuItem:rect",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -39829,7 +39829,7 @@ int lua_cocos2dx_MenuItemLabel_getDisabledColor(lua_State* tolua_S) color3b_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDisabledColor",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.MenuItemLabel:getDisabledColor",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -39869,13 +39869,13 @@ int lua_cocos2dx_MenuItemLabel_setString(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.MenuItemLabel:setString"); if(!ok) return 0; cobj->setString(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setString",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.MenuItemLabel:setString",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -39921,7 +39921,7 @@ int lua_cocos2dx_MenuItemLabel_setLabel(lua_State* tolua_S) cobj->setLabel(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setLabel",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.MenuItemLabel:setLabel",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -39961,13 +39961,13 @@ int lua_cocos2dx_MenuItemLabel_setDisabledColor(lua_State* tolua_S) { cocos2d::Color3B arg0; - ok &= luaval_to_color3b(tolua_S, 2, &arg0); + ok &= luaval_to_color3b(tolua_S, 2, &arg0, "cc.MenuItemLabel:setDisabledColor"); if(!ok) return 0; cobj->setDisabledColor(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setDisabledColor",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.MenuItemLabel:setDisabledColor",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -40011,7 +40011,7 @@ int lua_cocos2dx_MenuItemLabel_getLabel(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Node",(cocos2d::Node*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getLabel",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.MenuItemLabel:getLabel",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -40098,7 +40098,7 @@ int lua_cocos2dx_MenuItemFont_getFontSizeObj(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getFontSizeObj",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.MenuItemFont:getFontSizeObj",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -40142,7 +40142,7 @@ int lua_cocos2dx_MenuItemFont_getFontNameObj(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getFontNameObj",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.MenuItemFont:getFontNameObj",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -40182,13 +40182,13 @@ int lua_cocos2dx_MenuItemFont_setFontSizeObj(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.MenuItemFont:setFontSizeObj"); if(!ok) return 0; cobj->setFontSizeObj(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setFontSizeObj",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.MenuItemFont:setFontSizeObj",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -40228,13 +40228,13 @@ int lua_cocos2dx_MenuItemFont_setFontNameObj(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.MenuItemFont:setFontNameObj"); if(!ok) return 0; cobj->setFontNameObj(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setFontNameObj",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.MenuItemFont:setFontNameObj",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -40262,13 +40262,13 @@ int lua_cocos2dx_MenuItemFont_setFontName(lua_State* tolua_S) if (argc == 1) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.MenuItemFont:setFontName"); if(!ok) return 0; cocos2d::MenuItemFont::setFontName(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "setFontName",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.MenuItemFont:setFontName",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -40299,7 +40299,7 @@ int lua_cocos2dx_MenuItemFont_getFontSize(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "getFontSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.MenuItemFont:getFontSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -40330,7 +40330,7 @@ int lua_cocos2dx_MenuItemFont_getFontName(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "getFontName",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.MenuItemFont:getFontName",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -40356,13 +40356,13 @@ int lua_cocos2dx_MenuItemFont_setFontSize(lua_State* tolua_S) if (argc == 1) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.MenuItemFont:setFontSize"); if(!ok) return 0; cocos2d::MenuItemFont::setFontSize(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "setFontSize",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.MenuItemFont:setFontSize",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -40427,13 +40427,13 @@ int lua_cocos2dx_MenuItemSprite_setEnabled(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.MenuItemSprite:setEnabled"); if(!ok) return 0; cobj->setEnabled(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setEnabled",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.MenuItemSprite:setEnabled",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -40476,7 +40476,7 @@ int lua_cocos2dx_MenuItemSprite_selected(lua_State* tolua_S) cobj->selected(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "selected",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.MenuItemSprite:selected",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -40522,7 +40522,7 @@ int lua_cocos2dx_MenuItemSprite_setNormalImage(lua_State* tolua_S) cobj->setNormalImage(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setNormalImage",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.MenuItemSprite:setNormalImage",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -40568,7 +40568,7 @@ int lua_cocos2dx_MenuItemSprite_setDisabledImage(lua_State* tolua_S) cobj->setDisabledImage(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setDisabledImage",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.MenuItemSprite:setDisabledImage",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -40614,7 +40614,7 @@ int lua_cocos2dx_MenuItemSprite_setSelectedImage(lua_State* tolua_S) cobj->setSelectedImage(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setSelectedImage",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.MenuItemSprite:setSelectedImage",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -40658,7 +40658,7 @@ int lua_cocos2dx_MenuItemSprite_getDisabledImage(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Node",(cocos2d::Node*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDisabledImage",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.MenuItemSprite:getDisabledImage",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -40702,7 +40702,7 @@ int lua_cocos2dx_MenuItemSprite_getSelectedImage(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Node",(cocos2d::Node*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getSelectedImage",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.MenuItemSprite:getSelectedImage",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -40746,7 +40746,7 @@ int lua_cocos2dx_MenuItemSprite_getNormalImage(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Node",(cocos2d::Node*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getNormalImage",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.MenuItemSprite:getNormalImage",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -40789,7 +40789,7 @@ int lua_cocos2dx_MenuItemSprite_unselected(lua_State* tolua_S) cobj->unselected(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "unselected",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.MenuItemSprite:unselected",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -40863,7 +40863,7 @@ int lua_cocos2dx_MenuItemImage_setDisabledSpriteFrame(lua_State* tolua_S) cobj->setDisabledSpriteFrame(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setDisabledSpriteFrame",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.MenuItemImage:setDisabledSpriteFrame",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -40909,7 +40909,7 @@ int lua_cocos2dx_MenuItemImage_setSelectedSpriteFrame(lua_State* tolua_S) cobj->setSelectedSpriteFrame(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setSelectedSpriteFrame",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.MenuItemImage:setSelectedSpriteFrame",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -40955,7 +40955,7 @@ int lua_cocos2dx_MenuItemImage_setNormalSpriteFrame(lua_State* tolua_S) cobj->setNormalSpriteFrame(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setNormalSpriteFrame",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.MenuItemImage:setNormalSpriteFrame",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -41017,13 +41017,13 @@ int lua_cocos2dx_MenuItemToggle_setSubItems(lua_State* tolua_S) { cocos2d::Vector arg0; - ok &= luaval_to_ccvector(tolua_S, 2, &arg0); + ok &= luaval_to_ccvector(tolua_S, 2, &arg0, "cc.MenuItemToggle:setSubItems"); if(!ok) return 0; cobj->setSubItems(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setSubItems",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.MenuItemToggle:setSubItems",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -41067,7 +41067,7 @@ int lua_cocos2dx_MenuItemToggle_getSelectedIndex(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getSelectedIndex",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.MenuItemToggle:getSelectedIndex",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -41113,7 +41113,7 @@ int lua_cocos2dx_MenuItemToggle_addSubItem(lua_State* tolua_S) cobj->addSubItem(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addSubItem",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.MenuItemToggle:addSubItem",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -41157,7 +41157,7 @@ int lua_cocos2dx_MenuItemToggle_getSelectedItem(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.MenuItem",(cocos2d::MenuItem*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getSelectedItem",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.MenuItemToggle:getSelectedItem",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -41197,13 +41197,13 @@ int lua_cocos2dx_MenuItemToggle_setSelectedIndex(lua_State* tolua_S) { unsigned int arg0; - ok &= luaval_to_uint32(tolua_S, 2,&arg0); + ok &= luaval_to_uint32(tolua_S, 2,&arg0, "cc.MenuItemToggle:setSelectedIndex"); if(!ok) return 0; cobj->setSelectedIndex(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setSelectedIndex",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.MenuItemToggle:setSelectedIndex",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -41267,13 +41267,13 @@ int lua_cocos2dx_Menu_setEnabled(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.Menu:setEnabled"); if(!ok) return 0; cobj->setEnabled(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setEnabled",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Menu:setEnabled",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -41316,7 +41316,7 @@ int lua_cocos2dx_Menu_alignItemsVertically(lua_State* tolua_S) cobj->alignItemsVertically(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "alignItemsVertically",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Menu:alignItemsVertically",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -41360,7 +41360,7 @@ int lua_cocos2dx_Menu_isEnabled(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isEnabled",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Menu:isEnabled",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -41400,13 +41400,13 @@ int lua_cocos2dx_Menu_alignItemsHorizontallyWithPadding(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Menu:alignItemsHorizontallyWithPadding"); if(!ok) return 0; cobj->alignItemsHorizontallyWithPadding(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "alignItemsHorizontallyWithPadding",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Menu:alignItemsHorizontallyWithPadding",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -41446,13 +41446,13 @@ int lua_cocos2dx_Menu_alignItemsVerticallyWithPadding(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Menu:alignItemsVerticallyWithPadding"); if(!ok) return 0; cobj->alignItemsVerticallyWithPadding(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "alignItemsVerticallyWithPadding",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Menu:alignItemsVerticallyWithPadding",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -41495,7 +41495,7 @@ int lua_cocos2dx_Menu_alignItemsHorizontally(lua_State* tolua_S) cobj->alignItemsHorizontally(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "alignItemsHorizontally",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Menu:alignItemsHorizontally",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -41564,7 +41564,7 @@ int lua_cocos2dx_ClippingNode_isInverted(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isInverted",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ClippingNode:isInverted",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -41604,13 +41604,13 @@ int lua_cocos2dx_ClippingNode_setInverted(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.ClippingNode:setInverted"); if(!ok) return 0; cobj->setInverted(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setInverted",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ClippingNode:setInverted",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -41656,7 +41656,7 @@ int lua_cocos2dx_ClippingNode_setStencil(lua_State* tolua_S) cobj->setStencil(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setStencil",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ClippingNode:setStencil",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -41700,7 +41700,7 @@ int lua_cocos2dx_ClippingNode_getAlphaThreshold(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAlphaThreshold",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ClippingNode:getAlphaThreshold",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -41744,7 +41744,7 @@ int lua_cocos2dx_ClippingNode_getStencil(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Node",(cocos2d::Node*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getStencil",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ClippingNode:getStencil",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -41784,13 +41784,13 @@ int lua_cocos2dx_ClippingNode_setAlphaThreshold(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ClippingNode:setAlphaThreshold"); if(!ok) return 0; cobj->setAlphaThreshold(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAlphaThreshold",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ClippingNode:setAlphaThreshold",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -41837,7 +41837,7 @@ int lua_cocos2dx_ClippingNode_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.ClippingNode:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -41904,7 +41904,7 @@ int lua_cocos2dx_MotionStreak_reset(lua_State* tolua_S) cobj->reset(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "reset",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.MotionStreak:reset",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -41950,7 +41950,7 @@ int lua_cocos2dx_MotionStreak_setTexture(lua_State* tolua_S) cobj->setTexture(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTexture",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.MotionStreak:setTexture",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -41994,7 +41994,7 @@ int lua_cocos2dx_MotionStreak_getTexture(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Texture2D",(cocos2d::Texture2D*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTexture",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.MotionStreak:getTexture",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -42034,13 +42034,13 @@ int lua_cocos2dx_MotionStreak_tintWithColor(lua_State* tolua_S) { cocos2d::Color3B arg0; - ok &= luaval_to_color3b(tolua_S, 2, &arg0); + ok &= luaval_to_color3b(tolua_S, 2, &arg0, "cc.MotionStreak:tintWithColor"); if(!ok) return 0; cobj->tintWithColor(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "tintWithColor",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.MotionStreak:tintWithColor",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -42080,13 +42080,13 @@ int lua_cocos2dx_MotionStreak_setStartingPositionInitialized(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.MotionStreak:setStartingPositionInitialized"); if(!ok) return 0; cobj->setStartingPositionInitialized(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setStartingPositionInitialized",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.MotionStreak:setStartingPositionInitialized",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -42130,7 +42130,7 @@ int lua_cocos2dx_MotionStreak_isStartingPositionInitialized(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isStartingPositionInitialized",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.MotionStreak:isStartingPositionInitialized",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -42174,7 +42174,7 @@ int lua_cocos2dx_MotionStreak_isFastMode(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isFastMode",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.MotionStreak:isFastMode",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -42214,13 +42214,13 @@ int lua_cocos2dx_MotionStreak_setFastMode(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.MotionStreak:setFastMode"); if(!ok) return 0; cobj->setFastMode(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setFastMode",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.MotionStreak:setFastMode",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -42249,16 +42249,16 @@ int lua_cocos2dx_MotionStreak_create(lua_State* tolua_S) if (argc == 5) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.MotionStreak:create"); if (!ok) { break; } double arg1; - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.MotionStreak:create"); if (!ok) { break; } double arg2; - ok &= luaval_to_number(tolua_S, 4,&arg2); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.MotionStreak:create"); if (!ok) { break; } cocos2d::Color3B arg3; - ok &= luaval_to_color3b(tolua_S, 5, &arg3); + ok &= luaval_to_color3b(tolua_S, 5, &arg3, "cc.MotionStreak:create"); if (!ok) { break; } cocos2d::Texture2D* arg4; ok &= luaval_to_object(tolua_S, 6, "cc.Texture2D",&arg4); @@ -42274,19 +42274,19 @@ int lua_cocos2dx_MotionStreak_create(lua_State* tolua_S) if (argc == 5) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.MotionStreak:create"); if (!ok) { break; } double arg1; - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.MotionStreak:create"); if (!ok) { break; } double arg2; - ok &= luaval_to_number(tolua_S, 4,&arg2); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.MotionStreak:create"); if (!ok) { break; } cocos2d::Color3B arg3; - ok &= luaval_to_color3b(tolua_S, 5, &arg3); + ok &= luaval_to_color3b(tolua_S, 5, &arg3, "cc.MotionStreak:create"); if (!ok) { break; } std::string arg4; - ok &= luaval_to_std_string(tolua_S, 6,&arg4); + ok &= luaval_to_std_string(tolua_S, 6,&arg4, "cc.MotionStreak:create"); if (!ok) { break; } cocos2d::MotionStreak* ret = cocos2d::MotionStreak::create(arg0, arg1, arg2, arg3, arg4); object_to_luaval(tolua_S, "cc.MotionStreak",(cocos2d::MotionStreak*)ret); @@ -42294,7 +42294,7 @@ int lua_cocos2dx_MotionStreak_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 5); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.MotionStreak:create",argc, 5); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -42365,7 +42365,7 @@ int lua_cocos2dx_Sprite_setSpriteFrame(lua_State* tolua_S) do{ if (argc == 1) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Sprite:setSpriteFrame"); if (!ok) { break; } cobj->setSpriteFrame(arg0); @@ -42373,7 +42373,7 @@ int lua_cocos2dx_Sprite_setSpriteFrame(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setSpriteFrame",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Sprite:setSpriteFrame",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -42418,7 +42418,7 @@ int lua_cocos2dx_Sprite_setTexture(lua_State* tolua_S) do{ if (argc == 1) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Sprite:setTexture"); if (!ok) { break; } cobj->setTexture(arg0); @@ -42426,7 +42426,7 @@ int lua_cocos2dx_Sprite_setTexture(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTexture",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Sprite:setTexture",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -42470,7 +42470,7 @@ int lua_cocos2dx_Sprite_getTexture(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Texture2D",(cocos2d::Texture2D*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTexture",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Sprite:getTexture",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -42510,13 +42510,13 @@ int lua_cocos2dx_Sprite_setFlippedY(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.Sprite:setFlippedY"); if(!ok) return 0; cobj->setFlippedY(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setFlippedY",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Sprite:setFlippedY",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -42556,13 +42556,13 @@ int lua_cocos2dx_Sprite_setFlippedX(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.Sprite:setFlippedX"); if(!ok) return 0; cobj->setFlippedX(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setFlippedX",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Sprite:setFlippedX",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -42606,7 +42606,7 @@ int lua_cocos2dx_Sprite_getBatchNode(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.SpriteBatchNode",(cocos2d::SpriteBatchNode*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBatchNode",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Sprite:getBatchNode",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -42650,7 +42650,7 @@ int lua_cocos2dx_Sprite_getOffsetPosition(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getOffsetPosition",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Sprite:getOffsetPosition",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -42690,13 +42690,13 @@ int lua_cocos2dx_Sprite_removeAllChildrenWithCleanup(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.Sprite:removeAllChildrenWithCleanup"); if(!ok) return 0; cobj->removeAllChildrenWithCleanup(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeAllChildrenWithCleanup",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Sprite:removeAllChildrenWithCleanup",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -42739,7 +42739,7 @@ int lua_cocos2dx_Sprite_updateTransform(lua_State* tolua_S) cobj->updateTransform(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "updateTransform",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Sprite:updateTransform",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -42773,15 +42773,15 @@ int lua_cocos2dx_Sprite_setTextureRect(lua_State* tolua_S) do{ if (argc == 3) { cocos2d::Rect arg0; - ok &= luaval_to_rect(tolua_S, 2, &arg0); + ok &= luaval_to_rect(tolua_S, 2, &arg0, "cc.Sprite:setTextureRect"); if (!ok) { break; } bool arg1; - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.Sprite:setTextureRect"); if (!ok) { break; } cocos2d::Size arg2; - ok &= luaval_to_size(tolua_S, 4, &arg2); + ok &= luaval_to_size(tolua_S, 4, &arg2, "cc.Sprite:setTextureRect"); if (!ok) { break; } cobj->setTextureRect(arg0, arg1, arg2); @@ -42792,7 +42792,7 @@ int lua_cocos2dx_Sprite_setTextureRect(lua_State* tolua_S) do{ if (argc == 1) { cocos2d::Rect arg0; - ok &= luaval_to_rect(tolua_S, 2, &arg0); + ok &= luaval_to_rect(tolua_S, 2, &arg0, "cc.Sprite:setTextureRect"); if (!ok) { break; } cobj->setTextureRect(arg0); @@ -42800,7 +42800,7 @@ int lua_cocos2dx_Sprite_setTextureRect(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTextureRect",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Sprite:setTextureRect",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -42847,7 +42847,7 @@ int lua_cocos2dx_Sprite_isFrameDisplayed(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isFrameDisplayed",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Sprite:isFrameDisplayed",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -42891,7 +42891,7 @@ int lua_cocos2dx_Sprite_getAtlasIndex(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAtlasIndex",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Sprite:getAtlasIndex",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -42937,7 +42937,7 @@ int lua_cocos2dx_Sprite_setBatchNode(lua_State* tolua_S) cobj->setBatchNode(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setBatchNode",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Sprite:setBatchNode",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -42978,15 +42978,15 @@ int lua_cocos2dx_Sprite_setDisplayFrameWithAnimationName(lua_State* tolua_S) std::string arg0; ssize_t arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Sprite:setDisplayFrameWithAnimationName"); - ok &= luaval_to_ssize(tolua_S, 3, &arg1); + ok &= luaval_to_ssize(tolua_S, 3, &arg1, "cc.Sprite:setDisplayFrameWithAnimationName"); if(!ok) return 0; cobj->setDisplayFrameWithAnimationName(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setDisplayFrameWithAnimationName",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Sprite:setDisplayFrameWithAnimationName",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -43032,7 +43032,7 @@ int lua_cocos2dx_Sprite_setTextureAtlas(lua_State* tolua_S) cobj->setTextureAtlas(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTextureAtlas",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Sprite:setTextureAtlas",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -43076,7 +43076,7 @@ int lua_cocos2dx_Sprite_getSpriteFrame(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.SpriteFrame",(cocos2d::SpriteFrame*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getSpriteFrame",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Sprite:getSpriteFrame",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -43120,7 +43120,7 @@ int lua_cocos2dx_Sprite_isDirty(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isDirty",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Sprite:isDirty",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -43160,13 +43160,13 @@ int lua_cocos2dx_Sprite_setAtlasIndex(lua_State* tolua_S) { ssize_t arg0; - ok &= luaval_to_ssize(tolua_S, 2, &arg0); + ok &= luaval_to_ssize(tolua_S, 2, &arg0, "cc.Sprite:setAtlasIndex"); if(!ok) return 0; cobj->setAtlasIndex(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAtlasIndex",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Sprite:setAtlasIndex",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -43206,13 +43206,13 @@ int lua_cocos2dx_Sprite_setDirty(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.Sprite:setDirty"); if(!ok) return 0; cobj->setDirty(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setDirty",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Sprite:setDirty",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -43256,7 +43256,7 @@ int lua_cocos2dx_Sprite_isTextureRectRotated(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isTextureRectRotated",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Sprite:isTextureRectRotated",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -43300,7 +43300,7 @@ int lua_cocos2dx_Sprite_getTextureRect(lua_State* tolua_S) rect_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTextureRect",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Sprite:getTextureRect",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -43344,7 +43344,7 @@ int lua_cocos2dx_Sprite_getTextureAtlas(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.TextureAtlas",(cocos2d::TextureAtlas*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTextureAtlas",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Sprite:getTextureAtlas",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -43388,7 +43388,7 @@ int lua_cocos2dx_Sprite_isFlippedX(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isFlippedX",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Sprite:isFlippedX",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -43432,7 +43432,7 @@ int lua_cocos2dx_Sprite_isFlippedY(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isFlippedY",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Sprite:isFlippedY",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -43472,13 +43472,13 @@ int lua_cocos2dx_Sprite_setVertexRect(lua_State* tolua_S) { cocos2d::Rect arg0; - ok &= luaval_to_rect(tolua_S, 2, &arg0); + ok &= luaval_to_rect(tolua_S, 2, &arg0, "cc.Sprite:setVertexRect"); if(!ok) return 0; cobj->setVertexRect(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setVertexRect",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Sprite:setVertexRect",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -43507,7 +43507,7 @@ int lua_cocos2dx_Sprite_create(lua_State* tolua_S) if (argc == 1) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Sprite:create"); if (!ok) { break; } cocos2d::Sprite* ret = cocos2d::Sprite::create(arg0); object_to_luaval(tolua_S, "cc.Sprite",(cocos2d::Sprite*)ret); @@ -43530,10 +43530,10 @@ int lua_cocos2dx_Sprite_create(lua_State* tolua_S) if (argc == 2) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Sprite:create"); if (!ok) { break; } cocos2d::Rect arg1; - ok &= luaval_to_rect(tolua_S, 3, &arg1); + ok &= luaval_to_rect(tolua_S, 3, &arg1, "cc.Sprite:create"); if (!ok) { break; } cocos2d::Sprite* ret = cocos2d::Sprite::create(arg0, arg1); object_to_luaval(tolua_S, "cc.Sprite",(cocos2d::Sprite*)ret); @@ -43541,7 +43541,7 @@ int lua_cocos2dx_Sprite_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.Sprite:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -43571,7 +43571,7 @@ int lua_cocos2dx_Sprite_createWithTexture(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 2, "cc.Texture2D",&arg0); if (!ok) { break; } cocos2d::Rect arg1; - ok &= luaval_to_rect(tolua_S, 3, &arg1); + ok &= luaval_to_rect(tolua_S, 3, &arg1, "cc.Sprite:createWithTexture"); if (!ok) { break; } cocos2d::Sprite* ret = cocos2d::Sprite::createWithTexture(arg0, arg1); object_to_luaval(tolua_S, "cc.Sprite",(cocos2d::Sprite*)ret); @@ -43587,10 +43587,10 @@ int lua_cocos2dx_Sprite_createWithTexture(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 2, "cc.Texture2D",&arg0); if (!ok) { break; } cocos2d::Rect arg1; - ok &= luaval_to_rect(tolua_S, 3, &arg1); + ok &= luaval_to_rect(tolua_S, 3, &arg1, "cc.Sprite:createWithTexture"); if (!ok) { break; } bool arg2; - ok &= luaval_to_boolean(tolua_S, 4,&arg2); + ok &= luaval_to_boolean(tolua_S, 4,&arg2, "cc.Sprite:createWithTexture"); if (!ok) { break; } cocos2d::Sprite* ret = cocos2d::Sprite::createWithTexture(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.Sprite",(cocos2d::Sprite*)ret); @@ -43611,7 +43611,7 @@ int lua_cocos2dx_Sprite_createWithTexture(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "createWithTexture",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.Sprite:createWithTexture",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -43637,14 +43637,14 @@ int lua_cocos2dx_Sprite_createWithSpriteFrameName(lua_State* tolua_S) if (argc == 1) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Sprite:createWithSpriteFrameName"); if(!ok) return 0; cocos2d::Sprite* ret = cocos2d::Sprite::createWithSpriteFrameName(arg0); object_to_luaval(tolua_S, "cc.Sprite",(cocos2d::Sprite*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createWithSpriteFrameName",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Sprite:createWithSpriteFrameName",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -43677,7 +43677,7 @@ int lua_cocos2dx_Sprite_createWithSpriteFrame(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Sprite",(cocos2d::Sprite*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createWithSpriteFrame",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Sprite:createWithSpriteFrame",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -43767,7 +43767,7 @@ int lua_cocos2dx_ProgressTimer_isReverseDirection(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isReverseDirection",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ProgressTimer:isReverseDirection",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -43807,13 +43807,13 @@ int lua_cocos2dx_ProgressTimer_setBarChangeRate(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.ProgressTimer:setBarChangeRate"); if(!ok) return 0; cobj->setBarChangeRate(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setBarChangeRate",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ProgressTimer:setBarChangeRate",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -43857,7 +43857,7 @@ int lua_cocos2dx_ProgressTimer_getPercentage(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPercentage",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ProgressTimer:getPercentage",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -43903,7 +43903,7 @@ int lua_cocos2dx_ProgressTimer_setSprite(lua_State* tolua_S) cobj->setSprite(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setSprite",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ProgressTimer:setSprite",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -43947,7 +43947,7 @@ int lua_cocos2dx_ProgressTimer_getType(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getType",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ProgressTimer:getType",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -43991,7 +43991,7 @@ int lua_cocos2dx_ProgressTimer_getSprite(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Sprite",(cocos2d::Sprite*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getSprite",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ProgressTimer:getSprite",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -44031,13 +44031,13 @@ int lua_cocos2dx_ProgressTimer_setMidpoint(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.ProgressTimer:setMidpoint"); if(!ok) return 0; cobj->setMidpoint(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setMidpoint",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ProgressTimer:setMidpoint",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -44081,7 +44081,7 @@ int lua_cocos2dx_ProgressTimer_getBarChangeRate(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBarChangeRate",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ProgressTimer:getBarChangeRate",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -44115,7 +44115,7 @@ int lua_cocos2dx_ProgressTimer_setReverseDirection(lua_State* tolua_S) do{ if (argc == 1) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.ProgressTimer:setReverseDirection"); if (!ok) { break; } cobj->setReverseDirection(arg0); @@ -44126,7 +44126,7 @@ int lua_cocos2dx_ProgressTimer_setReverseDirection(lua_State* tolua_S) do{ if (argc == 1) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.ProgressTimer:setReverseDirection"); if (!ok) { break; } cobj->setReverseProgress(arg0); @@ -44134,7 +44134,7 @@ int lua_cocos2dx_ProgressTimer_setReverseDirection(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setReverseProgress",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ProgressTimer:setReverseProgress",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -44178,7 +44178,7 @@ int lua_cocos2dx_ProgressTimer_getMidpoint(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getMidpoint",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ProgressTimer:getMidpoint",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -44218,13 +44218,13 @@ int lua_cocos2dx_ProgressTimer_setPercentage(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ProgressTimer:setPercentage"); if(!ok) return 0; cobj->setPercentage(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setPercentage",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ProgressTimer:setPercentage",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -44264,13 +44264,13 @@ int lua_cocos2dx_ProgressTimer_setType(lua_State* tolua_S) { cocos2d::ProgressTimer::Type arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.ProgressTimer:setType"); if(!ok) return 0; cobj->setType(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setType",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ProgressTimer:setType",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -44305,7 +44305,7 @@ int lua_cocos2dx_ProgressTimer_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.ProgressTimer",(cocos2d::ProgressTimer*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ProgressTimer:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -44379,7 +44379,7 @@ int lua_cocos2dx_Image_hasPremultipliedAlpha(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "hasPremultipliedAlpha",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Image:hasPremultipliedAlpha",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -44419,7 +44419,7 @@ int lua_cocos2dx_Image_saveToFile(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Image:saveToFile"); if(!ok) return 0; bool ret = cobj->saveToFile(arg0); @@ -44431,16 +44431,16 @@ int lua_cocos2dx_Image_saveToFile(lua_State* tolua_S) std::string arg0; bool arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Image:saveToFile"); - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.Image:saveToFile"); if(!ok) return 0; bool ret = cobj->saveToFile(arg0, arg1); tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "saveToFile",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Image:saveToFile",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -44484,7 +44484,7 @@ int lua_cocos2dx_Image_getBitPerPixel(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBitPerPixel",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Image:getBitPerPixel",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -44528,7 +44528,7 @@ int lua_cocos2dx_Image_hasAlpha(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "hasAlpha",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Image:hasAlpha",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -44572,7 +44572,7 @@ int lua_cocos2dx_Image_isCompressed(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isCompressed",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Image:isCompressed",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -44616,7 +44616,7 @@ int lua_cocos2dx_Image_getHeight(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getHeight",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Image:getHeight",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -44656,14 +44656,14 @@ int lua_cocos2dx_Image_initWithImageFile(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Image:initWithImageFile"); if(!ok) return 0; bool ret = cobj->initWithImageFile(arg0); tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "initWithImageFile",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Image:initWithImageFile",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -44707,7 +44707,7 @@ int lua_cocos2dx_Image_getWidth(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getWidth",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Image:getWidth",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -44751,7 +44751,7 @@ int lua_cocos2dx_Image_isPremultipliedAlpha(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isPremultipliedAlpha",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Image:isPremultipliedAlpha",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -44795,7 +44795,7 @@ int lua_cocos2dx_Image_getFileType(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getFileType",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Image:getFileType",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -44839,7 +44839,7 @@ int lua_cocos2dx_Image_getNumberOfMipmaps(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getNumberOfMipmaps",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Image:getNumberOfMipmaps",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -44883,7 +44883,7 @@ int lua_cocos2dx_Image_getRenderFormat(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getRenderFormat",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Image:getRenderFormat",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -44917,7 +44917,7 @@ int lua_cocos2dx_Image_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.Image"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "Image",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Image:Image",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -44991,17 +44991,17 @@ int lua_cocos2dx_RenderTexture_setVirtualViewport(lua_State* tolua_S) cocos2d::Rect arg1; cocos2d::Rect arg2; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.RenderTexture:setVirtualViewport"); - ok &= luaval_to_rect(tolua_S, 3, &arg1); + ok &= luaval_to_rect(tolua_S, 3, &arg1, "cc.RenderTexture:setVirtualViewport"); - ok &= luaval_to_rect(tolua_S, 4, &arg2); + ok &= luaval_to_rect(tolua_S, 4, &arg2, "cc.RenderTexture:setVirtualViewport"); if(!ok) return 0; cobj->setVirtualViewport(arg0, arg1, arg2); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setVirtualViewport",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.RenderTexture:setVirtualViewport",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 @@ -45041,13 +45041,13 @@ int lua_cocos2dx_RenderTexture_clearStencil(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.RenderTexture:clearStencil"); if(!ok) return 0; cobj->clearStencil(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "clearStencil",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.RenderTexture:clearStencil",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -45091,7 +45091,7 @@ int lua_cocos2dx_RenderTexture_getClearDepth(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getClearDepth",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.RenderTexture:getClearDepth",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -45135,7 +45135,7 @@ int lua_cocos2dx_RenderTexture_getClearStencil(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getClearStencil",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.RenderTexture:getClearStencil",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -45178,7 +45178,7 @@ int lua_cocos2dx_RenderTexture_end(lua_State* tolua_S) cobj->end(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "end",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.RenderTexture:end",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -45218,13 +45218,13 @@ int lua_cocos2dx_RenderTexture_setClearStencil(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.RenderTexture:setClearStencil"); if(!ok) return 0; cobj->setClearStencil(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setClearStencil",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.RenderTexture:setClearStencil",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -45270,7 +45270,7 @@ int lua_cocos2dx_RenderTexture_setSprite(lua_State* tolua_S) cobj->setSprite(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setSprite",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.RenderTexture:setSprite",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -45314,7 +45314,7 @@ int lua_cocos2dx_RenderTexture_getSprite(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Sprite",(cocos2d::Sprite*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getSprite",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.RenderTexture:getSprite",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -45358,7 +45358,7 @@ int lua_cocos2dx_RenderTexture_isAutoDraw(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isAutoDraw",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.RenderTexture:isAutoDraw",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -45398,13 +45398,13 @@ int lua_cocos2dx_RenderTexture_setKeepMatrix(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.RenderTexture:setKeepMatrix"); if(!ok) return 0; cobj->setKeepMatrix(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setKeepMatrix",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.RenderTexture:setKeepMatrix",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -45444,13 +45444,13 @@ int lua_cocos2dx_RenderTexture_setClearFlags(lua_State* tolua_S) { unsigned int arg0; - ok &= luaval_to_uint32(tolua_S, 2,&arg0); + ok &= luaval_to_uint32(tolua_S, 2,&arg0, "cc.RenderTexture:setClearFlags"); if(!ok) return 0; cobj->setClearFlags(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setClearFlags",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.RenderTexture:setClearFlags",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -45493,7 +45493,7 @@ int lua_cocos2dx_RenderTexture_begin(lua_State* tolua_S) cobj->begin(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "begin",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.RenderTexture:begin",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -45527,11 +45527,11 @@ int lua_cocos2dx_RenderTexture_saveToFile(lua_State* tolua_S) do{ if (argc == 2) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.RenderTexture:saveToFile"); if (!ok) { break; } cocos2d::Image::Format arg1; - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.RenderTexture:saveToFile"); if (!ok) { break; } bool ret = cobj->saveToFile(arg0, arg1); @@ -45543,15 +45543,15 @@ int lua_cocos2dx_RenderTexture_saveToFile(lua_State* tolua_S) do{ if (argc == 3) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.RenderTexture:saveToFile"); if (!ok) { break; } cocos2d::Image::Format arg1; - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.RenderTexture:saveToFile"); if (!ok) { break; } bool arg2; - ok &= luaval_to_boolean(tolua_S, 4,&arg2); + ok &= luaval_to_boolean(tolua_S, 4,&arg2, "cc.RenderTexture:saveToFile"); if (!ok) { break; } bool ret = cobj->saveToFile(arg0, arg1, arg2); @@ -45563,7 +45563,7 @@ int lua_cocos2dx_RenderTexture_saveToFile(lua_State* tolua_S) do{ if (argc == 1) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.RenderTexture:saveToFile"); if (!ok) { break; } bool ret = cobj->saveToFile(arg0); @@ -45575,11 +45575,11 @@ int lua_cocos2dx_RenderTexture_saveToFile(lua_State* tolua_S) do{ if (argc == 2) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.RenderTexture:saveToFile"); if (!ok) { break; } bool arg1; - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.RenderTexture:saveToFile"); if (!ok) { break; } bool ret = cobj->saveToFile(arg0, arg1); @@ -45588,7 +45588,7 @@ int lua_cocos2dx_RenderTexture_saveToFile(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "saveToFile",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.RenderTexture:saveToFile",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -45628,13 +45628,13 @@ int lua_cocos2dx_RenderTexture_setAutoDraw(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.RenderTexture:setAutoDraw"); if(!ok) return 0; cobj->setAutoDraw(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAutoDraw",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.RenderTexture:setAutoDraw",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -45674,13 +45674,13 @@ int lua_cocos2dx_RenderTexture_setClearColor(lua_State* tolua_S) { cocos2d::Color4F arg0; - ok &=luaval_to_color4f(tolua_S, 2, &arg0); + ok &=luaval_to_color4f(tolua_S, 2, &arg0, "cc.RenderTexture:setClearColor"); if(!ok) return 0; cobj->setClearColor(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setClearColor",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.RenderTexture:setClearColor",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -45723,7 +45723,7 @@ int lua_cocos2dx_RenderTexture_endToLua(lua_State* tolua_S) cobj->endToLua(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "endToLua",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.RenderTexture:endToLua",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -45757,23 +45757,23 @@ int lua_cocos2dx_RenderTexture_beginWithClear(lua_State* tolua_S) do{ if (argc == 5) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.RenderTexture:beginWithClear"); if (!ok) { break; } double arg1; - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.RenderTexture:beginWithClear"); if (!ok) { break; } double arg2; - ok &= luaval_to_number(tolua_S, 4,&arg2); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.RenderTexture:beginWithClear"); if (!ok) { break; } double arg3; - ok &= luaval_to_number(tolua_S, 5,&arg3); + ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.RenderTexture:beginWithClear"); if (!ok) { break; } double arg4; - ok &= luaval_to_number(tolua_S, 6,&arg4); + ok &= luaval_to_number(tolua_S, 6,&arg4, "cc.RenderTexture:beginWithClear"); if (!ok) { break; } cobj->beginWithClear(arg0, arg1, arg2, arg3, arg4); @@ -45784,19 +45784,19 @@ int lua_cocos2dx_RenderTexture_beginWithClear(lua_State* tolua_S) do{ if (argc == 4) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.RenderTexture:beginWithClear"); if (!ok) { break; } double arg1; - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.RenderTexture:beginWithClear"); if (!ok) { break; } double arg2; - ok &= luaval_to_number(tolua_S, 4,&arg2); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.RenderTexture:beginWithClear"); if (!ok) { break; } double arg3; - ok &= luaval_to_number(tolua_S, 5,&arg3); + ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.RenderTexture:beginWithClear"); if (!ok) { break; } cobj->beginWithClear(arg0, arg1, arg2, arg3); @@ -45807,27 +45807,27 @@ int lua_cocos2dx_RenderTexture_beginWithClear(lua_State* tolua_S) do{ if (argc == 6) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.RenderTexture:beginWithClear"); if (!ok) { break; } double arg1; - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.RenderTexture:beginWithClear"); if (!ok) { break; } double arg2; - ok &= luaval_to_number(tolua_S, 4,&arg2); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.RenderTexture:beginWithClear"); if (!ok) { break; } double arg3; - ok &= luaval_to_number(tolua_S, 5,&arg3); + ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.RenderTexture:beginWithClear"); if (!ok) { break; } double arg4; - ok &= luaval_to_number(tolua_S, 6,&arg4); + ok &= luaval_to_number(tolua_S, 6,&arg4, "cc.RenderTexture:beginWithClear"); if (!ok) { break; } int arg5; - ok &= luaval_to_int32(tolua_S, 7,(int *)&arg5); + ok &= luaval_to_int32(tolua_S, 7,(int *)&arg5, "cc.RenderTexture:beginWithClear"); if (!ok) { break; } cobj->beginWithClear(arg0, arg1, arg2, arg3, arg4, arg5); @@ -45835,7 +45835,7 @@ int lua_cocos2dx_RenderTexture_beginWithClear(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "beginWithClear",argc, 6); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.RenderTexture:beginWithClear",argc, 6); return 0; #if COCOS2D_DEBUG >= 1 @@ -45875,13 +45875,13 @@ int lua_cocos2dx_RenderTexture_clearDepth(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.RenderTexture:clearDepth"); if(!ok) return 0; cobj->clearDepth(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "clearDepth",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.RenderTexture:clearDepth",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -45925,7 +45925,7 @@ int lua_cocos2dx_RenderTexture_getClearColor(lua_State* tolua_S) color4f_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getClearColor",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.RenderTexture:getClearColor",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -45968,19 +45968,19 @@ int lua_cocos2dx_RenderTexture_clear(lua_State* tolua_S) double arg2; double arg3; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.RenderTexture:clear"); - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.RenderTexture:clear"); - ok &= luaval_to_number(tolua_S, 4,&arg2); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.RenderTexture:clear"); - ok &= luaval_to_number(tolua_S, 5,&arg3); + ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.RenderTexture:clear"); if(!ok) return 0; cobj->clear(arg0, arg1, arg2, arg3); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "clear",argc, 4); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.RenderTexture:clear",argc, 4); return 0; #if COCOS2D_DEBUG >= 1 @@ -46024,7 +46024,7 @@ int lua_cocos2dx_RenderTexture_getClearFlags(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getClearFlags",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.RenderTexture:getClearFlags",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -46072,14 +46072,14 @@ int lua_cocos2dx_RenderTexture_newImage(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.RenderTexture:newImage"); if(!ok) return 0; cocos2d::Image* ret = cobj->newImage(arg0); object_to_luaval(tolua_S, "cc.Image",(cocos2d::Image*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "newImage",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.RenderTexture:newImage",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -46119,13 +46119,13 @@ int lua_cocos2dx_RenderTexture_setClearDepth(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.RenderTexture:setClearDepth"); if(!ok) return 0; cobj->setClearDepth(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setClearDepth",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.RenderTexture:setClearDepth",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -46159,19 +46159,19 @@ int lua_cocos2dx_RenderTexture_initWithWidthAndHeight(lua_State* tolua_S) do{ if (argc == 4) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.RenderTexture:initWithWidthAndHeight"); if (!ok) { break; } int arg1; - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.RenderTexture:initWithWidthAndHeight"); if (!ok) { break; } cocos2d::Texture2D::PixelFormat arg2; - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "cc.RenderTexture:initWithWidthAndHeight"); if (!ok) { break; } unsigned int arg3; - ok &= luaval_to_uint32(tolua_S, 5,&arg3); + ok &= luaval_to_uint32(tolua_S, 5,&arg3, "cc.RenderTexture:initWithWidthAndHeight"); if (!ok) { break; } bool ret = cobj->initWithWidthAndHeight(arg0, arg1, arg2, arg3); @@ -46183,15 +46183,15 @@ int lua_cocos2dx_RenderTexture_initWithWidthAndHeight(lua_State* tolua_S) do{ if (argc == 3) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.RenderTexture:initWithWidthAndHeight"); if (!ok) { break; } int arg1; - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.RenderTexture:initWithWidthAndHeight"); if (!ok) { break; } cocos2d::Texture2D::PixelFormat arg2; - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "cc.RenderTexture:initWithWidthAndHeight"); if (!ok) { break; } bool ret = cobj->initWithWidthAndHeight(arg0, arg1, arg2); @@ -46200,7 +46200,7 @@ int lua_cocos2dx_RenderTexture_initWithWidthAndHeight(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "initWithWidthAndHeight",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.RenderTexture:initWithWidthAndHeight",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 @@ -46229,13 +46229,13 @@ int lua_cocos2dx_RenderTexture_create(lua_State* tolua_S) if (argc == 3) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.RenderTexture:create"); if (!ok) { break; } int arg1; - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.RenderTexture:create"); if (!ok) { break; } cocos2d::Texture2D::PixelFormat arg2; - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "cc.RenderTexture:create"); if (!ok) { break; } cocos2d::RenderTexture* ret = cocos2d::RenderTexture::create(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.RenderTexture",(cocos2d::RenderTexture*)ret); @@ -46248,16 +46248,16 @@ int lua_cocos2dx_RenderTexture_create(lua_State* tolua_S) if (argc == 4) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.RenderTexture:create"); if (!ok) { break; } int arg1; - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.RenderTexture:create"); if (!ok) { break; } cocos2d::Texture2D::PixelFormat arg2; - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "cc.RenderTexture:create"); if (!ok) { break; } unsigned int arg3; - ok &= luaval_to_uint32(tolua_S, 5,&arg3); + ok &= luaval_to_uint32(tolua_S, 5,&arg3, "cc.RenderTexture:create"); if (!ok) { break; } cocos2d::RenderTexture* ret = cocos2d::RenderTexture::create(arg0, arg1, arg2, arg3); object_to_luaval(tolua_S, "cc.RenderTexture",(cocos2d::RenderTexture*)ret); @@ -46270,10 +46270,10 @@ int lua_cocos2dx_RenderTexture_create(lua_State* tolua_S) if (argc == 2) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.RenderTexture:create"); if (!ok) { break; } int arg1; - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.RenderTexture:create"); if (!ok) { break; } cocos2d::RenderTexture* ret = cocos2d::RenderTexture::create(arg0, arg1); object_to_luaval(tolua_S, "cc.RenderTexture",(cocos2d::RenderTexture*)ret); @@ -46281,7 +46281,7 @@ int lua_cocos2dx_RenderTexture_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.RenderTexture:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -46313,7 +46313,7 @@ int lua_cocos2dx_RenderTexture_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.RenderTexture"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "RenderTexture",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.RenderTexture:RenderTexture",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -46404,7 +46404,7 @@ int lua_cocos2dx_NodeGrid_setTarget(lua_State* tolua_S) cobj->setTarget(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTarget",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.NodeGrid:setTarget",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -46451,7 +46451,7 @@ int lua_cocos2dx_NodeGrid_getGrid(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getGrid",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.NodeGrid:getGrid",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -46497,7 +46497,7 @@ int lua_cocos2dx_NodeGrid_setGrid(lua_State* tolua_S) cobj->setGrid(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setGrid",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.NodeGrid:setGrid",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -46530,7 +46530,7 @@ int lua_cocos2dx_NodeGrid_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.NodeGrid",(cocos2d::NodeGrid*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.NodeGrid:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -46597,7 +46597,7 @@ int lua_cocos2dx_ParticleBatchNode_setTexture(lua_State* tolua_S) cobj->setTexture(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTexture",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleBatchNode:setTexture",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -46637,13 +46637,13 @@ int lua_cocos2dx_ParticleBatchNode_disableParticle(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.ParticleBatchNode:disableParticle"); if(!ok) return 0; cobj->disableParticle(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "disableParticle",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleBatchNode:disableParticle",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -46687,7 +46687,7 @@ int lua_cocos2dx_ParticleBatchNode_getTexture(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Texture2D",(cocos2d::Texture2D*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTexture",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleBatchNode:getTexture",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -46733,7 +46733,7 @@ int lua_cocos2dx_ParticleBatchNode_setTextureAtlas(lua_State* tolua_S) cobj->setTextureAtlas(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTextureAtlas",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleBatchNode:setTextureAtlas",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -46773,13 +46773,13 @@ int lua_cocos2dx_ParticleBatchNode_removeAllChildrenWithCleanup(lua_State* tolua { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.ParticleBatchNode:removeAllChildrenWithCleanup"); if(!ok) return 0; cobj->removeAllChildrenWithCleanup(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeAllChildrenWithCleanup",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleBatchNode:removeAllChildrenWithCleanup",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -46823,7 +46823,7 @@ int lua_cocos2dx_ParticleBatchNode_getTextureAtlas(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.TextureAtlas",(cocos2d::TextureAtlas*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTextureAtlas",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleBatchNode:getTextureAtlas",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -46866,13 +46866,13 @@ int lua_cocos2dx_ParticleBatchNode_insertChild(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 2, "cc.ParticleSystem",&arg0); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.ParticleBatchNode:insertChild"); if(!ok) return 0; cobj->insertChild(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "insertChild",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleBatchNode:insertChild",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -46913,15 +46913,15 @@ int lua_cocos2dx_ParticleBatchNode_removeChildAtIndex(lua_State* tolua_S) int arg0; bool arg1; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.ParticleBatchNode:removeChildAtIndex"); - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.ParticleBatchNode:removeChildAtIndex"); if(!ok) return 0; cobj->removeChildAtIndex(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeChildAtIndex",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleBatchNode:removeChildAtIndex",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -46949,7 +46949,7 @@ int lua_cocos2dx_ParticleBatchNode_create(lua_State* tolua_S) if (argc == 1) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.ParticleBatchNode:create"); if(!ok) return 0; cocos2d::ParticleBatchNode* ret = cocos2d::ParticleBatchNode::create(arg0); @@ -46960,15 +46960,15 @@ int lua_cocos2dx_ParticleBatchNode_create(lua_State* tolua_S) { std::string arg0; int arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.ParticleBatchNode:create"); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.ParticleBatchNode:create"); if(!ok) return 0; cocos2d::ParticleBatchNode* ret = cocos2d::ParticleBatchNode::create(arg0, arg1); object_to_luaval(tolua_S, "cc.ParticleBatchNode",(cocos2d::ParticleBatchNode*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ParticleBatchNode:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -47006,14 +47006,14 @@ int lua_cocos2dx_ParticleBatchNode_createWithTexture(lua_State* tolua_S) cocos2d::Texture2D* arg0; int arg1; ok &= luaval_to_object(tolua_S, 2, "cc.Texture2D",&arg0); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.ParticleBatchNode:createWithTexture"); if(!ok) return 0; cocos2d::ParticleBatchNode* ret = cocos2d::ParticleBatchNode::createWithTexture(arg0, arg1); object_to_luaval(tolua_S, "cc.ParticleBatchNode",(cocos2d::ParticleBatchNode*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createWithTexture",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ParticleBatchNode:createWithTexture",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -47084,7 +47084,7 @@ int lua_cocos2dx_ParticleSystem_getStartSizeVar(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getStartSizeVar",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:getStartSizeVar",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -47128,7 +47128,7 @@ int lua_cocos2dx_ParticleSystem_getTexture(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Texture2D",(cocos2d::Texture2D*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTexture",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:getTexture",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -47172,7 +47172,7 @@ int lua_cocos2dx_ParticleSystem_isFull(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isFull",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:isFull",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -47216,7 +47216,7 @@ int lua_cocos2dx_ParticleSystem_getBatchNode(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.ParticleBatchNode",(cocos2d::ParticleBatchNode*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBatchNode",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:getBatchNode",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -47260,7 +47260,7 @@ int lua_cocos2dx_ParticleSystem_getStartColor(lua_State* tolua_S) color4f_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getStartColor",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:getStartColor",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -47304,7 +47304,7 @@ int lua_cocos2dx_ParticleSystem_getPositionType(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPositionType",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:getPositionType",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -47344,13 +47344,13 @@ int lua_cocos2dx_ParticleSystem_setPosVar(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.ParticleSystem:setPosVar"); if(!ok) return 0; cobj->setPosVar(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setPosVar",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setPosVar",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -47394,7 +47394,7 @@ int lua_cocos2dx_ParticleSystem_getEndSpin(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getEndSpin",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:getEndSpin",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -47434,13 +47434,13 @@ int lua_cocos2dx_ParticleSystem_setRotatePerSecondVar(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ParticleSystem:setRotatePerSecondVar"); if(!ok) return 0; cobj->setRotatePerSecondVar(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setRotatePerSecondVar",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setRotatePerSecondVar",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -47484,7 +47484,7 @@ int lua_cocos2dx_ParticleSystem_getStartSpinVar(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getStartSpinVar",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:getStartSpinVar",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -47528,7 +47528,7 @@ int lua_cocos2dx_ParticleSystem_getRadialAccelVar(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getRadialAccelVar",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:getRadialAccelVar",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -47572,7 +47572,7 @@ int lua_cocos2dx_ParticleSystem_getEndSizeVar(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getEndSizeVar",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:getEndSizeVar",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -47612,13 +47612,13 @@ int lua_cocos2dx_ParticleSystem_setRotation(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ParticleSystem:setRotation"); if(!ok) return 0; cobj->setRotation(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setRotation",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setRotation",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -47658,13 +47658,13 @@ int lua_cocos2dx_ParticleSystem_setTangentialAccel(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ParticleSystem:setTangentialAccel"); if(!ok) return 0; cobj->setTangentialAccel(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTangentialAccel",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setTangentialAccel",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -47704,13 +47704,13 @@ int lua_cocos2dx_ParticleSystem_setScaleY(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ParticleSystem:setScaleY"); if(!ok) return 0; cobj->setScaleY(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setScaleY",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setScaleY",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -47750,13 +47750,13 @@ int lua_cocos2dx_ParticleSystem_setScaleX(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ParticleSystem:setScaleX"); if(!ok) return 0; cobj->setScaleX(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setScaleX",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setScaleX",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -47800,7 +47800,7 @@ int lua_cocos2dx_ParticleSystem_getRadialAccel(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getRadialAccel",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:getRadialAccel",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -47840,13 +47840,13 @@ int lua_cocos2dx_ParticleSystem_setStartRadius(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ParticleSystem:setStartRadius"); if(!ok) return 0; cobj->setStartRadius(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setStartRadius",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setStartRadius",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -47886,13 +47886,13 @@ int lua_cocos2dx_ParticleSystem_setRotatePerSecond(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ParticleSystem:setRotatePerSecond"); if(!ok) return 0; cobj->setRotatePerSecond(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setRotatePerSecond",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setRotatePerSecond",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -47932,13 +47932,13 @@ int lua_cocos2dx_ParticleSystem_setEndSize(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ParticleSystem:setEndSize"); if(!ok) return 0; cobj->setEndSize(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setEndSize",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setEndSize",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -47982,7 +47982,7 @@ int lua_cocos2dx_ParticleSystem_getGravity(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getGravity",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:getGravity",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -48026,7 +48026,7 @@ int lua_cocos2dx_ParticleSystem_getTangentialAccel(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTangentialAccel",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:getTangentialAccel",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -48066,13 +48066,13 @@ int lua_cocos2dx_ParticleSystem_setEndRadius(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ParticleSystem:setEndRadius"); if(!ok) return 0; cobj->setEndRadius(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setEndRadius",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setEndRadius",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -48116,7 +48116,7 @@ int lua_cocos2dx_ParticleSystem_getSpeed(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getSpeed",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:getSpeed",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -48160,7 +48160,7 @@ int lua_cocos2dx_ParticleSystem_getAngle(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAngle",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:getAngle",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -48200,13 +48200,13 @@ int lua_cocos2dx_ParticleSystem_setEndColor(lua_State* tolua_S) { cocos2d::Color4F arg0; - ok &=luaval_to_color4f(tolua_S, 2, &arg0); + ok &=luaval_to_color4f(tolua_S, 2, &arg0, "cc.ParticleSystem:setEndColor"); if(!ok) return 0; cobj->setEndColor(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setEndColor",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setEndColor",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -48246,13 +48246,13 @@ int lua_cocos2dx_ParticleSystem_setStartSpin(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ParticleSystem:setStartSpin"); if(!ok) return 0; cobj->setStartSpin(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setStartSpin",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setStartSpin",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -48292,13 +48292,13 @@ int lua_cocos2dx_ParticleSystem_setDuration(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ParticleSystem:setDuration"); if(!ok) return 0; cobj->setDuration(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setDuration",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setDuration",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -48344,7 +48344,7 @@ int lua_cocos2dx_ParticleSystem_setTexture(lua_State* tolua_S) cobj->setTexture(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTexture",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setTexture",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -48388,7 +48388,7 @@ int lua_cocos2dx_ParticleSystem_getPosVar(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPosVar",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:getPosVar",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -48431,7 +48431,7 @@ int lua_cocos2dx_ParticleSystem_updateWithNoTime(lua_State* tolua_S) cobj->updateWithNoTime(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "updateWithNoTime",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:updateWithNoTime",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -48475,7 +48475,7 @@ int lua_cocos2dx_ParticleSystem_isBlendAdditive(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isBlendAdditive",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:isBlendAdditive",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -48519,7 +48519,7 @@ int lua_cocos2dx_ParticleSystem_getSpeedVar(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getSpeedVar",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:getSpeedVar",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -48559,13 +48559,13 @@ int lua_cocos2dx_ParticleSystem_setPositionType(lua_State* tolua_S) { cocos2d::ParticleSystem::PositionType arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.ParticleSystem:setPositionType"); if(!ok) return 0; cobj->setPositionType(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setPositionType",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setPositionType",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -48608,7 +48608,7 @@ int lua_cocos2dx_ParticleSystem_stopSystem(lua_State* tolua_S) cobj->stopSystem(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "stopSystem",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:stopSystem",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -48652,7 +48652,7 @@ int lua_cocos2dx_ParticleSystem_getSourcePosition(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getSourcePosition",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:getSourcePosition",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -48692,13 +48692,13 @@ int lua_cocos2dx_ParticleSystem_setLifeVar(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ParticleSystem:setLifeVar"); if(!ok) return 0; cobj->setLifeVar(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setLifeVar",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setLifeVar",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -48738,13 +48738,13 @@ int lua_cocos2dx_ParticleSystem_setTotalParticles(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.ParticleSystem:setTotalParticles"); if(!ok) return 0; cobj->setTotalParticles(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTotalParticles",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setTotalParticles",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -48784,13 +48784,13 @@ int lua_cocos2dx_ParticleSystem_setEndColorVar(lua_State* tolua_S) { cocos2d::Color4F arg0; - ok &=luaval_to_color4f(tolua_S, 2, &arg0); + ok &=luaval_to_color4f(tolua_S, 2, &arg0, "cc.ParticleSystem:setEndColorVar"); if(!ok) return 0; cobj->setEndColorVar(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setEndColorVar",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setEndColorVar",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -48834,7 +48834,7 @@ int lua_cocos2dx_ParticleSystem_getAtlasIndex(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAtlasIndex",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:getAtlasIndex",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -48878,7 +48878,7 @@ int lua_cocos2dx_ParticleSystem_getStartSize(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getStartSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:getStartSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -48918,13 +48918,13 @@ int lua_cocos2dx_ParticleSystem_setStartSpinVar(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ParticleSystem:setStartSpinVar"); if(!ok) return 0; cobj->setStartSpinVar(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setStartSpinVar",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setStartSpinVar",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -48967,7 +48967,7 @@ int lua_cocos2dx_ParticleSystem_resetSystem(lua_State* tolua_S) cobj->resetSystem(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "resetSystem",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:resetSystem",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -49007,13 +49007,13 @@ int lua_cocos2dx_ParticleSystem_setAtlasIndex(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.ParticleSystem:setAtlasIndex"); if(!ok) return 0; cobj->setAtlasIndex(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAtlasIndex",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setAtlasIndex",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -49053,13 +49053,13 @@ int lua_cocos2dx_ParticleSystem_setTangentialAccelVar(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ParticleSystem:setTangentialAccelVar"); if(!ok) return 0; cobj->setTangentialAccelVar(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTangentialAccelVar",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setTangentialAccelVar",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -49099,13 +49099,13 @@ int lua_cocos2dx_ParticleSystem_setEndRadiusVar(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ParticleSystem:setEndRadiusVar"); if(!ok) return 0; cobj->setEndRadiusVar(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setEndRadiusVar",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setEndRadiusVar",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -49149,7 +49149,7 @@ int lua_cocos2dx_ParticleSystem_getEndRadius(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getEndRadius",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:getEndRadius",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -49193,7 +49193,7 @@ int lua_cocos2dx_ParticleSystem_isOpacityModifyRGB(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isOpacityModifyRGB",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:isOpacityModifyRGB",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -49237,7 +49237,7 @@ int lua_cocos2dx_ParticleSystem_isActive(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isActive",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:isActive",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -49277,13 +49277,13 @@ int lua_cocos2dx_ParticleSystem_setRadialAccelVar(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ParticleSystem:setRadialAccelVar"); if(!ok) return 0; cobj->setRadialAccelVar(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setRadialAccelVar",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setRadialAccelVar",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -49323,13 +49323,13 @@ int lua_cocos2dx_ParticleSystem_setStartSize(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ParticleSystem:setStartSize"); if(!ok) return 0; cobj->setStartSize(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setStartSize",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setStartSize",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -49369,13 +49369,13 @@ int lua_cocos2dx_ParticleSystem_setSpeed(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ParticleSystem:setSpeed"); if(!ok) return 0; cobj->setSpeed(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setSpeed",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setSpeed",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -49419,7 +49419,7 @@ int lua_cocos2dx_ParticleSystem_getStartSpin(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getStartSpin",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:getStartSpin",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -49463,7 +49463,7 @@ int lua_cocos2dx_ParticleSystem_getRotatePerSecond(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getRotatePerSecond",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:getRotatePerSecond",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -49503,13 +49503,13 @@ int lua_cocos2dx_ParticleSystem_setEmitterMode(lua_State* tolua_S) { cocos2d::ParticleSystem::Mode arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.ParticleSystem:setEmitterMode"); if(!ok) return 0; cobj->setEmitterMode(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setEmitterMode",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setEmitterMode",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -49553,7 +49553,7 @@ int lua_cocos2dx_ParticleSystem_getDuration(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDuration",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:getDuration",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -49593,13 +49593,13 @@ int lua_cocos2dx_ParticleSystem_setSourcePosition(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.ParticleSystem:setSourcePosition"); if(!ok) return 0; cobj->setSourcePosition(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setSourcePosition",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setSourcePosition",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -49643,7 +49643,7 @@ int lua_cocos2dx_ParticleSystem_getEndSpinVar(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getEndSpinVar",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:getEndSpinVar",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -49683,13 +49683,13 @@ int lua_cocos2dx_ParticleSystem_setBlendAdditive(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.ParticleSystem:setBlendAdditive"); if(!ok) return 0; cobj->setBlendAdditive(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setBlendAdditive",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setBlendAdditive",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -49729,13 +49729,13 @@ int lua_cocos2dx_ParticleSystem_setLife(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ParticleSystem:setLife"); if(!ok) return 0; cobj->setLife(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setLife",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setLife",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -49775,13 +49775,13 @@ int lua_cocos2dx_ParticleSystem_setAngleVar(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ParticleSystem:setAngleVar"); if(!ok) return 0; cobj->setAngleVar(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAngleVar",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setAngleVar",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -49821,13 +49821,13 @@ int lua_cocos2dx_ParticleSystem_setRotationIsDir(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.ParticleSystem:setRotationIsDir"); if(!ok) return 0; cobj->setRotationIsDir(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setRotationIsDir",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setRotationIsDir",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -49867,13 +49867,13 @@ int lua_cocos2dx_ParticleSystem_setEndSizeVar(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ParticleSystem:setEndSizeVar"); if(!ok) return 0; cobj->setEndSizeVar(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setEndSizeVar",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setEndSizeVar",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -49913,13 +49913,13 @@ int lua_cocos2dx_ParticleSystem_setAngle(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ParticleSystem:setAngle"); if(!ok) return 0; cobj->setAngle(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAngle",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setAngle",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -49965,7 +49965,7 @@ int lua_cocos2dx_ParticleSystem_setBatchNode(lua_State* tolua_S) cobj->setBatchNode(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setBatchNode",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setBatchNode",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -50009,7 +50009,7 @@ int lua_cocos2dx_ParticleSystem_getTangentialAccelVar(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTangentialAccelVar",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:getTangentialAccelVar",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -50053,7 +50053,7 @@ int lua_cocos2dx_ParticleSystem_getEmitterMode(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getEmitterMode",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:getEmitterMode",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -50093,13 +50093,13 @@ int lua_cocos2dx_ParticleSystem_setEndSpinVar(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ParticleSystem:setEndSpinVar"); if(!ok) return 0; cobj->setEndSpinVar(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setEndSpinVar",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setEndSpinVar",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -50143,7 +50143,7 @@ int lua_cocos2dx_ParticleSystem_getAngleVar(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAngleVar",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:getAngleVar",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -50183,13 +50183,13 @@ int lua_cocos2dx_ParticleSystem_setStartColor(lua_State* tolua_S) { cocos2d::Color4F arg0; - ok &=luaval_to_color4f(tolua_S, 2, &arg0); + ok &=luaval_to_color4f(tolua_S, 2, &arg0, "cc.ParticleSystem:setStartColor"); if(!ok) return 0; cobj->setStartColor(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setStartColor",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setStartColor",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -50233,7 +50233,7 @@ int lua_cocos2dx_ParticleSystem_getRotatePerSecondVar(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getRotatePerSecondVar",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:getRotatePerSecondVar",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -50277,7 +50277,7 @@ int lua_cocos2dx_ParticleSystem_getEndSize(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getEndSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:getEndSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -50321,7 +50321,7 @@ int lua_cocos2dx_ParticleSystem_getLife(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getLife",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:getLife",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -50361,13 +50361,13 @@ int lua_cocos2dx_ParticleSystem_setSpeedVar(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ParticleSystem:setSpeedVar"); if(!ok) return 0; cobj->setSpeedVar(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setSpeedVar",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setSpeedVar",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -50407,13 +50407,13 @@ int lua_cocos2dx_ParticleSystem_setAutoRemoveOnFinish(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.ParticleSystem:setAutoRemoveOnFinish"); if(!ok) return 0; cobj->setAutoRemoveOnFinish(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAutoRemoveOnFinish",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setAutoRemoveOnFinish",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -50453,13 +50453,13 @@ int lua_cocos2dx_ParticleSystem_setGravity(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.ParticleSystem:setGravity"); if(!ok) return 0; cobj->setGravity(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setGravity",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setGravity",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -50502,7 +50502,7 @@ int lua_cocos2dx_ParticleSystem_postStep(lua_State* tolua_S) cobj->postStep(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "postStep",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:postStep",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -50542,13 +50542,13 @@ int lua_cocos2dx_ParticleSystem_setEmissionRate(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ParticleSystem:setEmissionRate"); if(!ok) return 0; cobj->setEmissionRate(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setEmissionRate",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setEmissionRate",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -50592,7 +50592,7 @@ int lua_cocos2dx_ParticleSystem_getEndColorVar(lua_State* tolua_S) color4f_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getEndColorVar",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:getEndColorVar",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -50636,7 +50636,7 @@ int lua_cocos2dx_ParticleSystem_getRotationIsDir(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getRotationIsDir",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:getRotationIsDir",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -50676,13 +50676,13 @@ int lua_cocos2dx_ParticleSystem_setScale(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ParticleSystem:setScale"); if(!ok) return 0; cobj->setScale(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setScale",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setScale",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -50726,7 +50726,7 @@ int lua_cocos2dx_ParticleSystem_getEmissionRate(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getEmissionRate",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:getEmissionRate",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -50770,7 +50770,7 @@ int lua_cocos2dx_ParticleSystem_getEndColor(lua_State* tolua_S) color4f_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getEndColor",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:getEndColor",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -50814,7 +50814,7 @@ int lua_cocos2dx_ParticleSystem_getLifeVar(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getLifeVar",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:getLifeVar",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -50854,13 +50854,13 @@ int lua_cocos2dx_ParticleSystem_setStartSizeVar(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ParticleSystem:setStartSizeVar"); if(!ok) return 0; cobj->setStartSizeVar(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setStartSizeVar",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setStartSizeVar",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -50900,13 +50900,13 @@ int lua_cocos2dx_ParticleSystem_setOpacityModifyRGB(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.ParticleSystem:setOpacityModifyRGB"); if(!ok) return 0; cobj->setOpacityModifyRGB(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setOpacityModifyRGB",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setOpacityModifyRGB",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -50950,7 +50950,7 @@ int lua_cocos2dx_ParticleSystem_addParticle(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addParticle",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:addParticle",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -50994,7 +50994,7 @@ int lua_cocos2dx_ParticleSystem_getStartRadius(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getStartRadius",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:getStartRadius",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -51038,7 +51038,7 @@ int lua_cocos2dx_ParticleSystem_getParticleCount(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getParticleCount",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:getParticleCount",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -51082,7 +51082,7 @@ int lua_cocos2dx_ParticleSystem_getStartRadiusVar(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getStartRadiusVar",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:getStartRadiusVar",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -51122,13 +51122,13 @@ int lua_cocos2dx_ParticleSystem_setStartColorVar(lua_State* tolua_S) { cocos2d::Color4F arg0; - ok &=luaval_to_color4f(tolua_S, 2, &arg0); + ok &=luaval_to_color4f(tolua_S, 2, &arg0, "cc.ParticleSystem:setStartColorVar"); if(!ok) return 0; cobj->setStartColorVar(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setStartColorVar",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setStartColorVar",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -51168,13 +51168,13 @@ int lua_cocos2dx_ParticleSystem_setEndSpin(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ParticleSystem:setEndSpin"); if(!ok) return 0; cobj->setEndSpin(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setEndSpin",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setEndSpin",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -51214,13 +51214,13 @@ int lua_cocos2dx_ParticleSystem_setRadialAccel(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ParticleSystem:setRadialAccel"); if(!ok) return 0; cobj->setRadialAccel(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setRadialAccel",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setRadialAccel",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -51264,7 +51264,7 @@ int lua_cocos2dx_ParticleSystem_isAutoRemoveOnFinish(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isAutoRemoveOnFinish",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:isAutoRemoveOnFinish",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -51308,7 +51308,7 @@ int lua_cocos2dx_ParticleSystem_getTotalParticles(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTotalParticles",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:getTotalParticles",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -51348,13 +51348,13 @@ int lua_cocos2dx_ParticleSystem_setStartRadiusVar(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ParticleSystem:setStartRadiusVar"); if(!ok) return 0; cobj->setStartRadiusVar(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setStartRadiusVar",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:setStartRadiusVar",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -51398,7 +51398,7 @@ int lua_cocos2dx_ParticleSystem_getEndRadiusVar(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getEndRadiusVar",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:getEndRadiusVar",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -51442,7 +51442,7 @@ int lua_cocos2dx_ParticleSystem_getStartColorVar(lua_State* tolua_S) color4f_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getStartColorVar",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystem:getStartColorVar",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -51470,14 +51470,14 @@ int lua_cocos2dx_ParticleSystem_create(lua_State* tolua_S) if (argc == 1) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.ParticleSystem:create"); if(!ok) return 0; cocos2d::ParticleSystem* ret = cocos2d::ParticleSystem::create(arg0); object_to_luaval(tolua_S, "cc.ParticleSystem",(cocos2d::ParticleSystem*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ParticleSystem:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -51503,14 +51503,14 @@ int lua_cocos2dx_ParticleSystem_createWithTotalParticles(lua_State* tolua_S) if (argc == 1) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.ParticleSystem:createWithTotalParticles"); if(!ok) return 0; cocos2d::ParticleSystem* ret = cocos2d::ParticleSystem::createWithTotalParticles(arg0); object_to_luaval(tolua_S, "cc.ParticleSystem",(cocos2d::ParticleSystem*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createWithTotalParticles",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ParticleSystem:createWithTotalParticles",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -51673,7 +51673,7 @@ int lua_cocos2dx_ParticleSystemQuad_setDisplayFrame(lua_State* tolua_S) cobj->setDisplayFrame(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setDisplayFrame",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystemQuad:setDisplayFrame",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -51716,13 +51716,13 @@ int lua_cocos2dx_ParticleSystemQuad_setTextureWithRect(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 2, "cc.Texture2D",&arg0); - ok &= luaval_to_rect(tolua_S, 3, &arg1); + ok &= luaval_to_rect(tolua_S, 3, &arg1, "cc.ParticleSystemQuad:setTextureWithRect"); if(!ok) return 0; cobj->setTextureWithRect(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTextureWithRect",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystemQuad:setTextureWithRect",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -51768,7 +51768,7 @@ int lua_cocos2dx_ParticleSystemQuad_listenRendererRecreated(lua_State* tolua_S) cobj->listenRendererRecreated(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "listenRendererRecreated",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParticleSystemQuad:listenRendererRecreated",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -51797,7 +51797,7 @@ int lua_cocos2dx_ParticleSystemQuad_create(lua_State* tolua_S) if (argc == 1) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.ParticleSystemQuad:create"); if (!ok) { break; } cocos2d::ParticleSystemQuad* ret = cocos2d::ParticleSystemQuad::create(arg0); object_to_luaval(tolua_S, "cc.ParticleSystemQuad",(cocos2d::ParticleSystemQuad*)ret); @@ -51820,7 +51820,7 @@ int lua_cocos2dx_ParticleSystemQuad_create(lua_State* tolua_S) if (argc == 1) { cocos2d::ValueMap arg0; - ok &= luaval_to_ccvaluemap(tolua_S, 2, &arg0); + ok &= luaval_to_ccvaluemap(tolua_S, 2, &arg0, "cc.ParticleSystemQuad:create"); if (!ok) { break; } cocos2d::ParticleSystemQuad* ret = cocos2d::ParticleSystemQuad::create(arg0); object_to_luaval(tolua_S, "cc.ParticleSystemQuad",(cocos2d::ParticleSystemQuad*)ret); @@ -51828,7 +51828,7 @@ int lua_cocos2dx_ParticleSystemQuad_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.ParticleSystemQuad:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -51854,14 +51854,14 @@ int lua_cocos2dx_ParticleSystemQuad_createWithTotalParticles(lua_State* tolua_S) if (argc == 1) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.ParticleSystemQuad:createWithTotalParticles"); if(!ok) return 0; cocos2d::ParticleSystemQuad* ret = cocos2d::ParticleSystemQuad::createWithTotalParticles(arg0); object_to_luaval(tolua_S, "cc.ParticleSystemQuad",(cocos2d::ParticleSystemQuad*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createWithTotalParticles",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ParticleSystemQuad:createWithTotalParticles",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -51916,7 +51916,7 @@ int lua_cocos2dx_ParticleFire_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.ParticleFire",(cocos2d::ParticleFire*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ParticleFire:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -51942,14 +51942,14 @@ int lua_cocos2dx_ParticleFire_createWithTotalParticles(lua_State* tolua_S) if (argc == 1) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.ParticleFire:createWithTotalParticles"); if(!ok) return 0; cocos2d::ParticleFire* ret = cocos2d::ParticleFire::createWithTotalParticles(arg0); object_to_luaval(tolua_S, "cc.ParticleFire",(cocos2d::ParticleFire*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createWithTotalParticles",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ParticleFire:createWithTotalParticles",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -52001,7 +52001,7 @@ int lua_cocos2dx_ParticleFireworks_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.ParticleFireworks",(cocos2d::ParticleFireworks*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ParticleFireworks:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -52027,14 +52027,14 @@ int lua_cocos2dx_ParticleFireworks_createWithTotalParticles(lua_State* tolua_S) if (argc == 1) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.ParticleFireworks:createWithTotalParticles"); if(!ok) return 0; cocos2d::ParticleFireworks* ret = cocos2d::ParticleFireworks::createWithTotalParticles(arg0); object_to_luaval(tolua_S, "cc.ParticleFireworks",(cocos2d::ParticleFireworks*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createWithTotalParticles",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ParticleFireworks:createWithTotalParticles",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -52086,7 +52086,7 @@ int lua_cocos2dx_ParticleSun_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.ParticleSun",(cocos2d::ParticleSun*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ParticleSun:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -52112,14 +52112,14 @@ int lua_cocos2dx_ParticleSun_createWithTotalParticles(lua_State* tolua_S) if (argc == 1) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.ParticleSun:createWithTotalParticles"); if(!ok) return 0; cocos2d::ParticleSun* ret = cocos2d::ParticleSun::createWithTotalParticles(arg0); object_to_luaval(tolua_S, "cc.ParticleSun",(cocos2d::ParticleSun*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createWithTotalParticles",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ParticleSun:createWithTotalParticles",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -52171,7 +52171,7 @@ int lua_cocos2dx_ParticleGalaxy_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.ParticleGalaxy",(cocos2d::ParticleGalaxy*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ParticleGalaxy:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -52197,14 +52197,14 @@ int lua_cocos2dx_ParticleGalaxy_createWithTotalParticles(lua_State* tolua_S) if (argc == 1) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.ParticleGalaxy:createWithTotalParticles"); if(!ok) return 0; cocos2d::ParticleGalaxy* ret = cocos2d::ParticleGalaxy::createWithTotalParticles(arg0); object_to_luaval(tolua_S, "cc.ParticleGalaxy",(cocos2d::ParticleGalaxy*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createWithTotalParticles",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ParticleGalaxy:createWithTotalParticles",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -52256,7 +52256,7 @@ int lua_cocos2dx_ParticleFlower_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.ParticleFlower",(cocos2d::ParticleFlower*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ParticleFlower:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -52282,14 +52282,14 @@ int lua_cocos2dx_ParticleFlower_createWithTotalParticles(lua_State* tolua_S) if (argc == 1) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.ParticleFlower:createWithTotalParticles"); if(!ok) return 0; cocos2d::ParticleFlower* ret = cocos2d::ParticleFlower::createWithTotalParticles(arg0); object_to_luaval(tolua_S, "cc.ParticleFlower",(cocos2d::ParticleFlower*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createWithTotalParticles",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ParticleFlower:createWithTotalParticles",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -52341,7 +52341,7 @@ int lua_cocos2dx_ParticleMeteor_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.ParticleMeteor",(cocos2d::ParticleMeteor*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ParticleMeteor:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -52367,14 +52367,14 @@ int lua_cocos2dx_ParticleMeteor_createWithTotalParticles(lua_State* tolua_S) if (argc == 1) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.ParticleMeteor:createWithTotalParticles"); if(!ok) return 0; cocos2d::ParticleMeteor* ret = cocos2d::ParticleMeteor::createWithTotalParticles(arg0); object_to_luaval(tolua_S, "cc.ParticleMeteor",(cocos2d::ParticleMeteor*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createWithTotalParticles",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ParticleMeteor:createWithTotalParticles",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -52426,7 +52426,7 @@ int lua_cocos2dx_ParticleSpiral_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.ParticleSpiral",(cocos2d::ParticleSpiral*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ParticleSpiral:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -52452,14 +52452,14 @@ int lua_cocos2dx_ParticleSpiral_createWithTotalParticles(lua_State* tolua_S) if (argc == 1) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.ParticleSpiral:createWithTotalParticles"); if(!ok) return 0; cocos2d::ParticleSpiral* ret = cocos2d::ParticleSpiral::createWithTotalParticles(arg0); object_to_luaval(tolua_S, "cc.ParticleSpiral",(cocos2d::ParticleSpiral*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createWithTotalParticles",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ParticleSpiral:createWithTotalParticles",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -52511,7 +52511,7 @@ int lua_cocos2dx_ParticleExplosion_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.ParticleExplosion",(cocos2d::ParticleExplosion*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ParticleExplosion:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -52537,14 +52537,14 @@ int lua_cocos2dx_ParticleExplosion_createWithTotalParticles(lua_State* tolua_S) if (argc == 1) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.ParticleExplosion:createWithTotalParticles"); if(!ok) return 0; cocos2d::ParticleExplosion* ret = cocos2d::ParticleExplosion::createWithTotalParticles(arg0); object_to_luaval(tolua_S, "cc.ParticleExplosion",(cocos2d::ParticleExplosion*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createWithTotalParticles",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ParticleExplosion:createWithTotalParticles",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -52596,7 +52596,7 @@ int lua_cocos2dx_ParticleSmoke_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.ParticleSmoke",(cocos2d::ParticleSmoke*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ParticleSmoke:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -52622,14 +52622,14 @@ int lua_cocos2dx_ParticleSmoke_createWithTotalParticles(lua_State* tolua_S) if (argc == 1) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.ParticleSmoke:createWithTotalParticles"); if(!ok) return 0; cocos2d::ParticleSmoke* ret = cocos2d::ParticleSmoke::createWithTotalParticles(arg0); object_to_luaval(tolua_S, "cc.ParticleSmoke",(cocos2d::ParticleSmoke*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createWithTotalParticles",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ParticleSmoke:createWithTotalParticles",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -52681,7 +52681,7 @@ int lua_cocos2dx_ParticleSnow_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.ParticleSnow",(cocos2d::ParticleSnow*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ParticleSnow:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -52707,14 +52707,14 @@ int lua_cocos2dx_ParticleSnow_createWithTotalParticles(lua_State* tolua_S) if (argc == 1) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.ParticleSnow:createWithTotalParticles"); if(!ok) return 0; cocos2d::ParticleSnow* ret = cocos2d::ParticleSnow::createWithTotalParticles(arg0); object_to_luaval(tolua_S, "cc.ParticleSnow",(cocos2d::ParticleSnow*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createWithTotalParticles",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ParticleSnow:createWithTotalParticles",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -52766,7 +52766,7 @@ int lua_cocos2dx_ParticleRain_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.ParticleRain",(cocos2d::ParticleRain*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ParticleRain:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -52792,14 +52792,14 @@ int lua_cocos2dx_ParticleRain_createWithTotalParticles(lua_State* tolua_S) if (argc == 1) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.ParticleRain:createWithTotalParticles"); if(!ok) return 0; cocos2d::ParticleRain* ret = cocos2d::ParticleRain::createWithTotalParticles(arg0); object_to_luaval(tolua_S, "cc.ParticleRain",(cocos2d::ParticleRain*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createWithTotalParticles",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ParticleRain:createWithTotalParticles",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -52858,13 +52858,13 @@ int lua_cocos2dx_GridBase_setGridSize(lua_State* tolua_S) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.GridBase:setGridSize"); if(!ok) return 0; cobj->setGridSize(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setGridSize",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GridBase:setGridSize",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -52907,7 +52907,7 @@ int lua_cocos2dx_GridBase_calculateVertexPoints(lua_State* tolua_S) cobj->calculateVertexPoints(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "calculateVertexPoints",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GridBase:calculateVertexPoints",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -52953,7 +52953,7 @@ int lua_cocos2dx_GridBase_afterDraw(lua_State* tolua_S) cobj->afterDraw(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "afterDraw",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GridBase:afterDraw",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -52996,7 +52996,7 @@ int lua_cocos2dx_GridBase_beforeDraw(lua_State* tolua_S) cobj->beforeDraw(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "beforeDraw",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GridBase:beforeDraw",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -53040,7 +53040,7 @@ int lua_cocos2dx_GridBase_isTextureFlipped(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isTextureFlipped",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GridBase:isTextureFlipped",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -53084,7 +53084,7 @@ int lua_cocos2dx_GridBase_getGridSize(lua_State* tolua_S) size_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getGridSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GridBase:getGridSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -53128,7 +53128,7 @@ int lua_cocos2dx_GridBase_getStep(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getStep",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GridBase:getStep",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -53171,7 +53171,7 @@ int lua_cocos2dx_GridBase_set2DProjection(lua_State* tolua_S) cobj->set2DProjection(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "set2DProjection",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GridBase:set2DProjection",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -53211,13 +53211,13 @@ int lua_cocos2dx_GridBase_setStep(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.GridBase:setStep"); if(!ok) return 0; cobj->setStep(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setStep",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GridBase:setStep",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -53257,13 +53257,13 @@ int lua_cocos2dx_GridBase_setTextureFlipped(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.GridBase:setTextureFlipped"); if(!ok) return 0; cobj->setTextureFlipped(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTextureFlipped",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GridBase:setTextureFlipped",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -53306,7 +53306,7 @@ int lua_cocos2dx_GridBase_blit(lua_State* tolua_S) cobj->blit(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "blit",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GridBase:blit",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -53346,13 +53346,13 @@ int lua_cocos2dx_GridBase_setActive(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.GridBase:setActive"); if(!ok) return 0; cobj->setActive(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setActive",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GridBase:setActive",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -53396,7 +53396,7 @@ int lua_cocos2dx_GridBase_getReuseGrid(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getReuseGrid",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GridBase:getReuseGrid",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -53430,7 +53430,7 @@ int lua_cocos2dx_GridBase_initWithSize(lua_State* tolua_S) do{ if (argc == 1) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.GridBase:initWithSize"); if (!ok) { break; } bool ret = cobj->initWithSize(arg0); @@ -53442,7 +53442,7 @@ int lua_cocos2dx_GridBase_initWithSize(lua_State* tolua_S) do{ if (argc == 3) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.GridBase:initWithSize"); if (!ok) { break; } cocos2d::Texture2D* arg1; @@ -53450,7 +53450,7 @@ int lua_cocos2dx_GridBase_initWithSize(lua_State* tolua_S) if (!ok) { break; } bool arg2; - ok &= luaval_to_boolean(tolua_S, 4,&arg2); + ok &= luaval_to_boolean(tolua_S, 4,&arg2, "cc.GridBase:initWithSize"); if (!ok) { break; } bool ret = cobj->initWithSize(arg0, arg1, arg2); @@ -53459,7 +53459,7 @@ int lua_cocos2dx_GridBase_initWithSize(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "initWithSize",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GridBase:initWithSize",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 @@ -53499,13 +53499,13 @@ int lua_cocos2dx_GridBase_setReuseGrid(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.GridBase:setReuseGrid"); if(!ok) return 0; cobj->setReuseGrid(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setReuseGrid",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GridBase:setReuseGrid",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -53549,7 +53549,7 @@ int lua_cocos2dx_GridBase_isActive(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isActive",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GridBase:isActive",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -53592,7 +53592,7 @@ int lua_cocos2dx_GridBase_reuse(lua_State* tolua_S) cobj->reuse(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "reuse",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GridBase:reuse",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -53621,7 +53621,7 @@ int lua_cocos2dx_GridBase_create(lua_State* tolua_S) if (argc == 1) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.GridBase:create"); if (!ok) { break; } cocos2d::GridBase* ret = cocos2d::GridBase::create(arg0); object_to_luaval(tolua_S, "cc.GridBase",(cocos2d::GridBase*)ret); @@ -53634,13 +53634,13 @@ int lua_cocos2dx_GridBase_create(lua_State* tolua_S) if (argc == 3) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.GridBase:create"); if (!ok) { break; } cocos2d::Texture2D* arg1; ok &= luaval_to_object(tolua_S, 3, "cc.Texture2D",&arg1); if (!ok) { break; } bool arg2; - ok &= luaval_to_boolean(tolua_S, 4,&arg2); + ok &= luaval_to_boolean(tolua_S, 4,&arg2, "cc.GridBase:create"); if (!ok) { break; } cocos2d::GridBase* ret = cocos2d::GridBase::create(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.GridBase",(cocos2d::GridBase*)ret); @@ -53648,7 +53648,7 @@ int lua_cocos2dx_GridBase_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.GridBase:create",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -53712,7 +53712,7 @@ int lua_cocos2dx_Grid3D_create(lua_State* tolua_S) if (argc == 1) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.Grid3D:create"); if (!ok) { break; } cocos2d::Grid3D* ret = cocos2d::Grid3D::create(arg0); object_to_luaval(tolua_S, "cc.Grid3D",(cocos2d::Grid3D*)ret); @@ -53725,13 +53725,13 @@ int lua_cocos2dx_Grid3D_create(lua_State* tolua_S) if (argc == 3) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.Grid3D:create"); if (!ok) { break; } cocos2d::Texture2D* arg1; ok &= luaval_to_object(tolua_S, 3, "cc.Texture2D",&arg1); if (!ok) { break; } bool arg2; - ok &= luaval_to_boolean(tolua_S, 4,&arg2); + ok &= luaval_to_boolean(tolua_S, 4,&arg2, "cc.Grid3D:create"); if (!ok) { break; } cocos2d::Grid3D* ret = cocos2d::Grid3D::create(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.Grid3D",(cocos2d::Grid3D*)ret); @@ -53739,7 +53739,7 @@ int lua_cocos2dx_Grid3D_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.Grid3D:create",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -53771,7 +53771,7 @@ int lua_cocos2dx_Grid3D_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.Grid3D"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "Grid3D",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Grid3D:Grid3D",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -53821,7 +53821,7 @@ int lua_cocos2dx_TiledGrid3D_create(lua_State* tolua_S) if (argc == 1) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.TiledGrid3D:create"); if (!ok) { break; } cocos2d::TiledGrid3D* ret = cocos2d::TiledGrid3D::create(arg0); object_to_luaval(tolua_S, "cc.TiledGrid3D",(cocos2d::TiledGrid3D*)ret); @@ -53834,13 +53834,13 @@ int lua_cocos2dx_TiledGrid3D_create(lua_State* tolua_S) if (argc == 3) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.TiledGrid3D:create"); if (!ok) { break; } cocos2d::Texture2D* arg1; ok &= luaval_to_object(tolua_S, 3, "cc.Texture2D",&arg1); if (!ok) { break; } bool arg2; - ok &= luaval_to_boolean(tolua_S, 4,&arg2); + ok &= luaval_to_boolean(tolua_S, 4,&arg2, "cc.TiledGrid3D:create"); if (!ok) { break; } cocos2d::TiledGrid3D* ret = cocos2d::TiledGrid3D::create(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.TiledGrid3D",(cocos2d::TiledGrid3D*)ret); @@ -53848,7 +53848,7 @@ int lua_cocos2dx_TiledGrid3D_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.TiledGrid3D:create",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -53880,7 +53880,7 @@ int lua_cocos2dx_TiledGrid3D_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.TiledGrid3D"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "TiledGrid3D",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TiledGrid3D:TiledGrid3D",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -53944,13 +53944,13 @@ int lua_cocos2dx_GLProgramCache_addGLProgram(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 2, "cc.GLProgram",&arg0); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "cc.GLProgramCache:addGLProgram"); if(!ok) return 0; cobj->addGLProgram(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addGLProgram",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLProgramCache:addGLProgram",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -53990,14 +53990,14 @@ int lua_cocos2dx_GLProgramCache_getGLProgram(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.GLProgramCache:getGLProgram"); if(!ok) return 0; cocos2d::GLProgram* ret = cobj->getGLProgram(arg0); object_to_luaval(tolua_S, "cc.GLProgram",(cocos2d::GLProgram*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getGLProgram",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLProgramCache:getGLProgram",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -54040,7 +54040,7 @@ int lua_cocos2dx_GLProgramCache_reloadDefaultGLPrograms(lua_State* tolua_S) cobj->reloadDefaultGLPrograms(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "reloadDefaultGLPrograms",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLProgramCache:reloadDefaultGLPrograms",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -54083,7 +54083,7 @@ int lua_cocos2dx_GLProgramCache_loadDefaultGLPrograms(lua_State* tolua_S) cobj->loadDefaultGLPrograms(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "loadDefaultGLPrograms",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLProgramCache:loadDefaultGLPrograms",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -54115,7 +54115,7 @@ int lua_cocos2dx_GLProgramCache_destroyInstance(lua_State* tolua_S) cocos2d::GLProgramCache::destroyInstance(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "destroyInstance",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.GLProgramCache:destroyInstance",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -54146,7 +54146,7 @@ int lua_cocos2dx_GLProgramCache_getInstance(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.GLProgramCache",(cocos2d::GLProgramCache*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "getInstance",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.GLProgramCache:getInstance",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -54178,7 +54178,7 @@ int lua_cocos2dx_GLProgramCache_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.GLProgramCache"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "GLProgramCache",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLProgramCache:GLProgramCache",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -54244,14 +54244,14 @@ int lua_cocos2dx_TextureCache_reloadTexture(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.TextureCache:reloadTexture"); if(!ok) return 0; bool ret = cobj->reloadTexture(arg0); tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "reloadTexture",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TextureCache:reloadTexture",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -54294,7 +54294,7 @@ int lua_cocos2dx_TextureCache_unbindAllImageAsync(lua_State* tolua_S) cobj->unbindAllImageAsync(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "unbindAllImageAsync",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TextureCache:unbindAllImageAsync",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -54334,13 +54334,13 @@ int lua_cocos2dx_TextureCache_removeTextureForKey(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.TextureCache:removeTextureForKey"); if(!ok) return 0; cobj->removeTextureForKey(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeTextureForKey",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TextureCache:removeTextureForKey",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -54383,7 +54383,7 @@ int lua_cocos2dx_TextureCache_removeAllTextures(lua_State* tolua_S) cobj->removeAllTextures(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeAllTextures",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TextureCache:removeAllTextures",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -54427,7 +54427,7 @@ int lua_cocos2dx_TextureCache_getDescription(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDescription",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TextureCache:getDescription",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -54471,7 +54471,7 @@ int lua_cocos2dx_TextureCache_getCachedTextureInfo(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getCachedTextureInfo",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TextureCache:getCachedTextureInfo",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -54509,7 +54509,7 @@ int lua_cocos2dx_TextureCache_addImage(lua_State* tolua_S) if (!ok) { break; } std::string arg1; - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "cc.TextureCache:addImage"); if (!ok) { break; } cocos2d::Texture2D* ret = cobj->addImage(arg0, arg1); @@ -54521,7 +54521,7 @@ int lua_cocos2dx_TextureCache_addImage(lua_State* tolua_S) do{ if (argc == 1) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.TextureCache:addImage"); if (!ok) { break; } cocos2d::Texture2D* ret = cobj->addImage(arg0); @@ -54530,7 +54530,7 @@ int lua_cocos2dx_TextureCache_addImage(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addImage",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TextureCache:addImage",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -54570,13 +54570,13 @@ int lua_cocos2dx_TextureCache_unbindImageAsync(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.TextureCache:unbindImageAsync"); if(!ok) return 0; cobj->unbindImageAsync(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "unbindImageAsync",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TextureCache:unbindImageAsync",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -54616,14 +54616,14 @@ int lua_cocos2dx_TextureCache_getTextureForKey(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.TextureCache:getTextureForKey"); if(!ok) return 0; cocos2d::Texture2D* ret = cobj->getTextureForKey(arg0); object_to_luaval(tolua_S, "cc.Texture2D",(cocos2d::Texture2D*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTextureForKey",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TextureCache:getTextureForKey",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -54666,7 +54666,7 @@ int lua_cocos2dx_TextureCache_removeUnusedTextures(lua_State* tolua_S) cobj->removeUnusedTextures(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeUnusedTextures",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TextureCache:removeUnusedTextures",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -54712,7 +54712,7 @@ int lua_cocos2dx_TextureCache_removeTexture(lua_State* tolua_S) cobj->removeTexture(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeTexture",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TextureCache:removeTexture",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -54755,7 +54755,7 @@ int lua_cocos2dx_TextureCache_waitForQuit(lua_State* tolua_S) cobj->waitForQuit(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "waitForQuit",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TextureCache:waitForQuit",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -54789,7 +54789,7 @@ int lua_cocos2dx_TextureCache_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.TextureCache"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "TextureCache",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TextureCache:TextureCache",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -54865,7 +54865,7 @@ int lua_cocos2dx_Application_getTargetPlatform(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTargetPlatform",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Application:getTargetPlatform",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -54909,7 +54909,7 @@ int lua_cocos2dx_Application_getCurrentLanguageCode(lua_State* tolua_S) tolua_pushstring(tolua_S,(const char*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getCurrentLanguageCode",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Application:getCurrentLanguageCode",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -54953,7 +54953,7 @@ int lua_cocos2dx_Application_getCurrentLanguage(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getCurrentLanguage",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Application:getCurrentLanguage",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -54993,13 +54993,13 @@ int lua_cocos2dx_Application_setAnimationInterval(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Application:setAnimationInterval"); if(!ok) return 0; cobj->setAnimationInterval(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAnimationInterval",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Application:setAnimationInterval",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -55032,7 +55032,7 @@ int lua_cocos2dx_Application_getInstance(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Application",(cocos2d::Application*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "getInstance",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Application:getInstance",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -55095,15 +55095,15 @@ int lua_cocos2dx_GLViewProtocol_setFrameSize(lua_State* tolua_S) double arg0; double arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.GLViewProtocol:setFrameSize"); - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.GLViewProtocol:setFrameSize"); if(!ok) return 0; cobj->setFrameSize(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setFrameSize",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLViewProtocol:setFrameSize",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -55147,7 +55147,7 @@ int lua_cocos2dx_GLViewProtocol_getViewPortRect(lua_State* tolua_S) rect_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getViewPortRect",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLViewProtocol:getViewPortRect",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -55187,13 +55187,13 @@ int lua_cocos2dx_GLViewProtocol_setIMEKeyboardState(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.GLViewProtocol:setIMEKeyboardState"); if(!ok) return 0; cobj->setIMEKeyboardState(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setIMEKeyboardState",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLViewProtocol:setIMEKeyboardState",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -55236,19 +55236,19 @@ int lua_cocos2dx_GLViewProtocol_setScissorInPoints(lua_State* tolua_S) double arg2; double arg3; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.GLViewProtocol:setScissorInPoints"); - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.GLViewProtocol:setScissorInPoints"); - ok &= luaval_to_number(tolua_S, 4,&arg2); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.GLViewProtocol:setScissorInPoints"); - ok &= luaval_to_number(tolua_S, 5,&arg3); + ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.GLViewProtocol:setScissorInPoints"); if(!ok) return 0; cobj->setScissorInPoints(arg0, arg1, arg2, arg3); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setScissorInPoints",argc, 4); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLViewProtocol:setScissorInPoints",argc, 4); return 0; #if COCOS2D_DEBUG >= 1 @@ -55292,7 +55292,7 @@ int lua_cocos2dx_GLViewProtocol_getViewName(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getViewName",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLViewProtocol:getViewName",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -55336,7 +55336,7 @@ int lua_cocos2dx_GLViewProtocol_isOpenGLReady(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isOpenGLReady",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLViewProtocol:isOpenGLReady",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -55379,7 +55379,7 @@ int lua_cocos2dx_GLViewProtocol_end(lua_State* tolua_S) cobj->end(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "end",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLViewProtocol:end",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -55423,7 +55423,7 @@ int lua_cocos2dx_GLViewProtocol_getScaleY(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getScaleY",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLViewProtocol:getScaleY",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -55467,7 +55467,7 @@ int lua_cocos2dx_GLViewProtocol_getScaleX(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getScaleX",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLViewProtocol:getScaleX",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -55511,7 +55511,7 @@ int lua_cocos2dx_GLViewProtocol_getVisibleOrigin(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getVisibleOrigin",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLViewProtocol:getVisibleOrigin",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -55555,7 +55555,7 @@ int lua_cocos2dx_GLViewProtocol_getFrameSize(lua_State* tolua_S) size_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getFrameSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLViewProtocol:getFrameSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -55599,7 +55599,7 @@ int lua_cocos2dx_GLViewProtocol_getDesignResolutionSize(lua_State* tolua_S) size_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDesignResolutionSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLViewProtocol:getDesignResolutionSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -55642,7 +55642,7 @@ int lua_cocos2dx_GLViewProtocol_pollInputEvents(lua_State* tolua_S) cobj->pollInputEvents(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "pollInputEvents",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLViewProtocol:pollInputEvents",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -55685,7 +55685,7 @@ int lua_cocos2dx_GLViewProtocol_swapBuffers(lua_State* tolua_S) cobj->swapBuffers(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "swapBuffers",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLViewProtocol:swapBuffers",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -55727,17 +55727,17 @@ int lua_cocos2dx_GLViewProtocol_setDesignResolutionSize(lua_State* tolua_S) double arg1; ResolutionPolicy arg2; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.GLViewProtocol:setDesignResolutionSize"); - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.GLViewProtocol:setDesignResolutionSize"); - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "cc.GLViewProtocol:setDesignResolutionSize"); if(!ok) return 0; cobj->setDesignResolutionSize(arg0, arg1, arg2); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setDesignResolutionSize",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLViewProtocol:setDesignResolutionSize",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 @@ -55781,7 +55781,7 @@ int lua_cocos2dx_GLViewProtocol_getResolutionPolicy(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getResolutionPolicy",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLViewProtocol:getResolutionPolicy",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -55824,19 +55824,19 @@ int lua_cocos2dx_GLViewProtocol_setViewPortInPoints(lua_State* tolua_S) double arg2; double arg3; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.GLViewProtocol:setViewPortInPoints"); - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.GLViewProtocol:setViewPortInPoints"); - ok &= luaval_to_number(tolua_S, 4,&arg2); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.GLViewProtocol:setViewPortInPoints"); - ok &= luaval_to_number(tolua_S, 5,&arg3); + ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.GLViewProtocol:setViewPortInPoints"); if(!ok) return 0; cobj->setViewPortInPoints(arg0, arg1, arg2, arg3); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setViewPortInPoints",argc, 4); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLViewProtocol:setViewPortInPoints",argc, 4); return 0; #if COCOS2D_DEBUG >= 1 @@ -55880,7 +55880,7 @@ int lua_cocos2dx_GLViewProtocol_getScissorRect(lua_State* tolua_S) rect_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getScissorRect",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLViewProtocol:getScissorRect",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -55920,13 +55920,13 @@ int lua_cocos2dx_GLViewProtocol_setViewName(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.GLViewProtocol:setViewName"); if(!ok) return 0; cobj->setViewName(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setViewName",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLViewProtocol:setViewName",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -55970,7 +55970,7 @@ int lua_cocos2dx_GLViewProtocol_getVisibleRect(lua_State* tolua_S) rect_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getVisibleRect",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLViewProtocol:getVisibleRect",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -56014,7 +56014,7 @@ int lua_cocos2dx_GLViewProtocol_getVisibleSize(lua_State* tolua_S) size_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getVisibleSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLViewProtocol:getVisibleSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -56058,7 +56058,7 @@ int lua_cocos2dx_GLViewProtocol_isScissorEnabled(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isScissorEnabled",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.GLViewProtocol:isScissorEnabled",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -56128,8 +56128,8 @@ int lua_cocos2dx_GLView_createWithRect(lua_State* tolua_S) { std::string arg0; cocos2d::Rect arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); - ok &= luaval_to_rect(tolua_S, 3, &arg1); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.GLView:createWithRect"); + ok &= luaval_to_rect(tolua_S, 3, &arg1, "cc.GLView:createWithRect"); if(!ok) return 0; cocos2d::GLView* ret = cocos2d::GLView::createWithRect(arg0, arg1); @@ -56141,16 +56141,16 @@ int lua_cocos2dx_GLView_createWithRect(lua_State* tolua_S) std::string arg0; cocos2d::Rect arg1; double arg2; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); - ok &= luaval_to_rect(tolua_S, 3, &arg1); - ok &= luaval_to_number(tolua_S, 4,&arg2); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.GLView:createWithRect"); + ok &= luaval_to_rect(tolua_S, 3, &arg1, "cc.GLView:createWithRect"); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.GLView:createWithRect"); if(!ok) return 0; cocos2d::GLView* ret = cocos2d::GLView::createWithRect(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.GLView",(cocos2d::GLView*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createWithRect",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.GLView:createWithRect",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -56176,14 +56176,14 @@ int lua_cocos2dx_GLView_create(lua_State* tolua_S) if (argc == 1) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.GLView:create"); if(!ok) return 0; cocos2d::GLView* ret = cocos2d::GLView::create(arg0); object_to_luaval(tolua_S, "cc.GLView",(cocos2d::GLView*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.GLView:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -56209,14 +56209,14 @@ int lua_cocos2dx_GLView_createWithFullScreen(lua_State* tolua_S) if (argc == 1) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.GLView:createWithFullScreen"); if(!ok) return 0; cocos2d::GLView* ret = cocos2d::GLView::createWithFullScreen(arg0); object_to_luaval(tolua_S, "cc.GLView",(cocos2d::GLView*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createWithFullScreen",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.GLView:createWithFullScreen",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -56276,14 +56276,14 @@ int lua_cocos2dx_AnimationCache_getAnimation(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.AnimationCache:getAnimation"); if(!ok) return 0; cocos2d::Animation* ret = cobj->getAnimation(arg0); object_to_luaval(tolua_S, "cc.Animation",(cocos2d::Animation*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAnimation",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.AnimationCache:getAnimation",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -56326,13 +56326,13 @@ int lua_cocos2dx_AnimationCache_addAnimation(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 2, "cc.Animation",&arg0); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "cc.AnimationCache:addAnimation"); if(!ok) return 0; cobj->addAnimation(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addAnimation",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.AnimationCache:addAnimation",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -56376,7 +56376,7 @@ int lua_cocos2dx_AnimationCache_init(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "init",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.AnimationCache:init",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -56417,15 +56417,15 @@ int lua_cocos2dx_AnimationCache_addAnimationsWithDictionary(lua_State* tolua_S) cocos2d::ValueMap arg0; std::string arg1; - ok &= luaval_to_ccvaluemap(tolua_S, 2, &arg0); + ok &= luaval_to_ccvaluemap(tolua_S, 2, &arg0, "cc.AnimationCache:addAnimationsWithDictionary"); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "cc.AnimationCache:addAnimationsWithDictionary"); if(!ok) return 0; cobj->addAnimationsWithDictionary(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addAnimationsWithDictionary",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.AnimationCache:addAnimationsWithDictionary",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -56465,13 +56465,13 @@ int lua_cocos2dx_AnimationCache_removeAnimation(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.AnimationCache:removeAnimation"); if(!ok) return 0; cobj->removeAnimation(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeAnimation",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.AnimationCache:removeAnimation",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -56511,13 +56511,13 @@ int lua_cocos2dx_AnimationCache_addAnimationsWithFile(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.AnimationCache:addAnimationsWithFile"); if(!ok) return 0; cobj->addAnimationsWithFile(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addAnimationsWithFile",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.AnimationCache:addAnimationsWithFile",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -56549,7 +56549,7 @@ int lua_cocos2dx_AnimationCache_destroyInstance(lua_State* tolua_S) cocos2d::AnimationCache::destroyInstance(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "destroyInstance",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.AnimationCache:destroyInstance",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -56580,7 +56580,7 @@ int lua_cocos2dx_AnimationCache_getInstance(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.AnimationCache",(cocos2d::AnimationCache*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "getInstance",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.AnimationCache:getInstance",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -56612,7 +56612,7 @@ int lua_cocos2dx_AnimationCache_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.AnimationCache"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "AnimationCache",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.AnimationCache:AnimationCache",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -56674,11 +56674,11 @@ int lua_cocos2dx_SpriteFrameCache_addSpriteFramesWithFile(lua_State* tolua_S) do{ if (argc == 2) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.SpriteFrameCache:addSpriteFramesWithFile"); if (!ok) { break; } std::string arg1; - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "cc.SpriteFrameCache:addSpriteFramesWithFile"); if (!ok) { break; } cobj->addSpriteFramesWithFile(arg0, arg1); @@ -56689,7 +56689,7 @@ int lua_cocos2dx_SpriteFrameCache_addSpriteFramesWithFile(lua_State* tolua_S) do{ if (argc == 1) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.SpriteFrameCache:addSpriteFramesWithFile"); if (!ok) { break; } cobj->addSpriteFramesWithFile(arg0); @@ -56700,7 +56700,7 @@ int lua_cocos2dx_SpriteFrameCache_addSpriteFramesWithFile(lua_State* tolua_S) do{ if (argc == 2) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.SpriteFrameCache:addSpriteFramesWithFile"); if (!ok) { break; } cocos2d::Texture2D* arg1; @@ -56712,7 +56712,7 @@ int lua_cocos2dx_SpriteFrameCache_addSpriteFramesWithFile(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addSpriteFramesWithFile",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteFrameCache:addSpriteFramesWithFile",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -56755,13 +56755,13 @@ int lua_cocos2dx_SpriteFrameCache_addSpriteFrame(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 2, "cc.SpriteFrame",&arg0); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "cc.SpriteFrameCache:addSpriteFrame"); if(!ok) return 0; cobj->addSpriteFrame(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addSpriteFrame",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteFrameCache:addSpriteFrame",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -56804,7 +56804,7 @@ int lua_cocos2dx_SpriteFrameCache_removeUnusedSpriteFrames(lua_State* tolua_S) cobj->removeUnusedSpriteFrames(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeUnusedSpriteFrames",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteFrameCache:removeUnusedSpriteFrames",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -56844,14 +56844,14 @@ int lua_cocos2dx_SpriteFrameCache_getSpriteFrameByName(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.SpriteFrameCache:getSpriteFrameByName"); if(!ok) return 0; cocos2d::SpriteFrame* ret = cobj->getSpriteFrameByName(arg0); object_to_luaval(tolua_S, "cc.SpriteFrame",(cocos2d::SpriteFrame*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getSpriteFrameByName",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteFrameCache:getSpriteFrameByName",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -56891,13 +56891,13 @@ int lua_cocos2dx_SpriteFrameCache_removeSpriteFramesFromFile(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.SpriteFrameCache:removeSpriteFramesFromFile"); if(!ok) return 0; cobj->removeSpriteFramesFromFile(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeSpriteFramesFromFile",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteFrameCache:removeSpriteFramesFromFile",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -56941,7 +56941,7 @@ int lua_cocos2dx_SpriteFrameCache_init(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "init",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteFrameCache:init",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -56984,7 +56984,7 @@ int lua_cocos2dx_SpriteFrameCache_removeSpriteFrames(lua_State* tolua_S) cobj->removeSpriteFrames(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeSpriteFrames",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteFrameCache:removeSpriteFrames",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -57030,7 +57030,7 @@ int lua_cocos2dx_SpriteFrameCache_removeSpriteFramesFromTexture(lua_State* tolua cobj->removeSpriteFramesFromTexture(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeSpriteFramesFromTexture",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteFrameCache:removeSpriteFramesFromTexture",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -57070,13 +57070,13 @@ int lua_cocos2dx_SpriteFrameCache_removeSpriteFrameByName(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.SpriteFrameCache:removeSpriteFrameByName"); if(!ok) return 0; cobj->removeSpriteFrameByName(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeSpriteFrameByName",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SpriteFrameCache:removeSpriteFrameByName",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -57108,7 +57108,7 @@ int lua_cocos2dx_SpriteFrameCache_destroyInstance(lua_State* tolua_S) cocos2d::SpriteFrameCache::destroyInstance(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "destroyInstance",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.SpriteFrameCache:destroyInstance",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -57139,7 +57139,7 @@ int lua_cocos2dx_SpriteFrameCache_getInstance(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.SpriteFrameCache",(cocos2d::SpriteFrameCache*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "getInstance",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.SpriteFrameCache:getInstance",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -57212,17 +57212,17 @@ int lua_cocos2dx_ParallaxNode_addChild(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 2, "cc.Node",&arg0); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.ParallaxNode:addChild"); - ok &= luaval_to_vec2(tolua_S, 4, &arg2); + ok &= luaval_to_vec2(tolua_S, 4, &arg2, "cc.ParallaxNode:addChild"); - ok &= luaval_to_vec2(tolua_S, 5, &arg3); + ok &= luaval_to_vec2(tolua_S, 5, &arg3, "cc.ParallaxNode:addChild"); if(!ok) return 0; cobj->addChild(arg0, arg1, arg2, arg3); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addChild",argc, 4); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParallaxNode:addChild",argc, 4); return 0; #if COCOS2D_DEBUG >= 1 @@ -57262,13 +57262,13 @@ int lua_cocos2dx_ParallaxNode_removeAllChildrenWithCleanup(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.ParallaxNode:removeAllChildrenWithCleanup"); if(!ok) return 0; cobj->removeAllChildrenWithCleanup(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeAllChildrenWithCleanup",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ParallaxNode:removeAllChildrenWithCleanup",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -57301,7 +57301,7 @@ int lua_cocos2dx_ParallaxNode_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.ParallaxNode",(cocos2d::ParallaxNode*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ParallaxNode:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -57361,13 +57361,13 @@ int lua_cocos2dx_TMXObjectGroup_setPositionOffset(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.TMXObjectGroup:setPositionOffset"); if(!ok) return 0; cobj->setPositionOffset(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setPositionOffset",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXObjectGroup:setPositionOffset",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -57407,14 +57407,14 @@ int lua_cocos2dx_TMXObjectGroup_getProperty(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.TMXObjectGroup:getProperty"); if(!ok) return 0; cocos2d::Value ret = cobj->getProperty(arg0); ccvalue_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getProperty",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXObjectGroup:getProperty",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -57458,7 +57458,7 @@ int lua_cocos2dx_TMXObjectGroup_getPositionOffset(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPositionOffset",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXObjectGroup:getPositionOffset",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -57498,14 +57498,14 @@ int lua_cocos2dx_TMXObjectGroup_getObject(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.TMXObjectGroup:getObject"); if(!ok) return 0; cocos2d::ValueMap ret = cobj->getObject(arg0); ccvaluemap_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getObject",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXObjectGroup:getObject",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -57552,7 +57552,7 @@ int lua_cocos2dx_TMXObjectGroup_getObjects(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getObjects",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXObjectGroup:getObjects",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -57592,13 +57592,13 @@ int lua_cocos2dx_TMXObjectGroup_setGroupName(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.TMXObjectGroup:setGroupName"); if(!ok) return 0; cobj->setGroupName(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setGroupName",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXObjectGroup:setGroupName",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -57645,7 +57645,7 @@ int lua_cocos2dx_TMXObjectGroup_getProperties(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getProperties",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXObjectGroup:getProperties",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -57689,7 +57689,7 @@ int lua_cocos2dx_TMXObjectGroup_getGroupName(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getGroupName",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXObjectGroup:getGroupName",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -57729,13 +57729,13 @@ int lua_cocos2dx_TMXObjectGroup_setProperties(lua_State* tolua_S) { cocos2d::ValueMap arg0; - ok &= luaval_to_ccvaluemap(tolua_S, 2, &arg0); + ok &= luaval_to_ccvaluemap(tolua_S, 2, &arg0, "cc.TMXObjectGroup:setProperties"); if(!ok) return 0; cobj->setProperties(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setProperties",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXObjectGroup:setProperties",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -57775,13 +57775,13 @@ int lua_cocos2dx_TMXObjectGroup_setObjects(lua_State* tolua_S) { cocos2d::ValueVector arg0; - ok &= luaval_to_ccvaluevector(tolua_S, 2, &arg0); + ok &= luaval_to_ccvaluevector(tolua_S, 2, &arg0, "cc.TMXObjectGroup:setObjects"); if(!ok) return 0; cobj->setObjects(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setObjects",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXObjectGroup:setObjects",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -57815,7 +57815,7 @@ int lua_cocos2dx_TMXObjectGroup_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.TMXObjectGroup"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "TMXObjectGroup",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXObjectGroup:TMXObjectGroup",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -57885,13 +57885,13 @@ int lua_cocos2dx_TMXLayerInfo_setProperties(lua_State* tolua_S) { cocos2d::ValueMap arg0; - ok &= luaval_to_ccvaluemap(tolua_S, 2, &arg0); + ok &= luaval_to_ccvaluemap(tolua_S, 2, &arg0, "cc.TMXLayerInfo:setProperties"); if(!ok) return 0; cobj->setProperties(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setProperties",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXLayerInfo:setProperties",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -57935,7 +57935,7 @@ int lua_cocos2dx_TMXLayerInfo_getProperties(lua_State* tolua_S) ccvaluemap_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getProperties",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXLayerInfo:getProperties",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -57969,7 +57969,7 @@ int lua_cocos2dx_TMXLayerInfo_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.TMXLayerInfo"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "TMXLayerInfo",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXLayerInfo:TMXLayerInfo",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -58031,14 +58031,14 @@ int lua_cocos2dx_TMXTilesetInfo_getRectForGID(lua_State* tolua_S) { unsigned int arg0; - ok &= luaval_to_uint32(tolua_S, 2,&arg0); + ok &= luaval_to_uint32(tolua_S, 2,&arg0, "cc.TMXTilesetInfo:getRectForGID"); if(!ok) return 0; cocos2d::Rect ret = cobj->getRectForGID(arg0); rect_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getRectForGID",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXTilesetInfo:getRectForGID",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -58072,7 +58072,7 @@ int lua_cocos2dx_TMXTilesetInfo_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.TMXTilesetInfo"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "TMXTilesetInfo",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXTilesetInfo:TMXTilesetInfo",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -58133,13 +58133,13 @@ int lua_cocos2dx_TMXMapInfo_setObjectGroups(lua_State* tolua_S) { cocos2d::Vector arg0; - ok &= luaval_to_ccvector(tolua_S, 2, &arg0); + ok &= luaval_to_ccvector(tolua_S, 2, &arg0, "cc.TMXMapInfo:setObjectGroups"); if(!ok) return 0; cobj->setObjectGroups(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setObjectGroups",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXMapInfo:setObjectGroups",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -58179,13 +58179,13 @@ int lua_cocos2dx_TMXMapInfo_setTileSize(lua_State* tolua_S) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.TMXMapInfo:setTileSize"); if(!ok) return 0; cobj->setTileSize(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTileSize",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXMapInfo:setTileSize",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -58225,14 +58225,14 @@ int lua_cocos2dx_TMXMapInfo_initWithTMXFile(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.TMXMapInfo:initWithTMXFile"); if(!ok) return 0; bool ret = cobj->initWithTMXFile(arg0); tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "initWithTMXFile",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXMapInfo:initWithTMXFile",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -58276,7 +58276,7 @@ int lua_cocos2dx_TMXMapInfo_getOrientation(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getOrientation",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXMapInfo:getOrientation",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -58320,7 +58320,7 @@ int lua_cocos2dx_TMXMapInfo_isStoringCharacters(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isStoringCharacters",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXMapInfo:isStoringCharacters",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -58360,13 +58360,13 @@ int lua_cocos2dx_TMXMapInfo_setLayers(lua_State* tolua_S) { cocos2d::Vector arg0; - ok &= luaval_to_ccvector(tolua_S, 2, &arg0); + ok &= luaval_to_ccvector(tolua_S, 2, &arg0, "cc.TMXMapInfo:setLayers"); if(!ok) return 0; cobj->setLayers(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setLayers",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXMapInfo:setLayers",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -58406,14 +58406,14 @@ int lua_cocos2dx_TMXMapInfo_parseXMLFile(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.TMXMapInfo:parseXMLFile"); if(!ok) return 0; bool ret = cobj->parseXMLFile(arg0); tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "parseXMLFile",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXMapInfo:parseXMLFile",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -58457,7 +58457,7 @@ int lua_cocos2dx_TMXMapInfo_getParentElement(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getParentElement",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXMapInfo:getParentElement",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -58497,13 +58497,13 @@ int lua_cocos2dx_TMXMapInfo_setTMXFileName(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.TMXMapInfo:setTMXFileName"); if(!ok) return 0; cobj->setTMXFileName(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTMXFileName",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXMapInfo:setTMXFileName",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -58543,14 +58543,14 @@ int lua_cocos2dx_TMXMapInfo_parseXMLString(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.TMXMapInfo:parseXMLString"); if(!ok) return 0; bool ret = cobj->parseXMLString(arg0); tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "parseXMLString",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXMapInfo:parseXMLString",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -58597,7 +58597,7 @@ int lua_cocos2dx_TMXMapInfo_getLayers(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getLayers",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXMapInfo:getLayers",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -58644,7 +58644,7 @@ int lua_cocos2dx_TMXMapInfo_getTilesets(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTilesets",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXMapInfo:getTilesets",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -58688,7 +58688,7 @@ int lua_cocos2dx_TMXMapInfo_getParentGID(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getParentGID",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXMapInfo:getParentGID",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -58728,13 +58728,13 @@ int lua_cocos2dx_TMXMapInfo_setParentElement(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.TMXMapInfo:setParentElement"); if(!ok) return 0; cobj->setParentElement(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setParentElement",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXMapInfo:setParentElement",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -58775,16 +58775,16 @@ int lua_cocos2dx_TMXMapInfo_initWithXML(lua_State* tolua_S) std::string arg0; std::string arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.TMXMapInfo:initWithXML"); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "cc.TMXMapInfo:initWithXML"); if(!ok) return 0; bool ret = cobj->initWithXML(arg0, arg1); tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "initWithXML",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXMapInfo:initWithXML",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -58824,13 +58824,13 @@ int lua_cocos2dx_TMXMapInfo_setParentGID(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.TMXMapInfo:setParentGID"); if(!ok) return 0; cobj->setParentGID(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setParentGID",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXMapInfo:setParentGID",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -58874,7 +58874,7 @@ int lua_cocos2dx_TMXMapInfo_getLayerAttribs(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getLayerAttribs",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXMapInfo:getLayerAttribs",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -58918,7 +58918,7 @@ int lua_cocos2dx_TMXMapInfo_getTileSize(lua_State* tolua_S) size_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTileSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXMapInfo:getTileSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -58962,7 +58962,7 @@ int lua_cocos2dx_TMXMapInfo_getTileProperties(lua_State* tolua_S) ccvaluemapintkey_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTileProperties",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXMapInfo:getTileProperties",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -59009,7 +59009,7 @@ int lua_cocos2dx_TMXMapInfo_getObjectGroups(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getObjectGroups",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXMapInfo:getObjectGroups",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -59053,7 +59053,7 @@ int lua_cocos2dx_TMXMapInfo_getTMXFileName(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTMXFileName",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXMapInfo:getTMXFileName",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -59093,13 +59093,13 @@ int lua_cocos2dx_TMXMapInfo_setCurrentString(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.TMXMapInfo:setCurrentString"); if(!ok) return 0; cobj->setCurrentString(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setCurrentString",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXMapInfo:setCurrentString",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -59139,13 +59139,13 @@ int lua_cocos2dx_TMXMapInfo_setProperties(lua_State* tolua_S) { cocos2d::ValueMap arg0; - ok &= luaval_to_ccvaluemap(tolua_S, 2, &arg0); + ok &= luaval_to_ccvaluemap(tolua_S, 2, &arg0, "cc.TMXMapInfo:setProperties"); if(!ok) return 0; cobj->setProperties(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setProperties",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXMapInfo:setProperties",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -59185,13 +59185,13 @@ int lua_cocos2dx_TMXMapInfo_setOrientation(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.TMXMapInfo:setOrientation"); if(!ok) return 0; cobj->setOrientation(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setOrientation",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXMapInfo:setOrientation",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -59231,13 +59231,13 @@ int lua_cocos2dx_TMXMapInfo_setTileProperties(lua_State* tolua_S) { cocos2d::ValueMapIntKey arg0; - ok &= luaval_to_ccvaluemapintkey(tolua_S, 2, &arg0); + ok &= luaval_to_ccvaluemapintkey(tolua_S, 2, &arg0, "cc.TMXMapInfo:setTileProperties"); if(!ok) return 0; cobj->setTileProperties(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTileProperties",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXMapInfo:setTileProperties",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -59277,13 +59277,13 @@ int lua_cocos2dx_TMXMapInfo_setMapSize(lua_State* tolua_S) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.TMXMapInfo:setMapSize"); if(!ok) return 0; cobj->setMapSize(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setMapSize",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXMapInfo:setMapSize",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -59323,13 +59323,13 @@ int lua_cocos2dx_TMXMapInfo_setStoringCharacters(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.TMXMapInfo:setStoringCharacters"); if(!ok) return 0; cobj->setStoringCharacters(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setStoringCharacters",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXMapInfo:setStoringCharacters",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -59373,7 +59373,7 @@ int lua_cocos2dx_TMXMapInfo_getMapSize(lua_State* tolua_S) size_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getMapSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXMapInfo:getMapSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -59413,13 +59413,13 @@ int lua_cocos2dx_TMXMapInfo_setTilesets(lua_State* tolua_S) { cocos2d::Vector arg0; - ok &= luaval_to_ccvector(tolua_S, 2, &arg0); + ok &= luaval_to_ccvector(tolua_S, 2, &arg0, "cc.TMXMapInfo:setTilesets"); if(!ok) return 0; cobj->setTilesets(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTilesets",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXMapInfo:setTilesets",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -59466,7 +59466,7 @@ int lua_cocos2dx_TMXMapInfo_getProperties(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getProperties",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXMapInfo:getProperties",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -59510,7 +59510,7 @@ int lua_cocos2dx_TMXMapInfo_getCurrentString(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getCurrentString",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXMapInfo:getCurrentString",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -59550,13 +59550,13 @@ int lua_cocos2dx_TMXMapInfo_setLayerAttribs(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.TMXMapInfo:setLayerAttribs"); if(!ok) return 0; cobj->setLayerAttribs(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setLayerAttribs",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXMapInfo:setLayerAttribs",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -59584,14 +59584,14 @@ int lua_cocos2dx_TMXMapInfo_create(lua_State* tolua_S) if (argc == 1) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.TMXMapInfo:create"); if(!ok) return 0; cocos2d::TMXMapInfo* ret = cocos2d::TMXMapInfo::create(arg0); object_to_luaval(tolua_S, "cc.TMXMapInfo",(cocos2d::TMXMapInfo*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.TMXMapInfo:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -59618,15 +59618,15 @@ int lua_cocos2dx_TMXMapInfo_createWithXML(lua_State* tolua_S) { std::string arg0; std::string arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.TMXMapInfo:createWithXML"); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "cc.TMXMapInfo:createWithXML"); if(!ok) return 0; cocos2d::TMXMapInfo* ret = cocos2d::TMXMapInfo::createWithXML(arg0, arg1); object_to_luaval(tolua_S, "cc.TMXMapInfo",(cocos2d::TMXMapInfo*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createWithXML",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.TMXMapInfo:createWithXML",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -59658,7 +59658,7 @@ int lua_cocos2dx_TMXMapInfo_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.TMXMapInfo"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "TMXMapInfo",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXMapInfo:TMXMapInfo",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -59752,14 +59752,14 @@ int lua_cocos2dx_TMXLayer_getPositionAt(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.TMXLayer:getPositionAt"); if(!ok) return 0; cocos2d::Vec2 ret = cobj->getPositionAt(arg0); vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPositionAt",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXLayer:getPositionAt",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -59799,13 +59799,13 @@ int lua_cocos2dx_TMXLayer_setLayerOrientation(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.TMXLayer:setLayerOrientation"); if(!ok) return 0; cobj->setLayerOrientation(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setLayerOrientation",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXLayer:setLayerOrientation",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -59848,7 +59848,7 @@ int lua_cocos2dx_TMXLayer_releaseMap(lua_State* tolua_S) cobj->releaseMap(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "releaseMap",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXLayer:releaseMap",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -59892,7 +59892,7 @@ int lua_cocos2dx_TMXLayer_getLayerSize(lua_State* tolua_S) size_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getLayerSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXLayer:getLayerSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -59932,13 +59932,13 @@ int lua_cocos2dx_TMXLayer_setMapTileSize(lua_State* tolua_S) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.TMXLayer:setMapTileSize"); if(!ok) return 0; cobj->setMapTileSize(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setMapTileSize",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXLayer:setMapTileSize",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -59982,7 +59982,7 @@ int lua_cocos2dx_TMXLayer_getLayerOrientation(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getLayerOrientation",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXLayer:getLayerOrientation",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -60022,13 +60022,13 @@ int lua_cocos2dx_TMXLayer_setProperties(lua_State* tolua_S) { cocos2d::ValueMap arg0; - ok &= luaval_to_ccvaluemap(tolua_S, 2, &arg0); + ok &= luaval_to_ccvaluemap(tolua_S, 2, &arg0, "cc.TMXLayer:setProperties"); if(!ok) return 0; cobj->setProperties(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setProperties",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXLayer:setProperties",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -60068,13 +60068,13 @@ int lua_cocos2dx_TMXLayer_setLayerName(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.TMXLayer:setLayerName"); if(!ok) return 0; cobj->setLayerName(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setLayerName",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXLayer:setLayerName",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -60114,13 +60114,13 @@ int lua_cocos2dx_TMXLayer_removeTileAt(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.TMXLayer:removeTileAt"); if(!ok) return 0; cobj->removeTileAt(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeTileAt",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXLayer:removeTileAt",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -60173,7 +60173,7 @@ int lua_cocos2dx_TMXLayer_initWithTilesetInfo(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "initWithTilesetInfo",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXLayer:initWithTilesetInfo",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 @@ -60216,7 +60216,7 @@ int lua_cocos2dx_TMXLayer_setupTiles(lua_State* tolua_S) cobj->setupTiles(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setupTiles",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXLayer:setupTiles",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -60250,15 +60250,15 @@ int lua_cocos2dx_TMXLayer_setTileGID(lua_State* tolua_S) do{ if (argc == 3) { unsigned int arg0; - ok &= luaval_to_uint32(tolua_S, 2,&arg0); + ok &= luaval_to_uint32(tolua_S, 2,&arg0, "cc.TMXLayer:setTileGID"); if (!ok) { break; } cocos2d::Vec2 arg1; - ok &= luaval_to_vec2(tolua_S, 3, &arg1); + ok &= luaval_to_vec2(tolua_S, 3, &arg1, "cc.TMXLayer:setTileGID"); if (!ok) { break; } cocos2d::TMXTileFlags_ arg2; - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "cc.TMXLayer:setTileGID"); if (!ok) { break; } cobj->setTileGID(arg0, arg1, arg2); @@ -60269,11 +60269,11 @@ int lua_cocos2dx_TMXLayer_setTileGID(lua_State* tolua_S) do{ if (argc == 2) { unsigned int arg0; - ok &= luaval_to_uint32(tolua_S, 2,&arg0); + ok &= luaval_to_uint32(tolua_S, 2,&arg0, "cc.TMXLayer:setTileGID"); if (!ok) { break; } cocos2d::Vec2 arg1; - ok &= luaval_to_vec2(tolua_S, 3, &arg1); + ok &= luaval_to_vec2(tolua_S, 3, &arg1, "cc.TMXLayer:setTileGID"); if (!ok) { break; } cobj->setTileGID(arg0, arg1); @@ -60281,7 +60281,7 @@ int lua_cocos2dx_TMXLayer_setTileGID(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTileGID",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXLayer:setTileGID",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -60325,7 +60325,7 @@ int lua_cocos2dx_TMXLayer_getMapTileSize(lua_State* tolua_S) size_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getMapTileSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXLayer:getMapTileSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -60365,14 +60365,14 @@ int lua_cocos2dx_TMXLayer_getProperty(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.TMXLayer:getProperty"); if(!ok) return 0; cocos2d::Value ret = cobj->getProperty(arg0); ccvalue_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getProperty",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXLayer:getProperty",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -60412,13 +60412,13 @@ int lua_cocos2dx_TMXLayer_setLayerSize(lua_State* tolua_S) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.TMXLayer:setLayerSize"); if(!ok) return 0; cobj->setLayerSize(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setLayerSize",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXLayer:setLayerSize",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -60462,7 +60462,7 @@ int lua_cocos2dx_TMXLayer_getLayerName(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getLayerName",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXLayer:getLayerName",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -60508,7 +60508,7 @@ int lua_cocos2dx_TMXLayer_setTileSet(lua_State* tolua_S) cobj->setTileSet(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTileSet",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXLayer:setTileSet",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -60552,7 +60552,7 @@ int lua_cocos2dx_TMXLayer_getTileSet(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.TMXTilesetInfo",(cocos2d::TMXTilesetInfo*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTileSet",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXLayer:getTileSet",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -60599,7 +60599,7 @@ int lua_cocos2dx_TMXLayer_getProperties(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getProperties",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXLayer:getProperties",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -60639,14 +60639,14 @@ int lua_cocos2dx_TMXLayer_getTileAt(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.TMXLayer:getTileAt"); if(!ok) return 0; cocos2d::Sprite* ret = cobj->getTileAt(arg0); object_to_luaval(tolua_S, "cc.Sprite",(cocos2d::Sprite*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTileAt",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXLayer:getTileAt",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -60685,7 +60685,7 @@ int lua_cocos2dx_TMXLayer_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.TMXLayer",(cocos2d::TMXLayer*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.TMXLayer:create",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -60717,7 +60717,7 @@ int lua_cocos2dx_TMXLayer_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.TMXLayer"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "TMXLayer",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXLayer:TMXLayer",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -60798,13 +60798,13 @@ int lua_cocos2dx_TMXTiledMap_setObjectGroups(lua_State* tolua_S) { cocos2d::Vector arg0; - ok &= luaval_to_ccvector(tolua_S, 2, &arg0); + ok &= luaval_to_ccvector(tolua_S, 2, &arg0, "cc.TMXTiledMap:setObjectGroups"); if(!ok) return 0; cobj->setObjectGroups(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setObjectGroups",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXTiledMap:setObjectGroups",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -60844,14 +60844,14 @@ int lua_cocos2dx_TMXTiledMap_getProperty(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.TMXTiledMap:getProperty"); if(!ok) return 0; cocos2d::Value ret = cobj->getProperty(arg0); ccvalue_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getProperty",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXTiledMap:getProperty",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -60891,13 +60891,13 @@ int lua_cocos2dx_TMXTiledMap_setMapSize(lua_State* tolua_S) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.TMXTiledMap:setMapSize"); if(!ok) return 0; cobj->setMapSize(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setMapSize",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXTiledMap:setMapSize",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -60937,14 +60937,14 @@ int lua_cocos2dx_TMXTiledMap_getObjectGroup(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.TMXTiledMap:getObjectGroup"); if(!ok) return 0; cocos2d::TMXObjectGroup* ret = cobj->getObjectGroup(arg0); object_to_luaval(tolua_S, "cc.TMXObjectGroup",(cocos2d::TMXObjectGroup*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getObjectGroup",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXTiledMap:getObjectGroup",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -60991,7 +60991,7 @@ int lua_cocos2dx_TMXTiledMap_getObjectGroups(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getObjectGroups",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXTiledMap:getObjectGroups",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -61035,7 +61035,7 @@ int lua_cocos2dx_TMXTiledMap_getTileSize(lua_State* tolua_S) size_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTileSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXTiledMap:getTileSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -61079,7 +61079,7 @@ int lua_cocos2dx_TMXTiledMap_getMapSize(lua_State* tolua_S) size_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getMapSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXTiledMap:getMapSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -61123,7 +61123,7 @@ int lua_cocos2dx_TMXTiledMap_getProperties(lua_State* tolua_S) ccvaluemap_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getProperties",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXTiledMap:getProperties",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -61163,13 +61163,13 @@ int lua_cocos2dx_TMXTiledMap_setTileSize(lua_State* tolua_S) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.TMXTiledMap:setTileSize"); if(!ok) return 0; cobj->setTileSize(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTileSize",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXTiledMap:setTileSize",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -61209,13 +61209,13 @@ int lua_cocos2dx_TMXTiledMap_setProperties(lua_State* tolua_S) { cocos2d::ValueMap arg0; - ok &= luaval_to_ccvaluemap(tolua_S, 2, &arg0); + ok &= luaval_to_ccvaluemap(tolua_S, 2, &arg0, "cc.TMXTiledMap:setProperties"); if(!ok) return 0; cobj->setProperties(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setProperties",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXTiledMap:setProperties",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -61255,14 +61255,14 @@ int lua_cocos2dx_TMXTiledMap_getLayer(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.TMXTiledMap:getLayer"); if(!ok) return 0; cocos2d::TMXLayer* ret = cobj->getLayer(arg0); object_to_luaval(tolua_S, "cc.TMXLayer",(cocos2d::TMXLayer*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getLayer",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXTiledMap:getLayer",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -61306,7 +61306,7 @@ int lua_cocos2dx_TMXTiledMap_getMapOrientation(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getMapOrientation",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXTiledMap:getMapOrientation",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -61346,13 +61346,13 @@ int lua_cocos2dx_TMXTiledMap_setMapOrientation(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.TMXTiledMap:setMapOrientation"); if(!ok) return 0; cobj->setMapOrientation(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setMapOrientation",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TMXTiledMap:setMapOrientation",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -61380,14 +61380,14 @@ int lua_cocos2dx_TMXTiledMap_create(lua_State* tolua_S) if (argc == 1) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.TMXTiledMap:create"); if(!ok) return 0; cocos2d::TMXTiledMap* ret = cocos2d::TMXTiledMap::create(arg0); object_to_luaval(tolua_S, "cc.TMXTiledMap",(cocos2d::TMXTiledMap*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.TMXTiledMap:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -61414,15 +61414,15 @@ int lua_cocos2dx_TMXTiledMap_createWithXML(lua_State* tolua_S) { std::string arg0; std::string arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.TMXTiledMap:createWithXML"); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "cc.TMXTiledMap:createWithXML"); if(!ok) return 0; cocos2d::TMXTiledMap* ret = cocos2d::TMXTiledMap::createWithXML(arg0, arg1); object_to_luaval(tolua_S, "cc.TMXTiledMap",(cocos2d::TMXTiledMap*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createWithXML",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.TMXTiledMap:createWithXML",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -61497,20 +61497,20 @@ int lua_cocos2dx_TileMapAtlas_initWithTileFile(lua_State* tolua_S) int arg2; int arg3; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.TileMapAtlas:initWithTileFile"); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "cc.TileMapAtlas:initWithTileFile"); - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "cc.TileMapAtlas:initWithTileFile"); - ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3); + ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3, "cc.TileMapAtlas:initWithTileFile"); if(!ok) return 0; bool ret = cobj->initWithTileFile(arg0, arg1, arg2, arg3); tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "initWithTileFile",argc, 4); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TileMapAtlas:initWithTileFile",argc, 4); return 0; #if COCOS2D_DEBUG >= 1 @@ -61553,7 +61553,7 @@ int lua_cocos2dx_TileMapAtlas_releaseMap(lua_State* tolua_S) cobj->releaseMap(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "releaseMap",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TileMapAtlas:releaseMap",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -61593,14 +61593,14 @@ int lua_cocos2dx_TileMapAtlas_getTileAt(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.TileMapAtlas:getTileAt"); if(!ok) return 0; cocos2d::Color3B ret = cobj->getTileAt(arg0); color3b_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTileAt",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TileMapAtlas:getTileAt",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -61641,15 +61641,15 @@ int lua_cocos2dx_TileMapAtlas_setTile(lua_State* tolua_S) cocos2d::Color3B arg0; cocos2d::Vec2 arg1; - ok &= luaval_to_color3b(tolua_S, 2, &arg0); + ok &= luaval_to_color3b(tolua_S, 2, &arg0, "cc.TileMapAtlas:setTile"); - ok &= luaval_to_vec2(tolua_S, 3, &arg1); + ok &= luaval_to_vec2(tolua_S, 3, &arg1, "cc.TileMapAtlas:setTile"); if(!ok) return 0; cobj->setTile(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTile",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TileMapAtlas:setTile",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -61680,17 +61680,17 @@ int lua_cocos2dx_TileMapAtlas_create(lua_State* tolua_S) std::string arg1; int arg2; int arg3; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); - ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.TileMapAtlas:create"); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "cc.TileMapAtlas:create"); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "cc.TileMapAtlas:create"); + ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3, "cc.TileMapAtlas:create"); if(!ok) return 0; cocos2d::TileMapAtlas* ret = cocos2d::TileMapAtlas::create(arg0, arg1, arg2, arg3); object_to_luaval(tolua_S, "cc.TileMapAtlas",(cocos2d::TileMapAtlas*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 4); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.TileMapAtlas:create",argc, 4); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -61722,7 +61722,7 @@ int lua_cocos2dx_TileMapAtlas_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.TileMapAtlas"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "TileMapAtlas",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TileMapAtlas:TileMapAtlas",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -61787,13 +61787,13 @@ int lua_cocos2dx_Component_setEnabled(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.Component:setEnabled"); if(!ok) return 0; cobj->setEnabled(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setEnabled",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Component:setEnabled",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -61833,13 +61833,13 @@ int lua_cocos2dx_Component_setName(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Component:setName"); if(!ok) return 0; cobj->setName(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setName",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Component:setName",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -61883,7 +61883,7 @@ int lua_cocos2dx_Component_isEnabled(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isEnabled",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Component:isEnabled",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -61923,13 +61923,13 @@ int lua_cocos2dx_Component_update(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Component:update"); if(!ok) return 0; cobj->update(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "update",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Component:update",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -61973,7 +61973,7 @@ int lua_cocos2dx_Component_getOwner(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Node",(cocos2d::Node*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getOwner",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Component:getOwner",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -62017,7 +62017,7 @@ int lua_cocos2dx_Component_init(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "init",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Component:init",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -62063,7 +62063,7 @@ int lua_cocos2dx_Component_setOwner(lua_State* tolua_S) cobj->setOwner(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setOwner",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Component:setOwner",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -62107,7 +62107,7 @@ int lua_cocos2dx_Component_getName(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getName",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Component:getName",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -62140,7 +62140,7 @@ int lua_cocos2dx_Component_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Component",(cocos2d::Component*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Component:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -62211,7 +62211,7 @@ int lua_cocos2dx_Sprite3D_setTexture(lua_State* tolua_S) do{ if (argc == 1) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Sprite3D:setTexture"); if (!ok) { break; } cobj->setTexture(arg0); @@ -62219,7 +62219,7 @@ int lua_cocos2dx_Sprite3D_setTexture(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTexture",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Sprite3D:setTexture",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -62263,7 +62263,7 @@ int lua_cocos2dx_Sprite3D_getMesh(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Mesh",(cocos2d::Mesh*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getMesh",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Sprite3D:getMesh",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -62307,7 +62307,7 @@ int lua_cocos2dx_Sprite3D_getBlendFunc(lua_State* tolua_S) blendfunc_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBlendFunc",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Sprite3D:getBlendFunc",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -62353,7 +62353,7 @@ int lua_cocos2dx_Sprite3D_setBlendFunc(lua_State* tolua_S) cobj->setBlendFunc(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setBlendFunc",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Sprite3D:setBlendFunc",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -62382,10 +62382,10 @@ int lua_cocos2dx_Sprite3D_create(lua_State* tolua_S) if (argc == 2) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Sprite3D:create"); if (!ok) { break; } std::string arg1; - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "cc.Sprite3D:create"); if (!ok) { break; } cocos2d::Sprite3D* ret = cocos2d::Sprite3D::create(arg0, arg1); object_to_luaval(tolua_S, "cc.Sprite3D",(cocos2d::Sprite3D*)ret); @@ -62398,7 +62398,7 @@ int lua_cocos2dx_Sprite3D_create(lua_State* tolua_S) if (argc == 1) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Sprite3D:create"); if (!ok) { break; } cocos2d::Sprite3D* ret = cocos2d::Sprite3D::create(arg0); object_to_luaval(tolua_S, "cc.Sprite3D",(cocos2d::Sprite3D*)ret); @@ -62406,7 +62406,7 @@ int lua_cocos2dx_Sprite3D_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.Sprite3D:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -62471,7 +62471,7 @@ int lua_cocos2dx_Mesh_restore(lua_State* tolua_S) cobj->restore(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "restore",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Mesh:restore",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -62515,7 +62515,7 @@ int lua_cocos2dx_Mesh_getMeshVertexAttribCount(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getMeshVertexAttribCount",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Mesh:getMeshVertexAttribCount",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -62559,7 +62559,7 @@ int lua_cocos2dx_Mesh_getIndexFormat(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getIndexFormat",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Mesh:getIndexFormat",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -62603,7 +62603,7 @@ int lua_cocos2dx_Mesh_getVertexSizeInBytes(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getVertexSizeInBytes",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Mesh:getVertexSizeInBytes",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -62647,7 +62647,7 @@ int lua_cocos2dx_Mesh_getPrimitiveType(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPrimitiveType",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Mesh:getPrimitiveType",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -62691,7 +62691,7 @@ int lua_cocos2dx_Mesh_getIndexCount(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getIndexCount",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Mesh:getIndexCount",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -62735,7 +62735,7 @@ int lua_cocos2dx_Mesh_getVertexBuffer(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getVertexBuffer",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Mesh:getVertexBuffer",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -62775,14 +62775,14 @@ int lua_cocos2dx_Mesh_getMeshVertexAttribute(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.Mesh:getMeshVertexAttribute"); if(!ok) return 0; const cocos2d::MeshVertexAttrib& ret = cobj->getMeshVertexAttribute(arg0); mesh_vertex_attrib_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getMeshVertexAttribute",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Mesh:getMeshVertexAttribute",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -62826,7 +62826,7 @@ int lua_cocos2dx_Mesh_getIndexBuffer(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getIndexBuffer",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Mesh:getIndexBuffer",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -62866,14 +62866,14 @@ int lua_cocos2dx_Mesh_hasVertexAttrib(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.Mesh:hasVertexAttrib"); if(!ok) return 0; bool ret = cobj->hasVertexAttrib(arg0); tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "hasVertexAttrib",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Mesh:hasVertexAttrib",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -62946,7 +62946,7 @@ int lua_cocos2dx_Animation3D_getDuration(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDuration",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Animation3D:getDuration",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -62974,7 +62974,7 @@ int lua_cocos2dx_Animation3D_create(lua_State* tolua_S) if (argc == 1) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Animation3D:create"); if(!ok) return 0; cocos2d::Animation3D* ret = cocos2d::Animation3D::create(arg0); @@ -62985,15 +62985,15 @@ int lua_cocos2dx_Animation3D_create(lua_State* tolua_S) { std::string arg0; std::string arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Animation3D:create"); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "cc.Animation3D:create"); if(!ok) return 0; cocos2d::Animation3D* ret = cocos2d::Animation3D::create(arg0, arg1); object_to_luaval(tolua_S, "cc.Animation3D",(cocos2d::Animation3D*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Animation3D:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -63052,13 +63052,13 @@ int lua_cocos2dx_Animate3D_setSpeed(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Animate3D:setSpeed"); if(!ok) return 0; cobj->setSpeed(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setSpeed",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Animate3D:setSpeed",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -63098,13 +63098,13 @@ int lua_cocos2dx_Animate3D_setWeight(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Animate3D:setWeight"); if(!ok) return 0; cobj->setWeight(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setWeight",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Animate3D:setWeight",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -63148,7 +63148,7 @@ int lua_cocos2dx_Animate3D_getSpeed(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getSpeed",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Animate3D:getSpeed",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -63192,7 +63192,7 @@ int lua_cocos2dx_Animate3D_getWeight(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getWeight",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Animate3D:getWeight",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -63224,10 +63224,10 @@ int lua_cocos2dx_Animate3D_create(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 2, "cc.Animation3D",&arg0); if (!ok) { break; } double arg1; - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.Animate3D:create"); if (!ok) { break; } double arg2; - ok &= luaval_to_number(tolua_S, 4,&arg2); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.Animate3D:create"); if (!ok) { break; } cocos2d::Animate3D* ret = cocos2d::Animate3D::create(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.Animate3D",(cocos2d::Animate3D*)ret); @@ -63248,7 +63248,7 @@ int lua_cocos2dx_Animate3D_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.Animate3D:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -63310,13 +63310,13 @@ int lua_cocos2dx_SimpleAudioEngine_preloadBackgroundMusic(lua_State* tolua_S) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.SimpleAudioEngine:preloadBackgroundMusic"); arg0 = arg0_tmp.c_str(); if(!ok) return 0; cobj->preloadBackgroundMusic(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "preloadBackgroundMusic",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:preloadBackgroundMusic",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -63363,13 +63363,13 @@ int lua_cocos2dx_SimpleAudioEngine_stopBackgroundMusic(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.SimpleAudioEngine:stopBackgroundMusic"); if(!ok) return 0; cobj->stopBackgroundMusic(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "stopBackgroundMusic",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:stopBackgroundMusic",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -63412,7 +63412,7 @@ int lua_cocos2dx_SimpleAudioEngine_stopAllEffects(lua_State* tolua_S) cobj->stopAllEffects(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "stopAllEffects",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:stopAllEffects",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -63456,7 +63456,7 @@ int lua_cocos2dx_SimpleAudioEngine_getBackgroundMusicVolume(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBackgroundMusicVolume",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:getBackgroundMusicVolume",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -63499,7 +63499,7 @@ int lua_cocos2dx_SimpleAudioEngine_resumeBackgroundMusic(lua_State* tolua_S) cobj->resumeBackgroundMusic(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "resumeBackgroundMusic",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:resumeBackgroundMusic",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -63539,13 +63539,13 @@ int lua_cocos2dx_SimpleAudioEngine_setBackgroundMusicVolume(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.SimpleAudioEngine:setBackgroundMusicVolume"); if(!ok) return 0; cobj->setBackgroundMusicVolume(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setBackgroundMusicVolume",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:setBackgroundMusicVolume",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -63585,13 +63585,13 @@ int lua_cocos2dx_SimpleAudioEngine_preloadEffect(lua_State* tolua_S) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.SimpleAudioEngine:preloadEffect"); arg0 = arg0_tmp.c_str(); if(!ok) return 0; cobj->preloadEffect(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "preloadEffect",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:preloadEffect",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -63635,7 +63635,7 @@ int lua_cocos2dx_SimpleAudioEngine_isBackgroundMusicPlaying(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isBackgroundMusicPlaying",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:isBackgroundMusicPlaying",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -63679,7 +63679,7 @@ int lua_cocos2dx_SimpleAudioEngine_getEffectsVolume(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getEffectsVolume",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:getEffectsVolume",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -63723,7 +63723,7 @@ int lua_cocos2dx_SimpleAudioEngine_willPlayBackgroundMusic(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "willPlayBackgroundMusic",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:willPlayBackgroundMusic",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -63763,13 +63763,13 @@ int lua_cocos2dx_SimpleAudioEngine_pauseEffect(lua_State* tolua_S) { unsigned int arg0; - ok &= luaval_to_uint32(tolua_S, 2,&arg0); + ok &= luaval_to_uint32(tolua_S, 2,&arg0, "cc.SimpleAudioEngine:pauseEffect"); if(!ok) return 0; cobj->pauseEffect(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "pauseEffect",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:pauseEffect",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -63809,7 +63809,7 @@ int lua_cocos2dx_SimpleAudioEngine_playEffect(lua_State* tolua_S) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.SimpleAudioEngine:playEffect"); arg0 = arg0_tmp.c_str(); if(!ok) return 0; unsigned int ret = cobj->playEffect(arg0); @@ -63821,9 +63821,9 @@ int lua_cocos2dx_SimpleAudioEngine_playEffect(lua_State* tolua_S) const char* arg0; bool arg1; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.SimpleAudioEngine:playEffect"); arg0 = arg0_tmp.c_str(); - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.SimpleAudioEngine:playEffect"); if(!ok) return 0; unsigned int ret = cobj->playEffect(arg0, arg1); @@ -63836,11 +63836,11 @@ int lua_cocos2dx_SimpleAudioEngine_playEffect(lua_State* tolua_S) bool arg1; double arg2; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.SimpleAudioEngine:playEffect"); arg0 = arg0_tmp.c_str(); - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.SimpleAudioEngine:playEffect"); - ok &= luaval_to_number(tolua_S, 4,&arg2); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.SimpleAudioEngine:playEffect"); if(!ok) return 0; unsigned int ret = cobj->playEffect(arg0, arg1, arg2); @@ -63854,13 +63854,13 @@ int lua_cocos2dx_SimpleAudioEngine_playEffect(lua_State* tolua_S) double arg2; double arg3; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.SimpleAudioEngine:playEffect"); arg0 = arg0_tmp.c_str(); - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.SimpleAudioEngine:playEffect"); - ok &= luaval_to_number(tolua_S, 4,&arg2); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.SimpleAudioEngine:playEffect"); - ok &= luaval_to_number(tolua_S, 5,&arg3); + ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.SimpleAudioEngine:playEffect"); if(!ok) return 0; unsigned int ret = cobj->playEffect(arg0, arg1, arg2, arg3); @@ -63875,22 +63875,22 @@ int lua_cocos2dx_SimpleAudioEngine_playEffect(lua_State* tolua_S) double arg3; double arg4; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.SimpleAudioEngine:playEffect"); arg0 = arg0_tmp.c_str(); - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.SimpleAudioEngine:playEffect"); - ok &= luaval_to_number(tolua_S, 4,&arg2); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.SimpleAudioEngine:playEffect"); - ok &= luaval_to_number(tolua_S, 5,&arg3); + ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.SimpleAudioEngine:playEffect"); - ok &= luaval_to_number(tolua_S, 6,&arg4); + ok &= luaval_to_number(tolua_S, 6,&arg4, "cc.SimpleAudioEngine:playEffect"); if(!ok) return 0; unsigned int ret = cobj->playEffect(arg0, arg1, arg2, arg3, arg4); tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "playEffect",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:playEffect",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -63933,7 +63933,7 @@ int lua_cocos2dx_SimpleAudioEngine_rewindBackgroundMusic(lua_State* tolua_S) cobj->rewindBackgroundMusic(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "rewindBackgroundMusic",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:rewindBackgroundMusic",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -63973,7 +63973,7 @@ int lua_cocos2dx_SimpleAudioEngine_playBackgroundMusic(lua_State* tolua_S) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.SimpleAudioEngine:playBackgroundMusic"); arg0 = arg0_tmp.c_str(); if(!ok) return 0; cobj->playBackgroundMusic(arg0); @@ -63984,15 +63984,15 @@ int lua_cocos2dx_SimpleAudioEngine_playBackgroundMusic(lua_State* tolua_S) const char* arg0; bool arg1; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.SimpleAudioEngine:playBackgroundMusic"); arg0 = arg0_tmp.c_str(); - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.SimpleAudioEngine:playBackgroundMusic"); if(!ok) return 0; cobj->playBackgroundMusic(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "playBackgroundMusic",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:playBackgroundMusic",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -64035,7 +64035,7 @@ int lua_cocos2dx_SimpleAudioEngine_resumeAllEffects(lua_State* tolua_S) cobj->resumeAllEffects(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "resumeAllEffects",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:resumeAllEffects",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -64075,13 +64075,13 @@ int lua_cocos2dx_SimpleAudioEngine_setEffectsVolume(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.SimpleAudioEngine:setEffectsVolume"); if(!ok) return 0; cobj->setEffectsVolume(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setEffectsVolume",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:setEffectsVolume",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -64121,13 +64121,13 @@ int lua_cocos2dx_SimpleAudioEngine_stopEffect(lua_State* tolua_S) { unsigned int arg0; - ok &= luaval_to_uint32(tolua_S, 2,&arg0); + ok &= luaval_to_uint32(tolua_S, 2,&arg0, "cc.SimpleAudioEngine:stopEffect"); if(!ok) return 0; cobj->stopEffect(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "stopEffect",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:stopEffect",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -64170,7 +64170,7 @@ int lua_cocos2dx_SimpleAudioEngine_pauseBackgroundMusic(lua_State* tolua_S) cobj->pauseBackgroundMusic(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "pauseBackgroundMusic",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:pauseBackgroundMusic",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -64213,7 +64213,7 @@ int lua_cocos2dx_SimpleAudioEngine_pauseAllEffects(lua_State* tolua_S) cobj->pauseAllEffects(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "pauseAllEffects",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:pauseAllEffects",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -64253,13 +64253,13 @@ int lua_cocos2dx_SimpleAudioEngine_unloadEffect(lua_State* tolua_S) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.SimpleAudioEngine:unloadEffect"); arg0 = arg0_tmp.c_str(); if(!ok) return 0; cobj->unloadEffect(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "unloadEffect",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:unloadEffect",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -64299,13 +64299,13 @@ int lua_cocos2dx_SimpleAudioEngine_resumeEffect(lua_State* tolua_S) { unsigned int arg0; - ok &= luaval_to_uint32(tolua_S, 2,&arg0); + ok &= luaval_to_uint32(tolua_S, 2,&arg0, "cc.SimpleAudioEngine:resumeEffect"); if(!ok) return 0; cobj->resumeEffect(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "resumeEffect",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.SimpleAudioEngine:resumeEffect",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -64337,7 +64337,7 @@ int lua_cocos2dx_SimpleAudioEngine_end(lua_State* tolua_S) CocosDenshion::SimpleAudioEngine::end(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "end",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.SimpleAudioEngine:end",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -64368,7 +64368,7 @@ int lua_cocos2dx_SimpleAudioEngine_getInstance(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.SimpleAudioEngine",(CocosDenshion::SimpleAudioEngine*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "getInstance",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.SimpleAudioEngine:getInstance",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -64446,7 +64446,7 @@ int lua_cocos2dx_ProtectedNode_addProtectedChild(lua_State* tolua_S) if (!ok) { break; } int arg1; - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.ProtectedNode:addProtectedChild"); if (!ok) { break; } cobj->addProtectedChild(arg0, arg1); @@ -64472,11 +64472,11 @@ int lua_cocos2dx_ProtectedNode_addProtectedChild(lua_State* tolua_S) if (!ok) { break; } int arg1; - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.ProtectedNode:addProtectedChild"); if (!ok) { break; } int arg2; - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "cc.ProtectedNode:addProtectedChild"); if (!ok) { break; } cobj->addProtectedChild(arg0, arg1, arg2); @@ -64484,7 +64484,7 @@ int lua_cocos2dx_ProtectedNode_addProtectedChild(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addProtectedChild",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ProtectedNode:addProtectedChild",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 @@ -64527,7 +64527,7 @@ int lua_cocos2dx_ProtectedNode_disableCascadeColor(lua_State* tolua_S) cobj->disableCascadeColor(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "disableCascadeColor",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ProtectedNode:disableCascadeColor",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -64567,7 +64567,7 @@ int lua_cocos2dx_ProtectedNode_removeProtectedChildByTag(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.ProtectedNode:removeProtectedChildByTag"); if(!ok) return 0; cobj->removeProtectedChildByTag(arg0); @@ -64578,15 +64578,15 @@ int lua_cocos2dx_ProtectedNode_removeProtectedChildByTag(lua_State* tolua_S) int arg0; bool arg1; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.ProtectedNode:removeProtectedChildByTag"); - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.ProtectedNode:removeProtectedChildByTag"); if(!ok) return 0; cobj->removeProtectedChildByTag(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeProtectedChildByTag",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ProtectedNode:removeProtectedChildByTag",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -64629,13 +64629,13 @@ int lua_cocos2dx_ProtectedNode_reorderProtectedChild(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 2, "cc.Node",&arg0); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.ProtectedNode:reorderProtectedChild"); if(!ok) return 0; cobj->reorderProtectedChild(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "reorderProtectedChild",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ProtectedNode:reorderProtectedChild",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -64675,13 +64675,13 @@ int lua_cocos2dx_ProtectedNode_removeAllProtectedChildrenWithCleanup(lua_State* { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.ProtectedNode:removeAllProtectedChildrenWithCleanup"); if(!ok) return 0; cobj->removeAllProtectedChildrenWithCleanup(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeAllProtectedChildrenWithCleanup",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ProtectedNode:removeAllProtectedChildrenWithCleanup",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -64724,7 +64724,7 @@ int lua_cocos2dx_ProtectedNode_sortAllProtectedChildren(lua_State* tolua_S) cobj->sortAllProtectedChildren(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "sortAllProtectedChildren",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ProtectedNode:sortAllProtectedChildren",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -64764,14 +64764,14 @@ int lua_cocos2dx_ProtectedNode_getProtectedChildByTag(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.ProtectedNode:getProtectedChildByTag"); if(!ok) return 0; cocos2d::Node* ret = cobj->getProtectedChildByTag(arg0); object_to_luaval(tolua_S, "cc.Node",(cocos2d::Node*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getProtectedChildByTag",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ProtectedNode:getProtectedChildByTag",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -64824,13 +64824,13 @@ int lua_cocos2dx_ProtectedNode_removeProtectedChild(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 2, "cc.Node",&arg0); - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.ProtectedNode:removeProtectedChild"); if(!ok) return 0; cobj->removeProtectedChild(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeProtectedChild",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ProtectedNode:removeProtectedChild",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -64873,7 +64873,7 @@ int lua_cocos2dx_ProtectedNode_removeAllProtectedChildren(lua_State* tolua_S) cobj->removeAllProtectedChildren(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeAllProtectedChildren",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ProtectedNode:removeAllProtectedChildren",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -64906,7 +64906,7 @@ int lua_cocos2dx_ProtectedNode_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.ProtectedNode",(cocos2d::ProtectedNode*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ProtectedNode:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_controller_auto.cpp b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_controller_auto.cpp index 160c684a1d..30a5370bd9 100644 --- a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_controller_auto.cpp +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_controller_auto.cpp @@ -37,15 +37,15 @@ int lua_cocos2dx_controller_Controller_receiveExternalKeyEvent(lua_State* tolua_ int arg0; bool arg1; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.Controller:receiveExternalKeyEvent"); - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.Controller:receiveExternalKeyEvent"); if(!ok) return 0; cobj->receiveExternalKeyEvent(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "receiveExternalKeyEvent",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Controller:receiveExternalKeyEvent",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -89,7 +89,7 @@ int lua_cocos2dx_controller_Controller_getDeviceName(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDeviceName",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Controller:getDeviceName",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -133,7 +133,7 @@ int lua_cocos2dx_controller_Controller_isConnected(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isConnected",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Controller:isConnected",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -177,7 +177,7 @@ int lua_cocos2dx_controller_Controller_getDeviceId(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDeviceId",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Controller:getDeviceId",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -217,13 +217,13 @@ int lua_cocos2dx_controller_Controller_setTag(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.Controller:setTag"); if(!ok) return 0; cobj->setTag(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTag",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Controller:setTag",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -267,7 +267,7 @@ int lua_cocos2dx_controller_Controller_getTag(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTag",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Controller:getTag",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -299,7 +299,7 @@ int lua_cocos2dx_controller_Controller_startDiscoveryController(lua_State* tolua cocos2d::Controller::startDiscoveryController(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "startDiscoveryController",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Controller:startDiscoveryController",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -329,7 +329,7 @@ int lua_cocos2dx_controller_Controller_stopDiscoveryController(lua_State* tolua_ cocos2d::Controller::stopDiscoveryController(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "stopDiscoveryController",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Controller:stopDiscoveryController",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -355,14 +355,14 @@ int lua_cocos2dx_controller_Controller_getControllerByTag(lua_State* tolua_S) if (argc == 1) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.Controller:getControllerByTag"); if(!ok) return 0; cocos2d::Controller* ret = cocos2d::Controller::getControllerByTag(arg0); object_to_luaval(tolua_S, "cc.Controller",(cocos2d::Controller*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "getControllerByTag",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Controller:getControllerByTag",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -432,7 +432,7 @@ int lua_cocos2dx_controller_EventController_getControllerEventType(lua_State* to tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getControllerEventType",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventController:getControllerEventType",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -472,13 +472,13 @@ int lua_cocos2dx_controller_EventController_setConnectStatus(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.EventController:setConnectStatus"); if(!ok) return 0; cobj->setConnectStatus(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setConnectStatus",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventController:setConnectStatus",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -522,7 +522,7 @@ int lua_cocos2dx_controller_EventController_isConnected(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isConnected",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventController:isConnected",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -562,13 +562,13 @@ int lua_cocos2dx_controller_EventController_setKeyCode(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.EventController:setKeyCode"); if(!ok) return 0; cobj->setKeyCode(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setKeyCode",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventController:setKeyCode",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -612,7 +612,7 @@ int lua_cocos2dx_controller_EventController_getController(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Controller",(cocos2d::Controller*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getController",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventController:getController",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -656,7 +656,7 @@ int lua_cocos2dx_controller_EventController_getKeyCode(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getKeyCode",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventController:getKeyCode",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -679,7 +679,7 @@ int lua_cocos2dx_controller_EventController_constructor(lua_State* tolua_S) do{ if (argc == 3) { cocos2d::EventController::ControllerEventType arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.EventController:EventController"); if (!ok) { break; } cocos2d::Controller* arg1; @@ -687,7 +687,7 @@ int lua_cocos2dx_controller_EventController_constructor(lua_State* tolua_S) if (!ok) { break; } bool arg2; - ok &= luaval_to_boolean(tolua_S, 4,&arg2); + ok &= luaval_to_boolean(tolua_S, 4,&arg2, "cc.EventController:EventController"); if (!ok) { break; } cobj = new cocos2d::EventController(arg0, arg1, arg2); @@ -702,7 +702,7 @@ int lua_cocos2dx_controller_EventController_constructor(lua_State* tolua_S) do{ if (argc == 3) { cocos2d::EventController::ControllerEventType arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.EventController:EventController"); if (!ok) { break; } cocos2d::Controller* arg1; @@ -710,7 +710,7 @@ int lua_cocos2dx_controller_EventController_constructor(lua_State* tolua_S) if (!ok) { break; } int arg2; - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "cc.EventController:EventController"); if (!ok) { break; } cobj = new cocos2d::EventController(arg0, arg1, arg2); @@ -722,7 +722,7 @@ int lua_cocos2dx_controller_EventController_constructor(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "EventController",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventController:EventController",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 @@ -781,7 +781,7 @@ int lua_cocos2dx_controller_EventListenerController_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.EventListenerController",(cocos2d::EventListenerController*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.EventListenerController:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_experimental_auto.cpp b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_experimental_auto.cpp index 4e7ff2d009..8094a81b01 100644 --- a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_experimental_auto.cpp +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_experimental_auto.cpp @@ -36,14 +36,14 @@ int lua_cocos2dx_experimental_TMXLayer_getPositionAt(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "ccexp.TMXLayer:getPositionAt"); if(!ok) return 0; cocos2d::Vec2 ret = cobj->getPositionAt(arg0); vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPositionAt",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.TMXLayer:getPositionAt",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -83,13 +83,13 @@ int lua_cocos2dx_experimental_TMXLayer_setLayerOrientation(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccexp.TMXLayer:setLayerOrientation"); if(!ok) return 0; cobj->setLayerOrientation(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setLayerOrientation",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.TMXLayer:setLayerOrientation",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -133,7 +133,7 @@ int lua_cocos2dx_experimental_TMXLayer_getLayerSize(lua_State* tolua_S) size_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getLayerSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.TMXLayer:getLayerSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -173,13 +173,13 @@ int lua_cocos2dx_experimental_TMXLayer_setMapTileSize(lua_State* tolua_S) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "ccexp.TMXLayer:setMapTileSize"); if(!ok) return 0; cobj->setMapTileSize(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setMapTileSize",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.TMXLayer:setMapTileSize",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -223,7 +223,7 @@ int lua_cocos2dx_experimental_TMXLayer_getLayerOrientation(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getLayerOrientation",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.TMXLayer:getLayerOrientation",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -263,13 +263,13 @@ int lua_cocos2dx_experimental_TMXLayer_setProperties(lua_State* tolua_S) { cocos2d::ValueMap arg0; - ok &= luaval_to_ccvaluemap(tolua_S, 2, &arg0); + ok &= luaval_to_ccvaluemap(tolua_S, 2, &arg0, "ccexp.TMXLayer:setProperties"); if(!ok) return 0; cobj->setProperties(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setProperties",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.TMXLayer:setProperties",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -309,13 +309,13 @@ int lua_cocos2dx_experimental_TMXLayer_setLayerName(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccexp.TMXLayer:setLayerName"); if(!ok) return 0; cobj->setLayerName(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setLayerName",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.TMXLayer:setLayerName",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -355,13 +355,13 @@ int lua_cocos2dx_experimental_TMXLayer_removeTileAt(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "ccexp.TMXLayer:removeTileAt"); if(!ok) return 0; cobj->removeTileAt(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeTileAt",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.TMXLayer:removeTileAt",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -408,7 +408,7 @@ int lua_cocos2dx_experimental_TMXLayer_getProperties(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getProperties",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.TMXLayer:getProperties",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -451,7 +451,7 @@ int lua_cocos2dx_experimental_TMXLayer_setupTiles(lua_State* tolua_S) cobj->setupTiles(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setupTiles",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.TMXLayer:setupTiles",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -495,15 +495,15 @@ int lua_cocos2dx_experimental_TMXLayer_setupTileSprite(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 2, "cc.Sprite",&arg0); - ok &= luaval_to_vec2(tolua_S, 3, &arg1); + ok &= luaval_to_vec2(tolua_S, 3, &arg1, "ccexp.TMXLayer:setupTileSprite"); - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "ccexp.TMXLayer:setupTileSprite"); if(!ok) return 0; cobj->setupTileSprite(arg0, arg1, arg2); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setupTileSprite",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.TMXLayer:setupTileSprite",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 @@ -537,15 +537,15 @@ int lua_cocos2dx_experimental_TMXLayer_setTileGID(lua_State* tolua_S) do{ if (argc == 3) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccexp.TMXLayer:setTileGID"); if (!ok) { break; } cocos2d::Vec2 arg1; - ok &= luaval_to_vec2(tolua_S, 3, &arg1); + ok &= luaval_to_vec2(tolua_S, 3, &arg1, "ccexp.TMXLayer:setTileGID"); if (!ok) { break; } cocos2d::TMXTileFlags_ arg2; - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "ccexp.TMXLayer:setTileGID"); if (!ok) { break; } cobj->setTileGID(arg0, arg1, arg2); @@ -556,11 +556,11 @@ int lua_cocos2dx_experimental_TMXLayer_setTileGID(lua_State* tolua_S) do{ if (argc == 2) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccexp.TMXLayer:setTileGID"); if (!ok) { break; } cocos2d::Vec2 arg1; - ok &= luaval_to_vec2(tolua_S, 3, &arg1); + ok &= luaval_to_vec2(tolua_S, 3, &arg1, "ccexp.TMXLayer:setTileGID"); if (!ok) { break; } cobj->setTileGID(arg0, arg1); @@ -568,7 +568,7 @@ int lua_cocos2dx_experimental_TMXLayer_setTileGID(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTileGID",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.TMXLayer:setTileGID",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -612,7 +612,7 @@ int lua_cocos2dx_experimental_TMXLayer_getMapTileSize(lua_State* tolua_S) size_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getMapTileSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.TMXLayer:getMapTileSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -652,14 +652,14 @@ int lua_cocos2dx_experimental_TMXLayer_getProperty(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccexp.TMXLayer:getProperty"); if(!ok) return 0; cocos2d::Value ret = cobj->getProperty(arg0); ccvalue_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getProperty",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.TMXLayer:getProperty",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -699,13 +699,13 @@ int lua_cocos2dx_experimental_TMXLayer_setLayerSize(lua_State* tolua_S) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "ccexp.TMXLayer:setLayerSize"); if(!ok) return 0; cobj->setLayerSize(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setLayerSize",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.TMXLayer:setLayerSize",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -749,7 +749,7 @@ int lua_cocos2dx_experimental_TMXLayer_getLayerName(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getLayerName",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.TMXLayer:getLayerName",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -795,7 +795,7 @@ int lua_cocos2dx_experimental_TMXLayer_setTileSet(lua_State* tolua_S) cobj->setTileSet(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTileSet",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.TMXLayer:setTileSet",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -839,7 +839,7 @@ int lua_cocos2dx_experimental_TMXLayer_getTileSet(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.TMXTilesetInfo",(cocos2d::TMXTilesetInfo*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTileSet",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.TMXLayer:getTileSet",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -879,14 +879,14 @@ int lua_cocos2dx_experimental_TMXLayer_getTileAt(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "ccexp.TMXLayer:getTileAt"); if(!ok) return 0; cocos2d::Sprite* ret = cobj->getTileAt(arg0); object_to_luaval(tolua_S, "cc.Sprite",(cocos2d::Sprite*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTileAt",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.TMXLayer:getTileAt",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -925,7 +925,7 @@ int lua_cocos2dx_experimental_TMXLayer_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccexp.TMXLayer",(cocos2d::experimental::TMXLayer*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccexp.TMXLayer:create",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -957,7 +957,7 @@ int lua_cocos2dx_experimental_TMXLayer_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccexp.TMXLayer"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "TMXLayer",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.TMXLayer:TMXLayer",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1037,13 +1037,13 @@ int lua_cocos2dx_experimental_TMXTiledMap_setObjectGroups(lua_State* tolua_S) { cocos2d::Vector arg0; - ok &= luaval_to_ccvector(tolua_S, 2, &arg0); + ok &= luaval_to_ccvector(tolua_S, 2, &arg0, "ccexp.TMXTiledMap:setObjectGroups"); if(!ok) return 0; cobj->setObjectGroups(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setObjectGroups",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.TMXTiledMap:setObjectGroups",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1083,14 +1083,14 @@ int lua_cocos2dx_experimental_TMXTiledMap_getProperty(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccexp.TMXTiledMap:getProperty"); if(!ok) return 0; cocos2d::Value ret = cobj->getProperty(arg0); ccvalue_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getProperty",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.TMXTiledMap:getProperty",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1130,13 +1130,13 @@ int lua_cocos2dx_experimental_TMXTiledMap_setMapSize(lua_State* tolua_S) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "ccexp.TMXTiledMap:setMapSize"); if(!ok) return 0; cobj->setMapSize(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setMapSize",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.TMXTiledMap:setMapSize",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1176,14 +1176,14 @@ int lua_cocos2dx_experimental_TMXTiledMap_getObjectGroup(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccexp.TMXTiledMap:getObjectGroup"); if(!ok) return 0; cocos2d::TMXObjectGroup* ret = cobj->getObjectGroup(arg0); object_to_luaval(tolua_S, "cc.TMXObjectGroup",(cocos2d::TMXObjectGroup*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getObjectGroup",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.TMXTiledMap:getObjectGroup",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1230,7 +1230,7 @@ int lua_cocos2dx_experimental_TMXTiledMap_getObjectGroups(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getObjectGroups",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.TMXTiledMap:getObjectGroups",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1274,7 +1274,7 @@ int lua_cocos2dx_experimental_TMXTiledMap_getTileSize(lua_State* tolua_S) size_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTileSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.TMXTiledMap:getTileSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1318,7 +1318,7 @@ int lua_cocos2dx_experimental_TMXTiledMap_getMapSize(lua_State* tolua_S) size_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getMapSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.TMXTiledMap:getMapSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1362,7 +1362,7 @@ int lua_cocos2dx_experimental_TMXTiledMap_getProperties(lua_State* tolua_S) ccvaluemap_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getProperties",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.TMXTiledMap:getProperties",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1402,14 +1402,14 @@ int lua_cocos2dx_experimental_TMXTiledMap_getPropertiesForGID(lua_State* tolua_S { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccexp.TMXTiledMap:getPropertiesForGID"); if(!ok) return 0; cocos2d::Value ret = cobj->getPropertiesForGID(arg0); ccvalue_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPropertiesForGID",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.TMXTiledMap:getPropertiesForGID",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1449,13 +1449,13 @@ int lua_cocos2dx_experimental_TMXTiledMap_setTileSize(lua_State* tolua_S) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "ccexp.TMXTiledMap:setTileSize"); if(!ok) return 0; cobj->setTileSize(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTileSize",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.TMXTiledMap:setTileSize",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1495,13 +1495,13 @@ int lua_cocos2dx_experimental_TMXTiledMap_setProperties(lua_State* tolua_S) { cocos2d::ValueMap arg0; - ok &= luaval_to_ccvaluemap(tolua_S, 2, &arg0); + ok &= luaval_to_ccvaluemap(tolua_S, 2, &arg0, "ccexp.TMXTiledMap:setProperties"); if(!ok) return 0; cobj->setProperties(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setProperties",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.TMXTiledMap:setProperties",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1541,14 +1541,14 @@ int lua_cocos2dx_experimental_TMXTiledMap_getLayer(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccexp.TMXTiledMap:getLayer"); if(!ok) return 0; cocos2d::experimental::TMXLayer* ret = cobj->getLayer(arg0); object_to_luaval(tolua_S, "ccexp.TMXLayer",(cocos2d::experimental::TMXLayer*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getLayer",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.TMXTiledMap:getLayer",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1592,7 +1592,7 @@ int lua_cocos2dx_experimental_TMXTiledMap_getMapOrientation(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getMapOrientation",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.TMXTiledMap:getMapOrientation",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1632,13 +1632,13 @@ int lua_cocos2dx_experimental_TMXTiledMap_setMapOrientation(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccexp.TMXTiledMap:setMapOrientation"); if(!ok) return 0; cobj->setMapOrientation(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setMapOrientation",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.TMXTiledMap:setMapOrientation",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1666,14 +1666,14 @@ int lua_cocos2dx_experimental_TMXTiledMap_create(lua_State* tolua_S) if (argc == 1) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccexp.TMXTiledMap:create"); if(!ok) return 0; cocos2d::experimental::TMXTiledMap* ret = cocos2d::experimental::TMXTiledMap::create(arg0); object_to_luaval(tolua_S, "ccexp.TMXTiledMap",(cocos2d::experimental::TMXTiledMap*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccexp.TMXTiledMap:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -1700,15 +1700,15 @@ int lua_cocos2dx_experimental_TMXTiledMap_createWithXML(lua_State* tolua_S) { std::string arg0; std::string arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccexp.TMXTiledMap:createWithXML"); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "ccexp.TMXTiledMap:createWithXML"); if(!ok) return 0; cocos2d::experimental::TMXTiledMap* ret = cocos2d::experimental::TMXTiledMap::createWithXML(arg0, arg1); object_to_luaval(tolua_S, "ccexp.TMXTiledMap",(cocos2d::experimental::TMXTiledMap*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createWithXML",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccexp.TMXTiledMap:createWithXML",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_experimental_video_auto.cpp b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_experimental_video_auto.cpp index e62111ffaf..6b6a43244b 100644 --- a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_experimental_video_auto.cpp +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_experimental_video_auto.cpp @@ -40,7 +40,7 @@ int lua_cocos2dx_experimental_video_VideoPlayer_getFileName(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getFileName",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.VideoPlayer:getFileName",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -84,7 +84,7 @@ int lua_cocos2dx_experimental_video_VideoPlayer_getURL(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getURL",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.VideoPlayer:getURL",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -127,7 +127,7 @@ int lua_cocos2dx_experimental_video_VideoPlayer_play(lua_State* tolua_S) cobj->play(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "play",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.VideoPlayer:play",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -170,7 +170,7 @@ int lua_cocos2dx_experimental_video_VideoPlayer_pause(lua_State* tolua_S) cobj->pause(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "pause",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.VideoPlayer:pause",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -210,13 +210,13 @@ int lua_cocos2dx_experimental_video_VideoPlayer_setKeepAspectRatioEnabled(lua_St { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccexp.VideoPlayer:setKeepAspectRatioEnabled"); if(!ok) return 0; cobj->setKeepAspectRatioEnabled(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setKeepAspectRatioEnabled",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.VideoPlayer:setKeepAspectRatioEnabled",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -259,7 +259,7 @@ int lua_cocos2dx_experimental_video_VideoPlayer_resume(lua_State* tolua_S) cobj->resume(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "resume",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.VideoPlayer:resume",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -302,7 +302,7 @@ int lua_cocos2dx_experimental_video_VideoPlayer_stop(lua_State* tolua_S) cobj->stop(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "stop",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.VideoPlayer:stop",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -342,13 +342,13 @@ int lua_cocos2dx_experimental_video_VideoPlayer_setFullScreenEnabled(lua_State* { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccexp.VideoPlayer:setFullScreenEnabled"); if(!ok) return 0; cobj->setFullScreenEnabled(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setFullScreenEnabled",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.VideoPlayer:setFullScreenEnabled",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -388,13 +388,13 @@ int lua_cocos2dx_experimental_video_VideoPlayer_setFileName(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccexp.VideoPlayer:setFileName"); if(!ok) return 0; cobj->setFileName(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setFileName",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.VideoPlayer:setFileName",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -434,13 +434,13 @@ int lua_cocos2dx_experimental_video_VideoPlayer_setURL(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccexp.VideoPlayer:setURL"); if(!ok) return 0; cobj->setURL(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setURL",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.VideoPlayer:setURL",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -484,7 +484,7 @@ int lua_cocos2dx_experimental_video_VideoPlayer_isKeepAspectRatioEnabled(lua_Sta tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isKeepAspectRatioEnabled",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.VideoPlayer:isKeepAspectRatioEnabled",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -524,13 +524,13 @@ int lua_cocos2dx_experimental_video_VideoPlayer_onPlayEvent(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccexp.VideoPlayer:onPlayEvent"); if(!ok) return 0; cobj->onPlayEvent(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "onPlayEvent",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.VideoPlayer:onPlayEvent",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -574,7 +574,7 @@ int lua_cocos2dx_experimental_video_VideoPlayer_isFullScreenEnabled(lua_State* t tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isFullScreenEnabled",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.VideoPlayer:isFullScreenEnabled",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -618,7 +618,7 @@ int lua_cocos2dx_experimental_video_VideoPlayer_isPlaying(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isPlaying",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.VideoPlayer:isPlaying",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -658,13 +658,13 @@ int lua_cocos2dx_experimental_video_VideoPlayer_seekTo(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccexp.VideoPlayer:seekTo"); if(!ok) return 0; cobj->seekTo(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "seekTo",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccexp.VideoPlayer:seekTo",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -697,7 +697,7 @@ int lua_cocos2dx_experimental_video_VideoPlayer_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccexp.VideoPlayer",(cocos2d::experimental::ui::VideoPlayer*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccexp.VideoPlayer:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_extension_auto.cpp b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_extension_auto.cpp index 6a66e82f68..8387dbdc8b 100644 --- a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_extension_auto.cpp +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_extension_auto.cpp @@ -36,14 +36,14 @@ int lua_cocos2dx_extension_Scale9Sprite_resizableSpriteWithCapInsets(lua_State* { cocos2d::Rect arg0; - ok &= luaval_to_rect(tolua_S, 2, &arg0); + ok &= luaval_to_rect(tolua_S, 2, &arg0, "cc.Scale9Sprite:resizableSpriteWithCapInsets"); if(!ok) return 0; cocos2d::extension::Scale9Sprite* ret = cobj->resizableSpriteWithCapInsets(arg0); object_to_luaval(tolua_S, "cc.Scale9Sprite",(cocos2d::extension::Scale9Sprite*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "resizableSpriteWithCapInsets",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Scale9Sprite:resizableSpriteWithCapInsets",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -83,13 +83,13 @@ int lua_cocos2dx_extension_Scale9Sprite_setInsetBottom(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Scale9Sprite:setInsetBottom"); if(!ok) return 0; cobj->setInsetBottom(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setInsetBottom",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Scale9Sprite:setInsetBottom",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -123,7 +123,7 @@ int lua_cocos2dx_extension_Scale9Sprite_initWithSpriteFrameName(lua_State* tolua do{ if (argc == 1) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Scale9Sprite:initWithSpriteFrameName"); if (!ok) { break; } bool ret = cobj->initWithSpriteFrameName(arg0); @@ -135,11 +135,11 @@ int lua_cocos2dx_extension_Scale9Sprite_initWithSpriteFrameName(lua_State* tolua do{ if (argc == 2) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Scale9Sprite:initWithSpriteFrameName"); if (!ok) { break; } cocos2d::Rect arg1; - ok &= luaval_to_rect(tolua_S, 3, &arg1); + ok &= luaval_to_rect(tolua_S, 3, &arg1, "cc.Scale9Sprite:initWithSpriteFrameName"); if (!ok) { break; } bool ret = cobj->initWithSpriteFrameName(arg0, arg1); @@ -148,7 +148,7 @@ int lua_cocos2dx_extension_Scale9Sprite_initWithSpriteFrameName(lua_State* tolua } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "initWithSpriteFrameName",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Scale9Sprite:initWithSpriteFrameName",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -188,13 +188,13 @@ int lua_cocos2dx_extension_Scale9Sprite_setInsetTop(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Scale9Sprite:setInsetTop"); if(!ok) return 0; cobj->setInsetTop(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setInsetTop",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Scale9Sprite:setInsetTop",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -238,7 +238,7 @@ int lua_cocos2dx_extension_Scale9Sprite_init(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "init",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Scale9Sprite:init",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -278,13 +278,13 @@ int lua_cocos2dx_extension_Scale9Sprite_setPreferredSize(lua_State* tolua_S) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.Scale9Sprite:setPreferredSize"); if(!ok) return 0; cobj->setPreferredSize(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setPreferredSize",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Scale9Sprite:setPreferredSize",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -330,7 +330,7 @@ int lua_cocos2dx_extension_Scale9Sprite_setSpriteFrame(lua_State* tolua_S) cobj->setSpriteFrame(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setSpriteFrame",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Scale9Sprite:setSpriteFrame",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -368,11 +368,11 @@ int lua_cocos2dx_extension_Scale9Sprite_initWithBatchNode(lua_State* tolua_S) if (!ok) { break; } cocos2d::Rect arg1; - ok &= luaval_to_rect(tolua_S, 3, &arg1); + ok &= luaval_to_rect(tolua_S, 3, &arg1, "cc.Scale9Sprite:initWithBatchNode"); if (!ok) { break; } cocos2d::Rect arg2; - ok &= luaval_to_rect(tolua_S, 4, &arg2); + ok &= luaval_to_rect(tolua_S, 4, &arg2, "cc.Scale9Sprite:initWithBatchNode"); if (!ok) { break; } bool ret = cobj->initWithBatchNode(arg0, arg1, arg2); @@ -388,15 +388,15 @@ int lua_cocos2dx_extension_Scale9Sprite_initWithBatchNode(lua_State* tolua_S) if (!ok) { break; } cocos2d::Rect arg1; - ok &= luaval_to_rect(tolua_S, 3, &arg1); + ok &= luaval_to_rect(tolua_S, 3, &arg1, "cc.Scale9Sprite:initWithBatchNode"); if (!ok) { break; } bool arg2; - ok &= luaval_to_boolean(tolua_S, 4,&arg2); + ok &= luaval_to_boolean(tolua_S, 4,&arg2, "cc.Scale9Sprite:initWithBatchNode"); if (!ok) { break; } cocos2d::Rect arg3; - ok &= luaval_to_rect(tolua_S, 5, &arg3); + ok &= luaval_to_rect(tolua_S, 5, &arg3, "cc.Scale9Sprite:initWithBatchNode"); if (!ok) { break; } bool ret = cobj->initWithBatchNode(arg0, arg1, arg2, arg3); @@ -405,7 +405,7 @@ int lua_cocos2dx_extension_Scale9Sprite_initWithBatchNode(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "initWithBatchNode",argc, 4); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Scale9Sprite:initWithBatchNode",argc, 4); return 0; #if COCOS2D_DEBUG >= 1 @@ -449,7 +449,7 @@ int lua_cocos2dx_extension_Scale9Sprite_getInsetBottom(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getInsetBottom",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Scale9Sprite:getInsetBottom",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -493,7 +493,7 @@ int lua_cocos2dx_extension_Scale9Sprite_getCapInsets(lua_State* tolua_S) rect_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getCapInsets",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Scale9Sprite:getCapInsets",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -538,18 +538,18 @@ int lua_cocos2dx_extension_Scale9Sprite_updateWithBatchNode(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 2, "cc.SpriteBatchNode",&arg0); - ok &= luaval_to_rect(tolua_S, 3, &arg1); + ok &= luaval_to_rect(tolua_S, 3, &arg1, "cc.Scale9Sprite:updateWithBatchNode"); - ok &= luaval_to_boolean(tolua_S, 4,&arg2); + ok &= luaval_to_boolean(tolua_S, 4,&arg2, "cc.Scale9Sprite:updateWithBatchNode"); - ok &= luaval_to_rect(tolua_S, 5, &arg3); + ok &= luaval_to_rect(tolua_S, 5, &arg3, "cc.Scale9Sprite:updateWithBatchNode"); if(!ok) return 0; bool ret = cobj->updateWithBatchNode(arg0, arg1, arg2, arg3); tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "updateWithBatchNode",argc, 4); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Scale9Sprite:updateWithBatchNode",argc, 4); return 0; #if COCOS2D_DEBUG >= 1 @@ -593,7 +593,7 @@ int lua_cocos2dx_extension_Scale9Sprite_getInsetRight(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getInsetRight",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Scale9Sprite:getInsetRight",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -637,7 +637,7 @@ int lua_cocos2dx_extension_Scale9Sprite_getOriginalSize(lua_State* tolua_S) size_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getOriginalSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Scale9Sprite:getOriginalSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -671,11 +671,11 @@ int lua_cocos2dx_extension_Scale9Sprite_initWithFile(lua_State* tolua_S) do{ if (argc == 2) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Scale9Sprite:initWithFile"); if (!ok) { break; } cocos2d::Rect arg1; - ok &= luaval_to_rect(tolua_S, 3, &arg1); + ok &= luaval_to_rect(tolua_S, 3, &arg1, "cc.Scale9Sprite:initWithFile"); if (!ok) { break; } bool ret = cobj->initWithFile(arg0, arg1); @@ -687,15 +687,15 @@ int lua_cocos2dx_extension_Scale9Sprite_initWithFile(lua_State* tolua_S) do{ if (argc == 3) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Scale9Sprite:initWithFile"); if (!ok) { break; } cocos2d::Rect arg1; - ok &= luaval_to_rect(tolua_S, 3, &arg1); + ok &= luaval_to_rect(tolua_S, 3, &arg1, "cc.Scale9Sprite:initWithFile"); if (!ok) { break; } cocos2d::Rect arg2; - ok &= luaval_to_rect(tolua_S, 4, &arg2); + ok &= luaval_to_rect(tolua_S, 4, &arg2, "cc.Scale9Sprite:initWithFile"); if (!ok) { break; } bool ret = cobj->initWithFile(arg0, arg1, arg2); @@ -707,11 +707,11 @@ int lua_cocos2dx_extension_Scale9Sprite_initWithFile(lua_State* tolua_S) do{ if (argc == 2) { cocos2d::Rect arg0; - ok &= luaval_to_rect(tolua_S, 2, &arg0); + ok &= luaval_to_rect(tolua_S, 2, &arg0, "cc.Scale9Sprite:initWithFile"); if (!ok) { break; } std::string arg1; - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "cc.Scale9Sprite:initWithFile"); if (!ok) { break; } bool ret = cobj->initWithFile(arg0, arg1); @@ -723,7 +723,7 @@ int lua_cocos2dx_extension_Scale9Sprite_initWithFile(lua_State* tolua_S) do{ if (argc == 1) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Scale9Sprite:initWithFile"); if (!ok) { break; } bool ret = cobj->initWithFile(arg0); @@ -732,7 +732,7 @@ int lua_cocos2dx_extension_Scale9Sprite_initWithFile(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "initWithFile",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Scale9Sprite:initWithFile",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -776,7 +776,7 @@ int lua_cocos2dx_extension_Scale9Sprite_getInsetTop(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getInsetTop",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Scale9Sprite:getInsetTop",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -816,13 +816,13 @@ int lua_cocos2dx_extension_Scale9Sprite_setInsetLeft(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Scale9Sprite:setInsetLeft"); if(!ok) return 0; cobj->setInsetLeft(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setInsetLeft",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Scale9Sprite:setInsetLeft",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -872,7 +872,7 @@ int lua_cocos2dx_extension_Scale9Sprite_initWithSpriteFrame(lua_State* tolua_S) if (!ok) { break; } cocos2d::Rect arg1; - ok &= luaval_to_rect(tolua_S, 3, &arg1); + ok &= luaval_to_rect(tolua_S, 3, &arg1, "cc.Scale9Sprite:initWithSpriteFrame"); if (!ok) { break; } bool ret = cobj->initWithSpriteFrame(arg0, arg1); @@ -881,7 +881,7 @@ int lua_cocos2dx_extension_Scale9Sprite_initWithSpriteFrame(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "initWithSpriteFrame",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Scale9Sprite:initWithSpriteFrame",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -925,7 +925,7 @@ int lua_cocos2dx_extension_Scale9Sprite_getPreferredSize(lua_State* tolua_S) size_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPreferredSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Scale9Sprite:getPreferredSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -965,13 +965,13 @@ int lua_cocos2dx_extension_Scale9Sprite_setCapInsets(lua_State* tolua_S) { cocos2d::Rect arg0; - ok &= luaval_to_rect(tolua_S, 2, &arg0); + ok &= luaval_to_rect(tolua_S, 2, &arg0, "cc.Scale9Sprite:setCapInsets"); if(!ok) return 0; cobj->setCapInsets(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setCapInsets",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Scale9Sprite:setCapInsets",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1015,7 +1015,7 @@ int lua_cocos2dx_extension_Scale9Sprite_getInsetLeft(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getInsetLeft",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Scale9Sprite:getInsetLeft",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1055,13 +1055,13 @@ int lua_cocos2dx_extension_Scale9Sprite_setInsetRight(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.Scale9Sprite:setInsetRight"); if(!ok) return 0; cobj->setInsetRight(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setInsetRight",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Scale9Sprite:setInsetRight",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1090,13 +1090,13 @@ int lua_cocos2dx_extension_Scale9Sprite_create(lua_State* tolua_S) if (argc == 3) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Scale9Sprite:create"); if (!ok) { break; } cocos2d::Rect arg1; - ok &= luaval_to_rect(tolua_S, 3, &arg1); + ok &= luaval_to_rect(tolua_S, 3, &arg1, "cc.Scale9Sprite:create"); if (!ok) { break; } cocos2d::Rect arg2; - ok &= luaval_to_rect(tolua_S, 4, &arg2); + ok &= luaval_to_rect(tolua_S, 4, &arg2, "cc.Scale9Sprite:create"); if (!ok) { break; } cocos2d::extension::Scale9Sprite* ret = cocos2d::extension::Scale9Sprite::create(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.Scale9Sprite",(cocos2d::extension::Scale9Sprite*)ret); @@ -1119,10 +1119,10 @@ int lua_cocos2dx_extension_Scale9Sprite_create(lua_State* tolua_S) if (argc == 2) { cocos2d::Rect arg0; - ok &= luaval_to_rect(tolua_S, 2, &arg0); + ok &= luaval_to_rect(tolua_S, 2, &arg0, "cc.Scale9Sprite:create"); if (!ok) { break; } std::string arg1; - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "cc.Scale9Sprite:create"); if (!ok) { break; } cocos2d::extension::Scale9Sprite* ret = cocos2d::extension::Scale9Sprite::create(arg0, arg1); object_to_luaval(tolua_S, "cc.Scale9Sprite",(cocos2d::extension::Scale9Sprite*)ret); @@ -1135,10 +1135,10 @@ int lua_cocos2dx_extension_Scale9Sprite_create(lua_State* tolua_S) if (argc == 2) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Scale9Sprite:create"); if (!ok) { break; } cocos2d::Rect arg1; - ok &= luaval_to_rect(tolua_S, 3, &arg1); + ok &= luaval_to_rect(tolua_S, 3, &arg1, "cc.Scale9Sprite:create"); if (!ok) { break; } cocos2d::extension::Scale9Sprite* ret = cocos2d::extension::Scale9Sprite::create(arg0, arg1); object_to_luaval(tolua_S, "cc.Scale9Sprite",(cocos2d::extension::Scale9Sprite*)ret); @@ -1151,7 +1151,7 @@ int lua_cocos2dx_extension_Scale9Sprite_create(lua_State* tolua_S) if (argc == 1) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Scale9Sprite:create"); if (!ok) { break; } cocos2d::extension::Scale9Sprite* ret = cocos2d::extension::Scale9Sprite::create(arg0); object_to_luaval(tolua_S, "cc.Scale9Sprite",(cocos2d::extension::Scale9Sprite*)ret); @@ -1159,7 +1159,7 @@ int lua_cocos2dx_extension_Scale9Sprite_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.Scale9Sprite:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -1186,10 +1186,10 @@ int lua_cocos2dx_extension_Scale9Sprite_createWithSpriteFrameName(lua_State* tol if (argc == 2) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Scale9Sprite:createWithSpriteFrameName"); if (!ok) { break; } cocos2d::Rect arg1; - ok &= luaval_to_rect(tolua_S, 3, &arg1); + ok &= luaval_to_rect(tolua_S, 3, &arg1, "cc.Scale9Sprite:createWithSpriteFrameName"); if (!ok) { break; } cocos2d::extension::Scale9Sprite* ret = cocos2d::extension::Scale9Sprite::createWithSpriteFrameName(arg0, arg1); object_to_luaval(tolua_S, "cc.Scale9Sprite",(cocos2d::extension::Scale9Sprite*)ret); @@ -1202,7 +1202,7 @@ int lua_cocos2dx_extension_Scale9Sprite_createWithSpriteFrameName(lua_State* tol if (argc == 1) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.Scale9Sprite:createWithSpriteFrameName"); if (!ok) { break; } cocos2d::extension::Scale9Sprite* ret = cocos2d::extension::Scale9Sprite::createWithSpriteFrameName(arg0); object_to_luaval(tolua_S, "cc.Scale9Sprite",(cocos2d::extension::Scale9Sprite*)ret); @@ -1210,7 +1210,7 @@ int lua_cocos2dx_extension_Scale9Sprite_createWithSpriteFrameName(lua_State* tol } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "createWithSpriteFrameName",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.Scale9Sprite:createWithSpriteFrameName",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -1240,7 +1240,7 @@ int lua_cocos2dx_extension_Scale9Sprite_createWithSpriteFrame(lua_State* tolua_S ok &= luaval_to_object(tolua_S, 2, "cc.SpriteFrame",&arg0); if (!ok) { break; } cocos2d::Rect arg1; - ok &= luaval_to_rect(tolua_S, 3, &arg1); + ok &= luaval_to_rect(tolua_S, 3, &arg1, "cc.Scale9Sprite:createWithSpriteFrame"); if (!ok) { break; } cocos2d::extension::Scale9Sprite* ret = cocos2d::extension::Scale9Sprite::createWithSpriteFrame(arg0, arg1); object_to_luaval(tolua_S, "cc.Scale9Sprite",(cocos2d::extension::Scale9Sprite*)ret); @@ -1261,7 +1261,7 @@ int lua_cocos2dx_extension_Scale9Sprite_createWithSpriteFrame(lua_State* tolua_S } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "createWithSpriteFrame",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.Scale9Sprite:createWithSpriteFrame",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -1293,7 +1293,7 @@ int lua_cocos2dx_extension_Scale9Sprite_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.Scale9Sprite"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "Scale9Sprite",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Scale9Sprite:Scale9Sprite",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1377,13 +1377,13 @@ int lua_cocos2dx_extension_Control_setEnabled(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.Control:setEnabled"); if(!ok) return 0; cobj->setEnabled(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setEnabled",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Control:setEnabled",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1432,7 +1432,7 @@ int lua_cocos2dx_extension_Control_onTouchMoved(lua_State* tolua_S) cobj->onTouchMoved(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "onTouchMoved",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Control:onTouchMoved",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -1476,7 +1476,7 @@ int lua_cocos2dx_extension_Control_getState(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getState",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Control:getState",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1525,7 +1525,7 @@ int lua_cocos2dx_extension_Control_onTouchEnded(lua_State* tolua_S) cobj->onTouchEnded(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "onTouchEnded",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Control:onTouchEnded",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -1565,13 +1565,13 @@ int lua_cocos2dx_extension_Control_sendActionsForControlEvents(lua_State* tolua_ { cocos2d::extension::Control::EventType arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.Control:sendActionsForControlEvents"); if(!ok) return 0; cobj->sendActionsForControlEvents(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "sendActionsForControlEvents",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Control:sendActionsForControlEvents",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1611,13 +1611,13 @@ int lua_cocos2dx_extension_Control_setSelected(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.Control:setSelected"); if(!ok) return 0; cobj->setSelected(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setSelected",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Control:setSelected",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1661,7 +1661,7 @@ int lua_cocos2dx_extension_Control_isEnabled(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isEnabled",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Control:isEnabled",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1710,7 +1710,7 @@ int lua_cocos2dx_extension_Control_onTouchCancelled(lua_State* tolua_S) cobj->onTouchCancelled(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "onTouchCancelled",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Control:onTouchCancelled",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -1753,7 +1753,7 @@ int lua_cocos2dx_extension_Control_needsLayout(lua_State* tolua_S) cobj->needsLayout(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "needsLayout",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Control:needsLayout",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1803,7 +1803,7 @@ int lua_cocos2dx_extension_Control_onTouchBegan(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "onTouchBegan",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Control:onTouchBegan",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -1847,7 +1847,7 @@ int lua_cocos2dx_extension_Control_hasVisibleParents(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "hasVisibleParents",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Control:hasVisibleParents",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1891,7 +1891,7 @@ int lua_cocos2dx_extension_Control_isSelected(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isSelected",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Control:isSelected",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1938,7 +1938,7 @@ int lua_cocos2dx_extension_Control_isTouchInside(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isTouchInside",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Control:isTouchInside",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1978,13 +1978,13 @@ int lua_cocos2dx_extension_Control_setHighlighted(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.Control:setHighlighted"); if(!ok) return 0; cobj->setHighlighted(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setHighlighted",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Control:setHighlighted",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -2031,7 +2031,7 @@ int lua_cocos2dx_extension_Control_getTouchLocation(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTouchLocation",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Control:getTouchLocation",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -2075,7 +2075,7 @@ int lua_cocos2dx_extension_Control_isHighlighted(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isHighlighted",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.Control:isHighlighted",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2108,7 +2108,7 @@ int lua_cocos2dx_extension_Control_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Control",(cocos2d::extension::Control*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.Control:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -2186,7 +2186,7 @@ int lua_cocos2dx_extension_ControlButton_isPushed(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isPushed",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlButton:isPushed",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2226,13 +2226,13 @@ int lua_cocos2dx_extension_ControlButton_setSelected(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.ControlButton:setSelected"); if(!ok) return 0; cobj->setSelected(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setSelected",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlButton:setSelected",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -2275,13 +2275,13 @@ int lua_cocos2dx_extension_ControlButton_setTitleLabelForState(lua_State* tolua_ ok &= luaval_to_object(tolua_S, 2, "cc.Node",&arg0); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.ControlButton:setTitleLabelForState"); if(!ok) return 0; cobj->setTitleLabelForState(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTitleLabelForState",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlButton:setTitleLabelForState",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -2321,13 +2321,13 @@ int lua_cocos2dx_extension_ControlButton_setAdjustBackgroundImage(lua_State* tol { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.ControlButton:setAdjustBackgroundImage"); if(!ok) return 0; cobj->setAdjustBackgroundImage(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAdjustBackgroundImage",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlButton:setAdjustBackgroundImage",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -2367,13 +2367,13 @@ int lua_cocos2dx_extension_ControlButton_setHighlighted(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.ControlButton:setHighlighted"); if(!ok) return 0; cobj->setHighlighted(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setHighlighted",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlButton:setHighlighted",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -2413,13 +2413,13 @@ int lua_cocos2dx_extension_ControlButton_setZoomOnTouchDown(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.ControlButton:setZoomOnTouchDown"); if(!ok) return 0; cobj->setZoomOnTouchDown(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setZoomOnTouchDown",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlButton:setZoomOnTouchDown",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -2460,15 +2460,15 @@ int lua_cocos2dx_extension_ControlButton_setTitleForState(lua_State* tolua_S) std::string arg0; cocos2d::extension::Control::State arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.ControlButton:setTitleForState"); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.ControlButton:setTitleForState"); if(!ok) return 0; cobj->setTitleForState(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTitleForState",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlButton:setTitleForState",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -2508,13 +2508,13 @@ int lua_cocos2dx_extension_ControlButton_setLabelAnchorPoint(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.ControlButton:setLabelAnchorPoint"); if(!ok) return 0; cobj->setLabelAnchorPoint(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setLabelAnchorPoint",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlButton:setLabelAnchorPoint",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -2558,7 +2558,7 @@ int lua_cocos2dx_extension_ControlButton_getLabelAnchorPoint(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getLabelAnchorPoint",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlButton:getLabelAnchorPoint",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2598,14 +2598,14 @@ int lua_cocos2dx_extension_ControlButton_getTitleTTFSizeForState(lua_State* tolu { cocos2d::extension::Control::State arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.ControlButton:getTitleTTFSizeForState"); if(!ok) return 0; double ret = cobj->getTitleTTFSizeForState(arg0); tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTitleTTFSizeForState",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlButton:getTitleTTFSizeForState",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -2646,15 +2646,15 @@ int lua_cocos2dx_extension_ControlButton_setTitleTTFForState(lua_State* tolua_S) std::string arg0; cocos2d::extension::Control::State arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.ControlButton:setTitleTTFForState"); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.ControlButton:setTitleTTFForState"); if(!ok) return 0; cobj->setTitleTTFForState(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTitleTTFForState",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlButton:setTitleTTFForState",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -2695,15 +2695,15 @@ int lua_cocos2dx_extension_ControlButton_setTitleTTFSizeForState(lua_State* tolu double arg0; cocos2d::extension::Control::State arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ControlButton:setTitleTTFSizeForState"); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.ControlButton:setTitleTTFSizeForState"); if(!ok) return 0; cobj->setTitleTTFSizeForState(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTitleTTFSizeForState",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlButton:setTitleTTFSizeForState",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -2749,7 +2749,7 @@ int lua_cocos2dx_extension_ControlButton_setTitleLabel(lua_State* tolua_S) cobj->setTitleLabel(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTitleLabel",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlButton:setTitleLabel",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -2789,13 +2789,13 @@ int lua_cocos2dx_extension_ControlButton_setPreferredSize(lua_State* tolua_S) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.ControlButton:setPreferredSize"); if(!ok) return 0; cobj->setPreferredSize(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setPreferredSize",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlButton:setPreferredSize",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -2839,7 +2839,7 @@ int lua_cocos2dx_extension_ControlButton_getCurrentTitleColor(lua_State* tolua_S color3b_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getCurrentTitleColor",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlButton:getCurrentTitleColor",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2879,13 +2879,13 @@ int lua_cocos2dx_extension_ControlButton_setEnabled(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.ControlButton:setEnabled"); if(!ok) return 0; cobj->setEnabled(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setEnabled",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlButton:setEnabled",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -2925,14 +2925,14 @@ int lua_cocos2dx_extension_ControlButton_getBackgroundSpriteForState(lua_State* { cocos2d::extension::Control::State arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.ControlButton:getBackgroundSpriteForState"); if(!ok) return 0; cocos2d::extension::Scale9Sprite* ret = cobj->getBackgroundSpriteForState(arg0); object_to_luaval(tolua_S, "cc.Scale9Sprite",(cocos2d::extension::Scale9Sprite*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBackgroundSpriteForState",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlButton:getBackgroundSpriteForState",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -2976,7 +2976,7 @@ int lua_cocos2dx_extension_ControlButton_getHorizontalOrigin(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getHorizontalOrigin",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlButton:getHorizontalOrigin",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3019,7 +3019,7 @@ int lua_cocos2dx_extension_ControlButton_needsLayout(lua_State* tolua_S) cobj->needsLayout(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "needsLayout",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlButton:needsLayout",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3066,7 +3066,7 @@ int lua_cocos2dx_extension_ControlButton_getCurrentTitle(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getCurrentTitle",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlButton:getCurrentTitle",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3110,7 +3110,7 @@ int lua_cocos2dx_extension_ControlButton_getScaleRatio(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getScaleRatio",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlButton:getScaleRatio",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3150,14 +3150,14 @@ int lua_cocos2dx_extension_ControlButton_getTitleTTFForState(lua_State* tolua_S) { cocos2d::extension::Control::State arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.ControlButton:getTitleTTFForState"); if(!ok) return 0; const std::string& ret = cobj->getTitleTTFForState(arg0); tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTitleTTFForState",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlButton:getTitleTTFForState",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -3201,7 +3201,7 @@ int lua_cocos2dx_extension_ControlButton_getBackgroundSprite(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Scale9Sprite",(cocos2d::extension::Scale9Sprite*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBackgroundSprite",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlButton:getBackgroundSprite",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3241,14 +3241,14 @@ int lua_cocos2dx_extension_ControlButton_getTitleColorForState(lua_State* tolua_ { cocos2d::extension::Control::State arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.ControlButton:getTitleColorForState"); if(!ok) return 0; cocos2d::Color3B ret = cobj->getTitleColorForState(arg0); color3b_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTitleColorForState",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlButton:getTitleColorForState",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -3289,15 +3289,15 @@ int lua_cocos2dx_extension_ControlButton_setTitleColorForState(lua_State* tolua_ cocos2d::Color3B arg0; cocos2d::extension::Control::State arg1; - ok &= luaval_to_color3b(tolua_S, 2, &arg0); + ok &= luaval_to_color3b(tolua_S, 2, &arg0, "cc.ControlButton:setTitleColorForState"); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.ControlButton:setTitleColorForState"); if(!ok) return 0; cobj->setTitleColorForState(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTitleColorForState",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlButton:setTitleColorForState",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -3341,7 +3341,7 @@ int lua_cocos2dx_extension_ControlButton_doesAdjustBackgroundImage(lua_State* to tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "doesAdjustBackgroundImage",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlButton:doesAdjustBackgroundImage",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3384,13 +3384,13 @@ int lua_cocos2dx_extension_ControlButton_setBackgroundSpriteFrameForState(lua_St ok &= luaval_to_object(tolua_S, 2, "cc.SpriteFrame",&arg0); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.ControlButton:setBackgroundSpriteFrameForState"); if(!ok) return 0; cobj->setBackgroundSpriteFrameForState(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setBackgroundSpriteFrameForState",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlButton:setBackgroundSpriteFrameForState",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -3433,13 +3433,13 @@ int lua_cocos2dx_extension_ControlButton_setBackgroundSpriteForState(lua_State* ok &= luaval_to_object(tolua_S, 2, "cc.Scale9Sprite",&arg0); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.ControlButton:setBackgroundSpriteForState"); if(!ok) return 0; cobj->setBackgroundSpriteForState(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setBackgroundSpriteForState",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlButton:setBackgroundSpriteForState",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -3479,13 +3479,13 @@ int lua_cocos2dx_extension_ControlButton_setScaleRatio(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ControlButton:setScaleRatio"); if(!ok) return 0; cobj->setScaleRatio(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setScaleRatio",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlButton:setScaleRatio",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -3531,7 +3531,7 @@ int lua_cocos2dx_extension_ControlButton_setBackgroundSprite(lua_State* tolua_S) cobj->setBackgroundSprite(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setBackgroundSprite",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlButton:setBackgroundSprite",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -3575,7 +3575,7 @@ int lua_cocos2dx_extension_ControlButton_getTitleLabel(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Node",(cocos2d::Node*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTitleLabel",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlButton:getTitleLabel",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3619,7 +3619,7 @@ int lua_cocos2dx_extension_ControlButton_getPreferredSize(lua_State* tolua_S) size_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPreferredSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlButton:getPreferredSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3663,7 +3663,7 @@ int lua_cocos2dx_extension_ControlButton_getVerticalMargin(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getVerticalMargin",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlButton:getVerticalMargin",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3703,14 +3703,14 @@ int lua_cocos2dx_extension_ControlButton_getTitleLabelForState(lua_State* tolua_ { cocos2d::extension::Control::State arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.ControlButton:getTitleLabelForState"); if(!ok) return 0; cocos2d::Node* ret = cobj->getTitleLabelForState(arg0); object_to_luaval(tolua_S, "cc.Node",(cocos2d::Node*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTitleLabelForState",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlButton:getTitleLabelForState",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -3751,15 +3751,15 @@ int lua_cocos2dx_extension_ControlButton_setMargins(lua_State* tolua_S) int arg0; int arg1; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.ControlButton:setMargins"); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.ControlButton:setMargins"); if(!ok) return 0; cobj->setMargins(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setMargins",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlButton:setMargins",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -3800,15 +3800,15 @@ int lua_cocos2dx_extension_ControlButton_setTitleBMFontForState(lua_State* tolua std::string arg0; cocos2d::extension::Control::State arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.ControlButton:setTitleBMFontForState"); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.ControlButton:setTitleBMFontForState"); if(!ok) return 0; cobj->setTitleBMFontForState(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTitleBMFontForState",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlButton:setTitleBMFontForState",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -3848,14 +3848,14 @@ int lua_cocos2dx_extension_ControlButton_getTitleBMFontForState(lua_State* tolua { cocos2d::extension::Control::State arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.ControlButton:getTitleBMFontForState"); if(!ok) return 0; const std::string& ret = cobj->getTitleBMFontForState(arg0); tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTitleBMFontForState",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlButton:getTitleBMFontForState",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -3899,7 +3899,7 @@ int lua_cocos2dx_extension_ControlButton_getZoomOnTouchDown(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getZoomOnTouchDown",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlButton:getZoomOnTouchDown",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3939,14 +3939,14 @@ int lua_cocos2dx_extension_ControlButton_getTitleForState(lua_State* tolua_S) { cocos2d::extension::Control::State arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.ControlButton:getTitleForState"); if(!ok) return 0; std::string ret = cobj->getTitleForState(arg0); tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTitleForState",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlButton:getTitleForState",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4014,13 +4014,13 @@ int lua_cocos2dx_extension_ControlButton_create(lua_State* tolua_S) if (argc == 3) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.ControlButton:create"); if (!ok) { break; } std::string arg1; - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "cc.ControlButton:create"); if (!ok) { break; } double arg2; - ok &= luaval_to_number(tolua_S, 4,&arg2); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.ControlButton:create"); if (!ok) { break; } cocos2d::extension::ControlButton* ret = cocos2d::extension::ControlButton::create(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.ControlButton",(cocos2d::extension::ControlButton*)ret); @@ -4028,7 +4028,7 @@ int lua_cocos2dx_extension_ControlButton_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.ControlButton:create",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -4125,13 +4125,13 @@ int lua_cocos2dx_extension_ControlHuePicker_setEnabled(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.ControlHuePicker:setEnabled"); if(!ok) return 0; cobj->setEnabled(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setEnabled",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlHuePicker:setEnabled",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4174,14 +4174,14 @@ int lua_cocos2dx_extension_ControlHuePicker_initWithTargetAndPos(lua_State* tolu ok &= luaval_to_object(tolua_S, 2, "cc.Node",&arg0); - ok &= luaval_to_vec2(tolua_S, 3, &arg1); + ok &= luaval_to_vec2(tolua_S, 3, &arg1, "cc.ControlHuePicker:initWithTargetAndPos"); if(!ok) return 0; bool ret = cobj->initWithTargetAndPos(arg0, arg1); tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "initWithTargetAndPos",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlHuePicker:initWithTargetAndPos",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -4221,13 +4221,13 @@ int lua_cocos2dx_extension_ControlHuePicker_setHue(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ControlHuePicker:setHue"); if(!ok) return 0; cobj->setHue(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setHue",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlHuePicker:setHue",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4271,7 +4271,7 @@ int lua_cocos2dx_extension_ControlHuePicker_getStartPos(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getStartPos",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlHuePicker:getStartPos",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4315,7 +4315,7 @@ int lua_cocos2dx_extension_ControlHuePicker_getHue(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getHue",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlHuePicker:getHue",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4359,7 +4359,7 @@ int lua_cocos2dx_extension_ControlHuePicker_getSlider(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Sprite",(cocos2d::Sprite*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getSlider",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlHuePicker:getSlider",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4405,7 +4405,7 @@ int lua_cocos2dx_extension_ControlHuePicker_setBackground(lua_State* tolua_S) cobj->setBackground(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setBackground",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlHuePicker:setBackground",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4445,13 +4445,13 @@ int lua_cocos2dx_extension_ControlHuePicker_setHuePercentage(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ControlHuePicker:setHuePercentage"); if(!ok) return 0; cobj->setHuePercentage(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setHuePercentage",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlHuePicker:setHuePercentage",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4495,7 +4495,7 @@ int lua_cocos2dx_extension_ControlHuePicker_getBackground(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Sprite",(cocos2d::Sprite*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBackground",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlHuePicker:getBackground",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4539,7 +4539,7 @@ int lua_cocos2dx_extension_ControlHuePicker_getHuePercentage(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getHuePercentage",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlHuePicker:getHuePercentage",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4585,7 +4585,7 @@ int lua_cocos2dx_extension_ControlHuePicker_setSlider(lua_State* tolua_S) cobj->setSlider(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setSlider",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlHuePicker:setSlider",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4615,14 +4615,14 @@ int lua_cocos2dx_extension_ControlHuePicker_create(lua_State* tolua_S) cocos2d::Node* arg0; cocos2d::Vec2 arg1; ok &= luaval_to_object(tolua_S, 2, "cc.Node",&arg0); - ok &= luaval_to_vec2(tolua_S, 3, &arg1); + ok &= luaval_to_vec2(tolua_S, 3, &arg1, "cc.ControlHuePicker:create"); if(!ok) return 0; cocos2d::extension::ControlHuePicker* ret = cocos2d::extension::ControlHuePicker::create(arg0, arg1); object_to_luaval(tolua_S, "cc.ControlHuePicker",(cocos2d::extension::ControlHuePicker*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ControlHuePicker:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -4654,7 +4654,7 @@ int lua_cocos2dx_extension_ControlHuePicker_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.ControlHuePicker"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ControlHuePicker",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlHuePicker:ControlHuePicker",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4730,7 +4730,7 @@ int lua_cocos2dx_extension_ControlSaturationBrightnessPicker_getShadow(lua_State object_to_luaval(tolua_S, "cc.Sprite",(cocos2d::Sprite*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getShadow",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlSaturationBrightnessPicker:getShadow",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4773,14 +4773,14 @@ int lua_cocos2dx_extension_ControlSaturationBrightnessPicker_initWithTargetAndPo ok &= luaval_to_object(tolua_S, 2, "cc.Node",&arg0); - ok &= luaval_to_vec2(tolua_S, 3, &arg1); + ok &= luaval_to_vec2(tolua_S, 3, &arg1, "cc.ControlSaturationBrightnessPicker:initWithTargetAndPos"); if(!ok) return 0; bool ret = cobj->initWithTargetAndPos(arg0, arg1); tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "initWithTargetAndPos",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlSaturationBrightnessPicker:initWithTargetAndPos",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -4824,7 +4824,7 @@ int lua_cocos2dx_extension_ControlSaturationBrightnessPicker_getStartPos(lua_Sta vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getStartPos",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlSaturationBrightnessPicker:getStartPos",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4868,7 +4868,7 @@ int lua_cocos2dx_extension_ControlSaturationBrightnessPicker_getOverlay(lua_Stat object_to_luaval(tolua_S, "cc.Sprite",(cocos2d::Sprite*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getOverlay",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlSaturationBrightnessPicker:getOverlay",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4908,13 +4908,13 @@ int lua_cocos2dx_extension_ControlSaturationBrightnessPicker_setEnabled(lua_Stat { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.ControlSaturationBrightnessPicker:setEnabled"); if(!ok) return 0; cobj->setEnabled(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setEnabled",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlSaturationBrightnessPicker:setEnabled",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4958,7 +4958,7 @@ int lua_cocos2dx_extension_ControlSaturationBrightnessPicker_getSlider(lua_State object_to_luaval(tolua_S, "cc.Sprite",(cocos2d::Sprite*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getSlider",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlSaturationBrightnessPicker:getSlider",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5002,7 +5002,7 @@ int lua_cocos2dx_extension_ControlSaturationBrightnessPicker_getBackground(lua_S object_to_luaval(tolua_S, "cc.Sprite",(cocos2d::Sprite*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBackground",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlSaturationBrightnessPicker:getBackground",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5046,7 +5046,7 @@ int lua_cocos2dx_extension_ControlSaturationBrightnessPicker_getSaturation(lua_S tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getSaturation",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlSaturationBrightnessPicker:getSaturation",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5090,7 +5090,7 @@ int lua_cocos2dx_extension_ControlSaturationBrightnessPicker_getBrightness(lua_S tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBrightness",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlSaturationBrightnessPicker:getBrightness",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5120,14 +5120,14 @@ int lua_cocos2dx_extension_ControlSaturationBrightnessPicker_create(lua_State* t cocos2d::Node* arg0; cocos2d::Vec2 arg1; ok &= luaval_to_object(tolua_S, 2, "cc.Node",&arg0); - ok &= luaval_to_vec2(tolua_S, 3, &arg1); + ok &= luaval_to_vec2(tolua_S, 3, &arg1, "cc.ControlSaturationBrightnessPicker:create"); if(!ok) return 0; cocos2d::extension::ControlSaturationBrightnessPicker* ret = cocos2d::extension::ControlSaturationBrightnessPicker::create(arg0, arg1); object_to_luaval(tolua_S, "cc.ControlSaturationBrightnessPicker",(cocos2d::extension::ControlSaturationBrightnessPicker*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ControlSaturationBrightnessPicker:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -5159,7 +5159,7 @@ int lua_cocos2dx_extension_ControlSaturationBrightnessPicker_constructor(lua_Sta toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.ControlSaturationBrightnessPicker"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ControlSaturationBrightnessPicker",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlSaturationBrightnessPicker:ControlSaturationBrightnessPicker",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5229,13 +5229,13 @@ int lua_cocos2dx_extension_ControlColourPicker_setEnabled(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.ControlColourPicker:setEnabled"); if(!ok) return 0; cobj->setEnabled(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setEnabled",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlColourPicker:setEnabled",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5279,7 +5279,7 @@ int lua_cocos2dx_extension_ControlColourPicker_getHuePicker(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.ControlHuePicker",(cocos2d::extension::ControlHuePicker*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getHuePicker",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlColourPicker:getHuePicker",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5319,13 +5319,13 @@ int lua_cocos2dx_extension_ControlColourPicker_setColor(lua_State* tolua_S) { cocos2d::Color3B arg0; - ok &= luaval_to_color3b(tolua_S, 2, &arg0); + ok &= luaval_to_color3b(tolua_S, 2, &arg0, "cc.ControlColourPicker:setColor"); if(!ok) return 0; cobj->setColor(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setColor",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlColourPicker:setColor",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5368,13 +5368,13 @@ int lua_cocos2dx_extension_ControlColourPicker_hueSliderValueChanged(lua_State* ok &= luaval_to_object(tolua_S, 2, "cc.Ref",&arg0); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.ControlColourPicker:hueSliderValueChanged"); if(!ok) return 0; cobj->hueSliderValueChanged(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "hueSliderValueChanged",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlColourPicker:hueSliderValueChanged",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -5418,7 +5418,7 @@ int lua_cocos2dx_extension_ControlColourPicker_getcolourPicker(lua_State* tolua_ object_to_luaval(tolua_S, "cc.ControlSaturationBrightnessPicker",(cocos2d::extension::ControlSaturationBrightnessPicker*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getcolourPicker",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlColourPicker:getcolourPicker",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5464,7 +5464,7 @@ int lua_cocos2dx_extension_ControlColourPicker_setBackground(lua_State* tolua_S) cobj->setBackground(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setBackground",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlColourPicker:setBackground",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5508,7 +5508,7 @@ int lua_cocos2dx_extension_ControlColourPicker_init(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "init",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlColourPicker:init",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5554,7 +5554,7 @@ int lua_cocos2dx_extension_ControlColourPicker_setcolourPicker(lua_State* tolua_ cobj->setcolourPicker(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setcolourPicker",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlColourPicker:setcolourPicker",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5597,13 +5597,13 @@ int lua_cocos2dx_extension_ControlColourPicker_colourSliderValueChanged(lua_Stat ok &= luaval_to_object(tolua_S, 2, "cc.Ref",&arg0); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.ControlColourPicker:colourSliderValueChanged"); if(!ok) return 0; cobj->colourSliderValueChanged(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "colourSliderValueChanged",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlColourPicker:colourSliderValueChanged",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -5649,7 +5649,7 @@ int lua_cocos2dx_extension_ControlColourPicker_setHuePicker(lua_State* tolua_S) cobj->setHuePicker(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setHuePicker",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlColourPicker:setHuePicker",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5693,7 +5693,7 @@ int lua_cocos2dx_extension_ControlColourPicker_getBackground(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Sprite",(cocos2d::Sprite*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBackground",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlColourPicker:getBackground",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5726,7 +5726,7 @@ int lua_cocos2dx_extension_ControlColourPicker_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.ControlColourPicker",(cocos2d::extension::ControlColourPicker*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ControlColourPicker:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -5758,7 +5758,7 @@ int lua_cocos2dx_extension_ControlColourPicker_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.ControlColourPicker"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ControlColourPicker",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlColourPicker:ControlColourPicker",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5830,13 +5830,13 @@ int lua_cocos2dx_extension_ControlPotentiometer_setPreviousLocation(lua_State* t { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.ControlPotentiometer:setPreviousLocation"); if(!ok) return 0; cobj->setPreviousLocation(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setPreviousLocation",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlPotentiometer:setPreviousLocation",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5876,13 +5876,13 @@ int lua_cocos2dx_extension_ControlPotentiometer_setValue(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ControlPotentiometer:setValue"); if(!ok) return 0; cobj->setValue(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setValue",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlPotentiometer:setValue",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5926,7 +5926,7 @@ int lua_cocos2dx_extension_ControlPotentiometer_getProgressTimer(lua_State* tolu object_to_luaval(tolua_S, "cc.ProgressTimer",(cocos2d::ProgressTimer*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getProgressTimer",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlPotentiometer:getProgressTimer",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5970,7 +5970,7 @@ int lua_cocos2dx_extension_ControlPotentiometer_getMaximumValue(lua_State* tolua tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getMaximumValue",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlPotentiometer:getMaximumValue",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6013,20 +6013,20 @@ int lua_cocos2dx_extension_ControlPotentiometer_angleInDegreesBetweenLineFromPoi cocos2d::Vec2 arg2; cocos2d::Vec2 arg3; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.ControlPotentiometer:angleInDegreesBetweenLineFromPoint_toPoint_toLineFromPoint_toPoint"); - ok &= luaval_to_vec2(tolua_S, 3, &arg1); + ok &= luaval_to_vec2(tolua_S, 3, &arg1, "cc.ControlPotentiometer:angleInDegreesBetweenLineFromPoint_toPoint_toLineFromPoint_toPoint"); - ok &= luaval_to_vec2(tolua_S, 4, &arg2); + ok &= luaval_to_vec2(tolua_S, 4, &arg2, "cc.ControlPotentiometer:angleInDegreesBetweenLineFromPoint_toPoint_toLineFromPoint_toPoint"); - ok &= luaval_to_vec2(tolua_S, 5, &arg3); + ok &= luaval_to_vec2(tolua_S, 5, &arg3, "cc.ControlPotentiometer:angleInDegreesBetweenLineFromPoint_toPoint_toLineFromPoint_toPoint"); if(!ok) return 0; double ret = cobj->angleInDegreesBetweenLineFromPoint_toPoint_toLineFromPoint_toPoint(arg0, arg1, arg2, arg3); tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "angleInDegreesBetweenLineFromPoint_toPoint_toLineFromPoint_toPoint",argc, 4); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlPotentiometer:angleInDegreesBetweenLineFromPoint_toPoint_toLineFromPoint_toPoint",argc, 4); return 0; #if COCOS2D_DEBUG >= 1 @@ -6066,13 +6066,13 @@ int lua_cocos2dx_extension_ControlPotentiometer_potentiometerBegan(lua_State* to { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.ControlPotentiometer:potentiometerBegan"); if(!ok) return 0; cobj->potentiometerBegan(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "potentiometerBegan",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlPotentiometer:potentiometerBegan",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6112,13 +6112,13 @@ int lua_cocos2dx_extension_ControlPotentiometer_setMaximumValue(lua_State* tolua { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ControlPotentiometer:setMaximumValue"); if(!ok) return 0; cobj->setMaximumValue(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setMaximumValue",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlPotentiometer:setMaximumValue",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6162,7 +6162,7 @@ int lua_cocos2dx_extension_ControlPotentiometer_getMinimumValue(lua_State* tolua tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getMinimumValue",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlPotentiometer:getMinimumValue",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6208,7 +6208,7 @@ int lua_cocos2dx_extension_ControlPotentiometer_setThumbSprite(lua_State* tolua_ cobj->setThumbSprite(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setThumbSprite",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlPotentiometer:setThumbSprite",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6252,7 +6252,7 @@ int lua_cocos2dx_extension_ControlPotentiometer_getValue(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getValue",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlPotentiometer:getValue",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6296,7 +6296,7 @@ int lua_cocos2dx_extension_ControlPotentiometer_getPreviousLocation(lua_State* t vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPreviousLocation",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlPotentiometer:getPreviousLocation",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6337,16 +6337,16 @@ int lua_cocos2dx_extension_ControlPotentiometer_distanceBetweenPointAndPoint(lua cocos2d::Vec2 arg0; cocos2d::Vec2 arg1; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.ControlPotentiometer:distanceBetweenPointAndPoint"); - ok &= luaval_to_vec2(tolua_S, 3, &arg1); + ok &= luaval_to_vec2(tolua_S, 3, &arg1, "cc.ControlPotentiometer:distanceBetweenPointAndPoint"); if(!ok) return 0; double ret = cobj->distanceBetweenPointAndPoint(arg0, arg1); tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "distanceBetweenPointAndPoint",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlPotentiometer:distanceBetweenPointAndPoint",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -6386,13 +6386,13 @@ int lua_cocos2dx_extension_ControlPotentiometer_potentiometerEnded(lua_State* to { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.ControlPotentiometer:potentiometerEnded"); if(!ok) return 0; cobj->potentiometerEnded(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "potentiometerEnded",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlPotentiometer:potentiometerEnded",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6438,7 +6438,7 @@ int lua_cocos2dx_extension_ControlPotentiometer_setProgressTimer(lua_State* tolu cobj->setProgressTimer(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setProgressTimer",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlPotentiometer:setProgressTimer",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6478,13 +6478,13 @@ int lua_cocos2dx_extension_ControlPotentiometer_setMinimumValue(lua_State* tolua { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ControlPotentiometer:setMinimumValue"); if(!ok) return 0; cobj->setMinimumValue(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setMinimumValue",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlPotentiometer:setMinimumValue",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6528,7 +6528,7 @@ int lua_cocos2dx_extension_ControlPotentiometer_getThumbSprite(lua_State* tolua_ object_to_luaval(tolua_S, "cc.Sprite",(cocos2d::Sprite*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getThumbSprite",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlPotentiometer:getThumbSprite",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6581,7 +6581,7 @@ int lua_cocos2dx_extension_ControlPotentiometer_initWithTrackSprite_ProgressTime tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "initWithTrackSprite_ProgressTimer_ThumbSprite",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlPotentiometer:initWithTrackSprite_ProgressTimer_ThumbSprite",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 @@ -6621,13 +6621,13 @@ int lua_cocos2dx_extension_ControlPotentiometer_potentiometerMoved(lua_State* to { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.ControlPotentiometer:potentiometerMoved"); if(!ok) return 0; cobj->potentiometerMoved(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "potentiometerMoved",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlPotentiometer:potentiometerMoved",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6657,16 +6657,16 @@ int lua_cocos2dx_extension_ControlPotentiometer_create(lua_State* tolua_S) const char* arg0; const char* arg1; const char* arg2; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); - std::string arg1_tmp; ok &= luaval_to_std_string(tolua_S, 3, &arg1_tmp); arg1 = arg1_tmp.c_str(); - std::string arg2_tmp; ok &= luaval_to_std_string(tolua_S, 4, &arg2_tmp); arg2 = arg2_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.ControlPotentiometer:create"); arg0 = arg0_tmp.c_str(); + std::string arg1_tmp; ok &= luaval_to_std_string(tolua_S, 3, &arg1_tmp, "cc.ControlPotentiometer:create"); arg1 = arg1_tmp.c_str(); + std::string arg2_tmp; ok &= luaval_to_std_string(tolua_S, 4, &arg2_tmp, "cc.ControlPotentiometer:create"); arg2 = arg2_tmp.c_str(); if(!ok) return 0; cocos2d::extension::ControlPotentiometer* ret = cocos2d::extension::ControlPotentiometer::create(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.ControlPotentiometer",(cocos2d::extension::ControlPotentiometer*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ControlPotentiometer:create",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -6698,7 +6698,7 @@ int lua_cocos2dx_extension_ControlPotentiometer_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.ControlPotentiometer"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ControlPotentiometer",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlPotentiometer:ControlPotentiometer",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6781,7 +6781,7 @@ int lua_cocos2dx_extension_ControlSlider_getSelectedThumbSprite(lua_State* tolua object_to_luaval(tolua_S, "cc.Sprite",(cocos2d::Sprite*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getSelectedThumbSprite",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlSlider:getSelectedThumbSprite",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6828,7 +6828,7 @@ int lua_cocos2dx_extension_ControlSlider_locationFromTouch(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "locationFromTouch",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlSlider:locationFromTouch",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6874,7 +6874,7 @@ int lua_cocos2dx_extension_ControlSlider_setSelectedThumbSprite(lua_State* tolua cobj->setSelectedThumbSprite(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setSelectedThumbSprite",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlSlider:setSelectedThumbSprite",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6920,7 +6920,7 @@ int lua_cocos2dx_extension_ControlSlider_setProgressSprite(lua_State* tolua_S) cobj->setProgressSprite(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setProgressSprite",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlSlider:setProgressSprite",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6964,7 +6964,7 @@ int lua_cocos2dx_extension_ControlSlider_getMaximumAllowedValue(lua_State* tolua tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getMaximumAllowedValue",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlSlider:getMaximumAllowedValue",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7008,7 +7008,7 @@ int lua_cocos2dx_extension_ControlSlider_getMinimumAllowedValue(lua_State* tolua tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getMinimumAllowedValue",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlSlider:getMinimumAllowedValue",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7052,7 +7052,7 @@ int lua_cocos2dx_extension_ControlSlider_getMinimumValue(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getMinimumValue",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlSlider:getMinimumValue",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7098,7 +7098,7 @@ int lua_cocos2dx_extension_ControlSlider_setThumbSprite(lua_State* tolua_S) cobj->setThumbSprite(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setThumbSprite",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlSlider:setThumbSprite",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -7138,13 +7138,13 @@ int lua_cocos2dx_extension_ControlSlider_setMinimumValue(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ControlSlider:setMinimumValue"); if(!ok) return 0; cobj->setMinimumValue(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setMinimumValue",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlSlider:setMinimumValue",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -7184,13 +7184,13 @@ int lua_cocos2dx_extension_ControlSlider_setMinimumAllowedValue(lua_State* tolua { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ControlSlider:setMinimumAllowedValue"); if(!ok) return 0; cobj->setMinimumAllowedValue(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setMinimumAllowedValue",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlSlider:setMinimumAllowedValue",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -7230,13 +7230,13 @@ int lua_cocos2dx_extension_ControlSlider_setEnabled(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.ControlSlider:setEnabled"); if(!ok) return 0; cobj->setEnabled(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setEnabled",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlSlider:setEnabled",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -7276,13 +7276,13 @@ int lua_cocos2dx_extension_ControlSlider_setValue(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ControlSlider:setValue"); if(!ok) return 0; cobj->setValue(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setValue",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlSlider:setValue",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -7322,13 +7322,13 @@ int lua_cocos2dx_extension_ControlSlider_setMaximumValue(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ControlSlider:setMaximumValue"); if(!ok) return 0; cobj->setMaximumValue(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setMaximumValue",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlSlider:setMaximumValue",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -7371,7 +7371,7 @@ int lua_cocos2dx_extension_ControlSlider_needsLayout(lua_State* tolua_S) cobj->needsLayout(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "needsLayout",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlSlider:needsLayout",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7415,7 +7415,7 @@ int lua_cocos2dx_extension_ControlSlider_getBackgroundSprite(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Sprite",(cocos2d::Sprite*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBackgroundSprite",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlSlider:getBackgroundSprite",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7490,7 +7490,7 @@ int lua_cocos2dx_extension_ControlSlider_initWithSprites(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "initWithSprites",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlSlider:initWithSprites",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 @@ -7534,7 +7534,7 @@ int lua_cocos2dx_extension_ControlSlider_getMaximumValue(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getMaximumValue",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlSlider:getMaximumValue",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7581,7 +7581,7 @@ int lua_cocos2dx_extension_ControlSlider_isTouchInside(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isTouchInside",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlSlider:isTouchInside",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -7625,7 +7625,7 @@ int lua_cocos2dx_extension_ControlSlider_getValue(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getValue",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlSlider:getValue",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7669,7 +7669,7 @@ int lua_cocos2dx_extension_ControlSlider_getThumbSprite(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Sprite",(cocos2d::Sprite*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getThumbSprite",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlSlider:getThumbSprite",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7713,7 +7713,7 @@ int lua_cocos2dx_extension_ControlSlider_getProgressSprite(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Sprite",(cocos2d::Sprite*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getProgressSprite",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlSlider:getProgressSprite",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7759,7 +7759,7 @@ int lua_cocos2dx_extension_ControlSlider_setBackgroundSprite(lua_State* tolua_S) cobj->setBackgroundSprite(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setBackgroundSprite",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlSlider:setBackgroundSprite",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -7799,13 +7799,13 @@ int lua_cocos2dx_extension_ControlSlider_setMaximumAllowedValue(lua_State* tolua { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ControlSlider:setMaximumAllowedValue"); if(!ok) return 0; cobj->setMaximumAllowedValue(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setMaximumAllowedValue",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlSlider:setMaximumAllowedValue",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -7853,13 +7853,13 @@ int lua_cocos2dx_extension_ControlSlider_create(lua_State* tolua_S) if (argc == 3) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.ControlSlider:create"); arg0 = arg0_tmp.c_str(); if (!ok) { break; } const char* arg1; - std::string arg1_tmp; ok &= luaval_to_std_string(tolua_S, 3, &arg1_tmp); arg1 = arg1_tmp.c_str(); + std::string arg1_tmp; ok &= luaval_to_std_string(tolua_S, 3, &arg1_tmp, "cc.ControlSlider:create"); arg1 = arg1_tmp.c_str(); if (!ok) { break; } const char* arg2; - std::string arg2_tmp; ok &= luaval_to_std_string(tolua_S, 4, &arg2_tmp); arg2 = arg2_tmp.c_str(); + std::string arg2_tmp; ok &= luaval_to_std_string(tolua_S, 4, &arg2_tmp, "cc.ControlSlider:create"); arg2 = arg2_tmp.c_str(); if (!ok) { break; } cocos2d::extension::ControlSlider* ret = cocos2d::extension::ControlSlider::create(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.ControlSlider",(cocos2d::extension::ControlSlider*)ret); @@ -7872,16 +7872,16 @@ int lua_cocos2dx_extension_ControlSlider_create(lua_State* tolua_S) if (argc == 4) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.ControlSlider:create"); arg0 = arg0_tmp.c_str(); if (!ok) { break; } const char* arg1; - std::string arg1_tmp; ok &= luaval_to_std_string(tolua_S, 3, &arg1_tmp); arg1 = arg1_tmp.c_str(); + std::string arg1_tmp; ok &= luaval_to_std_string(tolua_S, 3, &arg1_tmp, "cc.ControlSlider:create"); arg1 = arg1_tmp.c_str(); if (!ok) { break; } const char* arg2; - std::string arg2_tmp; ok &= luaval_to_std_string(tolua_S, 4, &arg2_tmp); arg2 = arg2_tmp.c_str(); + std::string arg2_tmp; ok &= luaval_to_std_string(tolua_S, 4, &arg2_tmp, "cc.ControlSlider:create"); arg2 = arg2_tmp.c_str(); if (!ok) { break; } const char* arg3; - std::string arg3_tmp; ok &= luaval_to_std_string(tolua_S, 5, &arg3_tmp); arg3 = arg3_tmp.c_str(); + std::string arg3_tmp; ok &= luaval_to_std_string(tolua_S, 5, &arg3_tmp, "cc.ControlSlider:create"); arg3 = arg3_tmp.c_str(); if (!ok) { break; } cocos2d::extension::ControlSlider* ret = cocos2d::extension::ControlSlider::create(arg0, arg1, arg2, arg3); object_to_luaval(tolua_S, "cc.ControlSlider",(cocos2d::extension::ControlSlider*)ret); @@ -7911,7 +7911,7 @@ int lua_cocos2dx_extension_ControlSlider_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 4); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.ControlSlider:create",argc, 4); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -7943,7 +7943,7 @@ int lua_cocos2dx_extension_ControlSlider_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.ControlSlider"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ControlSlider",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlSlider:ControlSlider",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8033,7 +8033,7 @@ int lua_cocos2dx_extension_ControlStepper_setMinusSprite(lua_State* tolua_S) cobj->setMinusSprite(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setMinusSprite",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlStepper:setMinusSprite",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8077,7 +8077,7 @@ int lua_cocos2dx_extension_ControlStepper_getMinusLabel(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Label",(cocos2d::Label*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getMinusLabel",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlStepper:getMinusLabel",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8117,13 +8117,13 @@ int lua_cocos2dx_extension_ControlStepper_setWraps(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.ControlStepper:setWraps"); if(!ok) return 0; cobj->setWraps(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setWraps",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlStepper:setWraps",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8167,7 +8167,7 @@ int lua_cocos2dx_extension_ControlStepper_isContinuous(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isContinuous",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlStepper:isContinuous",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8211,7 +8211,7 @@ int lua_cocos2dx_extension_ControlStepper_getMinusSprite(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Sprite",(cocos2d::Sprite*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getMinusSprite",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlStepper:getMinusSprite",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8251,13 +8251,13 @@ int lua_cocos2dx_extension_ControlStepper_updateLayoutUsingTouchLocation(lua_Sta { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.ControlStepper:updateLayoutUsingTouchLocation"); if(!ok) return 0; cobj->updateLayoutUsingTouchLocation(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "updateLayoutUsingTouchLocation",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlStepper:updateLayoutUsingTouchLocation",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8298,15 +8298,15 @@ int lua_cocos2dx_extension_ControlStepper_setValueWithSendingEvent(lua_State* to double arg0; bool arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ControlStepper:setValueWithSendingEvent"); - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.ControlStepper:setValueWithSendingEvent"); if(!ok) return 0; cobj->setValueWithSendingEvent(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setValueWithSendingEvent",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlStepper:setValueWithSendingEvent",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -8350,7 +8350,7 @@ int lua_cocos2dx_extension_ControlStepper_getPlusLabel(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Label",(cocos2d::Label*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPlusLabel",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlStepper:getPlusLabel",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8393,7 +8393,7 @@ int lua_cocos2dx_extension_ControlStepper_stopAutorepeat(lua_State* tolua_S) cobj->stopAutorepeat(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "stopAutorepeat",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlStepper:stopAutorepeat",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8433,13 +8433,13 @@ int lua_cocos2dx_extension_ControlStepper_setMinimumValue(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ControlStepper:setMinimumValue"); if(!ok) return 0; cobj->setMinimumValue(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setMinimumValue",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlStepper:setMinimumValue",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8483,7 +8483,7 @@ int lua_cocos2dx_extension_ControlStepper_getPlusSprite(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Sprite",(cocos2d::Sprite*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPlusSprite",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlStepper:getPlusSprite",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8529,7 +8529,7 @@ int lua_cocos2dx_extension_ControlStepper_setPlusSprite(lua_State* tolua_S) cobj->setPlusSprite(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setPlusSprite",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlStepper:setPlusSprite",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8575,7 +8575,7 @@ int lua_cocos2dx_extension_ControlStepper_setMinusLabel(lua_State* tolua_S) cobj->setMinusLabel(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setMinusLabel",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlStepper:setMinusLabel",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8615,13 +8615,13 @@ int lua_cocos2dx_extension_ControlStepper_setValue(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ControlStepper:setValue"); if(!ok) return 0; cobj->setValue(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setValue",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlStepper:setValue",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8661,13 +8661,13 @@ int lua_cocos2dx_extension_ControlStepper_setStepValue(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ControlStepper:setStepValue"); if(!ok) return 0; cobj->setStepValue(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setStepValue",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlStepper:setStepValue",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8707,13 +8707,13 @@ int lua_cocos2dx_extension_ControlStepper_setMaximumValue(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ControlStepper:setMaximumValue"); if(!ok) return 0; cobj->setMaximumValue(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setMaximumValue",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlStepper:setMaximumValue",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8753,13 +8753,13 @@ int lua_cocos2dx_extension_ControlStepper_update(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ControlStepper:update"); if(!ok) return 0; cobj->update(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "update",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlStepper:update",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8802,7 +8802,7 @@ int lua_cocos2dx_extension_ControlStepper_startAutorepeat(lua_State* tolua_S) cobj->startAutorepeat(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "startAutorepeat",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlStepper:startAutorepeat",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8852,7 +8852,7 @@ int lua_cocos2dx_extension_ControlStepper_initWithMinusSpriteAndPlusSprite(lua_S tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "initWithMinusSpriteAndPlusSprite",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlStepper:initWithMinusSpriteAndPlusSprite",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -8896,7 +8896,7 @@ int lua_cocos2dx_extension_ControlStepper_getValue(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getValue",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlStepper:getValue",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8942,7 +8942,7 @@ int lua_cocos2dx_extension_ControlStepper_setPlusLabel(lua_State* tolua_S) cobj->setPlusLabel(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setPlusLabel",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlStepper:setPlusLabel",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8979,7 +8979,7 @@ int lua_cocos2dx_extension_ControlStepper_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.ControlStepper",(cocos2d::extension::ControlStepper*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.ControlStepper:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -9011,7 +9011,7 @@ int lua_cocos2dx_extension_ControlStepper_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.ControlStepper"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ControlStepper",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlStepper:ControlStepper",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9093,13 +9093,13 @@ int lua_cocos2dx_extension_ControlSwitch_setEnabled(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.ControlSwitch:setEnabled"); if(!ok) return 0; cobj->setEnabled(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setEnabled",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlSwitch:setEnabled",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -9133,7 +9133,7 @@ int lua_cocos2dx_extension_ControlSwitch_setOn(lua_State* tolua_S) do{ if (argc == 1) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.ControlSwitch:setOn"); if (!ok) { break; } cobj->setOn(arg0); @@ -9144,11 +9144,11 @@ int lua_cocos2dx_extension_ControlSwitch_setOn(lua_State* tolua_S) do{ if (argc == 2) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.ControlSwitch:setOn"); if (!ok) { break; } bool arg1; - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.ControlSwitch:setOn"); if (!ok) { break; } cobj->setOn(arg0, arg1); @@ -9156,7 +9156,7 @@ int lua_cocos2dx_extension_ControlSwitch_setOn(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setOn",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlSwitch:setOn",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -9200,7 +9200,7 @@ int lua_cocos2dx_extension_ControlSwitch_isOn(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isOn",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlSwitch:isOn",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9287,7 +9287,7 @@ int lua_cocos2dx_extension_ControlSwitch_initWithMaskSprite(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "initWithMaskSprite",argc, 4); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlSwitch:initWithMaskSprite",argc, 4); return 0; #if COCOS2D_DEBUG >= 1 @@ -9331,7 +9331,7 @@ int lua_cocos2dx_extension_ControlSwitch_hasMoved(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "hasMoved",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlSwitch:hasMoved",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9378,7 +9378,7 @@ int lua_cocos2dx_extension_ControlSwitch_locationFromTouch(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "locationFromTouch",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlSwitch:locationFromTouch",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -9452,7 +9452,7 @@ int lua_cocos2dx_extension_ControlSwitch_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 6); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.ControlSwitch:create",argc, 6); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -9484,7 +9484,7 @@ int lua_cocos2dx_extension_ControlSwitch_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.ControlSwitch"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ControlSwitch",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ControlSwitch:ControlSwitch",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9555,7 +9555,7 @@ int lua_cocos2dx_extension_ScrollView_isClippingToBounds(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isClippingToBounds",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ScrollView:isClippingToBounds",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9601,7 +9601,7 @@ int lua_cocos2dx_extension_ScrollView_setContainer(lua_State* tolua_S) cobj->setContainer(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setContainer",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ScrollView:setContainer",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -9650,7 +9650,7 @@ int lua_cocos2dx_extension_ScrollView_onTouchEnded(lua_State* tolua_S) cobj->onTouchEnded(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "onTouchEnded",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ScrollView:onTouchEnded",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -9691,15 +9691,15 @@ int lua_cocos2dx_extension_ScrollView_setContentOffsetInDuration(lua_State* tolu cocos2d::Vec2 arg0; double arg1; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.ScrollView:setContentOffsetInDuration"); - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.ScrollView:setContentOffsetInDuration"); if(!ok) return 0; cobj->setContentOffsetInDuration(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setContentOffsetInDuration",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ScrollView:setContentOffsetInDuration",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -9740,15 +9740,15 @@ int lua_cocos2dx_extension_ScrollView_setZoomScaleInDuration(lua_State* tolua_S) double arg0; double arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ScrollView:setZoomScaleInDuration"); - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.ScrollView:setZoomScaleInDuration"); if(!ok) return 0; cobj->setZoomScaleInDuration(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setZoomScaleInDuration",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ScrollView:setZoomScaleInDuration",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -9788,13 +9788,13 @@ int lua_cocos2dx_extension_ScrollView_setBounceable(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.ScrollView:setBounceable"); if(!ok) return 0; cobj->setBounceable(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setBounceable",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ScrollView:setBounceable",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -9838,7 +9838,7 @@ int lua_cocos2dx_extension_ScrollView_getDirection(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDirection",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ScrollView:getDirection",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9882,7 +9882,7 @@ int lua_cocos2dx_extension_ScrollView_getContainer(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Node",(cocos2d::Node*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getContainer",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ScrollView:getContainer",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9923,15 +9923,15 @@ int lua_cocos2dx_extension_ScrollView_updateTweenAction(lua_State* tolua_S) double arg0; std::string arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ScrollView:updateTweenAction"); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "cc.ScrollView:updateTweenAction"); if(!ok) return 0; cobj->updateTweenAction(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "updateTweenAction",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ScrollView:updateTweenAction",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -9975,7 +9975,7 @@ int lua_cocos2dx_extension_ScrollView_getZoomScale(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getZoomScale",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ScrollView:getZoomScale",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10018,7 +10018,7 @@ int lua_cocos2dx_extension_ScrollView_updateInset(lua_State* tolua_S) cobj->updateInset(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "updateInset",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ScrollView:updateInset",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10058,7 +10058,7 @@ int lua_cocos2dx_extension_ScrollView_initWithViewSize(lua_State* tolua_S) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.ScrollView:initWithViewSize"); if(!ok) return 0; bool ret = cobj->initWithViewSize(arg0); @@ -10070,7 +10070,7 @@ int lua_cocos2dx_extension_ScrollView_initWithViewSize(lua_State* tolua_S) cocos2d::Size arg0; cocos2d::Node* arg1; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.ScrollView:initWithViewSize"); ok &= luaval_to_object(tolua_S, 3, "cc.Node",&arg1); if(!ok) @@ -10079,7 +10079,7 @@ int lua_cocos2dx_extension_ScrollView_initWithViewSize(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "initWithViewSize",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ScrollView:initWithViewSize",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -10125,7 +10125,7 @@ int lua_cocos2dx_extension_ScrollView_pause(lua_State* tolua_S) cobj->pause(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "pause",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ScrollView:pause",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -10165,13 +10165,13 @@ int lua_cocos2dx_extension_ScrollView_setDirection(lua_State* tolua_S) { cocos2d::extension::ScrollView::Direction arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.ScrollView:setDirection"); if(!ok) return 0; cobj->setDirection(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setDirection",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ScrollView:setDirection",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -10215,7 +10215,7 @@ int lua_cocos2dx_extension_ScrollView_init(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "init",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ScrollView:init",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10255,7 +10255,7 @@ int lua_cocos2dx_extension_ScrollView_setContentOffset(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.ScrollView:setContentOffset"); if(!ok) return 0; cobj->setContentOffset(arg0); @@ -10266,15 +10266,15 @@ int lua_cocos2dx_extension_ScrollView_setContentOffset(lua_State* tolua_S) cocos2d::Vec2 arg0; bool arg1; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.ScrollView:setContentOffset"); - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.ScrollView:setContentOffset"); if(!ok) return 0; cobj->setContentOffset(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setContentOffset",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ScrollView:setContentOffset",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -10318,7 +10318,7 @@ int lua_cocos2dx_extension_ScrollView_isDragging(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isDragging",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ScrollView:isDragging",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10362,7 +10362,7 @@ int lua_cocos2dx_extension_ScrollView_isTouchEnabled(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isTouchEnabled",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ScrollView:isTouchEnabled",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10406,7 +10406,7 @@ int lua_cocos2dx_extension_ScrollView_isBounceable(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isBounceable",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ScrollView:isBounceable",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10446,13 +10446,13 @@ int lua_cocos2dx_extension_ScrollView_setTouchEnabled(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.ScrollView:setTouchEnabled"); if(!ok) return 0; cobj->setTouchEnabled(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTouchEnabled",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ScrollView:setTouchEnabled",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -10501,7 +10501,7 @@ int lua_cocos2dx_extension_ScrollView_onTouchMoved(lua_State* tolua_S) cobj->onTouchMoved(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "onTouchMoved",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ScrollView:onTouchMoved",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -10545,7 +10545,7 @@ int lua_cocos2dx_extension_ScrollView_getContentOffset(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getContentOffset",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ScrollView:getContentOffset",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10591,7 +10591,7 @@ int lua_cocos2dx_extension_ScrollView_resume(lua_State* tolua_S) cobj->resume(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "resume",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ScrollView:resume",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -10631,13 +10631,13 @@ int lua_cocos2dx_extension_ScrollView_setClippingToBounds(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.ScrollView:setClippingToBounds"); if(!ok) return 0; cobj->setClippingToBounds(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setClippingToBounds",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ScrollView:setClippingToBounds",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -10677,13 +10677,13 @@ int lua_cocos2dx_extension_ScrollView_setViewSize(lua_State* tolua_S) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.ScrollView:setViewSize"); if(!ok) return 0; cobj->setViewSize(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setViewSize",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ScrollView:setViewSize",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -10732,7 +10732,7 @@ int lua_cocos2dx_extension_ScrollView_onTouchCancelled(lua_State* tolua_S) cobj->onTouchCancelled(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "onTouchCancelled",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ScrollView:onTouchCancelled",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -10776,7 +10776,7 @@ int lua_cocos2dx_extension_ScrollView_getViewSize(lua_State* tolua_S) size_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getViewSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ScrollView:getViewSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10820,7 +10820,7 @@ int lua_cocos2dx_extension_ScrollView_maxContainerOffset(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "maxContainerOffset",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ScrollView:maxContainerOffset",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10870,7 +10870,7 @@ int lua_cocos2dx_extension_ScrollView_onTouchBegan(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "onTouchBegan",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ScrollView:onTouchBegan",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -10914,7 +10914,7 @@ int lua_cocos2dx_extension_ScrollView_isTouchMoved(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isTouchMoved",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ScrollView:isTouchMoved",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10961,7 +10961,7 @@ int lua_cocos2dx_extension_ScrollView_isNodeVisible(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isNodeVisible",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ScrollView:isNodeVisible",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -11005,7 +11005,7 @@ int lua_cocos2dx_extension_ScrollView_minContainerOffset(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "minContainerOffset",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ScrollView:minContainerOffset",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -11039,11 +11039,11 @@ int lua_cocos2dx_extension_ScrollView_setZoomScale(lua_State* tolua_S) do{ if (argc == 2) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ScrollView:setZoomScale"); if (!ok) { break; } bool arg1; - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.ScrollView:setZoomScale"); if (!ok) { break; } cobj->setZoomScale(arg0, arg1); @@ -11054,7 +11054,7 @@ int lua_cocos2dx_extension_ScrollView_setZoomScale(lua_State* tolua_S) do{ if (argc == 1) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.ScrollView:setZoomScale"); if (!ok) { break; } cobj->setZoomScale(arg0); @@ -11062,7 +11062,7 @@ int lua_cocos2dx_extension_ScrollView_setZoomScale(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setZoomScale",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ScrollView:setZoomScale",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -11101,7 +11101,7 @@ int lua_cocos2dx_extension_ScrollView_create(lua_State* tolua_S) if (argc == 1) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.ScrollView:create"); if (!ok) { break; } cocos2d::extension::ScrollView* ret = cocos2d::extension::ScrollView::create(arg0); object_to_luaval(tolua_S, "cc.ScrollView",(cocos2d::extension::ScrollView*)ret); @@ -11114,7 +11114,7 @@ int lua_cocos2dx_extension_ScrollView_create(lua_State* tolua_S) if (argc == 2) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.ScrollView:create"); if (!ok) { break; } cocos2d::Node* arg1; ok &= luaval_to_object(tolua_S, 3, "cc.Node",&arg1); @@ -11125,7 +11125,7 @@ int lua_cocos2dx_extension_ScrollView_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.ScrollView:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -11157,7 +11157,7 @@ int lua_cocos2dx_extension_ScrollView_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.ScrollView"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ScrollView",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.ScrollView:ScrollView",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -11254,7 +11254,7 @@ int lua_cocos2dx_extension_TableViewCell_reset(lua_State* tolua_S) cobj->reset(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "reset",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TableViewCell:reset",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -11298,7 +11298,7 @@ int lua_cocos2dx_extension_TableViewCell_getIdx(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getIdx",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TableViewCell:getIdx",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -11338,13 +11338,13 @@ int lua_cocos2dx_extension_TableViewCell_setIdx(lua_State* tolua_S) { ssize_t arg0; - ok &= luaval_to_ssize(tolua_S, 2, &arg0); + ok &= luaval_to_ssize(tolua_S, 2, &arg0, "cc.TableViewCell:setIdx"); if(!ok) return 0; cobj->setIdx(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setIdx",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TableViewCell:setIdx",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -11377,7 +11377,7 @@ int lua_cocos2dx_extension_TableViewCell_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.TableViewCell",(cocos2d::extension::TableViewCell*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.TableViewCell:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -11409,7 +11409,7 @@ int lua_cocos2dx_extension_TableViewCell_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.TableViewCell"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "TableViewCell",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TableViewCell:TableViewCell",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -11473,13 +11473,13 @@ int lua_cocos2dx_extension_TableView_updateCellAtIndex(lua_State* tolua_S) { ssize_t arg0; - ok &= luaval_to_ssize(tolua_S, 2, &arg0); + ok &= luaval_to_ssize(tolua_S, 2, &arg0, "cc.TableView:updateCellAtIndex"); if(!ok) return 0; cobj->updateCellAtIndex(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "updateCellAtIndex",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TableView:updateCellAtIndex",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -11519,13 +11519,13 @@ int lua_cocos2dx_extension_TableView_setVerticalFillOrder(lua_State* tolua_S) { cocos2d::extension::TableView::VerticalFillOrder arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.TableView:setVerticalFillOrder"); if(!ok) return 0; cobj->setVerticalFillOrder(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setVerticalFillOrder",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TableView:setVerticalFillOrder",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -11571,7 +11571,7 @@ int lua_cocos2dx_extension_TableView_scrollViewDidZoom(lua_State* tolua_S) cobj->scrollViewDidZoom(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "scrollViewDidZoom",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TableView:scrollViewDidZoom",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -11614,7 +11614,7 @@ int lua_cocos2dx_extension_TableView__updateContentSize(lua_State* tolua_S) cobj->_updateContentSize(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "_updateContentSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TableView:_updateContentSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -11658,7 +11658,7 @@ int lua_cocos2dx_extension_TableView_getVerticalFillOrder(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getVerticalFillOrder",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TableView:getVerticalFillOrder",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -11698,13 +11698,13 @@ int lua_cocos2dx_extension_TableView_removeCellAtIndex(lua_State* tolua_S) { ssize_t arg0; - ok &= luaval_to_ssize(tolua_S, 2, &arg0); + ok &= luaval_to_ssize(tolua_S, 2, &arg0, "cc.TableView:removeCellAtIndex"); if(!ok) return 0; cobj->removeCellAtIndex(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeCellAtIndex",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TableView:removeCellAtIndex",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -11744,7 +11744,7 @@ int lua_cocos2dx_extension_TableView_initWithViewSize(lua_State* tolua_S) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.TableView:initWithViewSize"); if(!ok) return 0; bool ret = cobj->initWithViewSize(arg0); @@ -11756,7 +11756,7 @@ int lua_cocos2dx_extension_TableView_initWithViewSize(lua_State* tolua_S) cocos2d::Size arg0; cocos2d::Node* arg1; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.TableView:initWithViewSize"); ok &= luaval_to_object(tolua_S, 3, "cc.Node",&arg1); if(!ok) @@ -11765,7 +11765,7 @@ int lua_cocos2dx_extension_TableView_initWithViewSize(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "initWithViewSize",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TableView:initWithViewSize",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -11811,7 +11811,7 @@ int lua_cocos2dx_extension_TableView_scrollViewDidScroll(lua_State* tolua_S) cobj->scrollViewDidScroll(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "scrollViewDidScroll",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TableView:scrollViewDidScroll",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -11854,7 +11854,7 @@ int lua_cocos2dx_extension_TableView_reloadData(lua_State* tolua_S) cobj->reloadData(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "reloadData",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TableView:reloadData",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -11894,13 +11894,13 @@ int lua_cocos2dx_extension_TableView_insertCellAtIndex(lua_State* tolua_S) { ssize_t arg0; - ok &= luaval_to_ssize(tolua_S, 2, &arg0); + ok &= luaval_to_ssize(tolua_S, 2, &arg0, "cc.TableView:insertCellAtIndex"); if(!ok) return 0; cobj->insertCellAtIndex(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "insertCellAtIndex",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TableView:insertCellAtIndex",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -11940,14 +11940,14 @@ int lua_cocos2dx_extension_TableView_cellAtIndex(lua_State* tolua_S) { ssize_t arg0; - ok &= luaval_to_ssize(tolua_S, 2, &arg0); + ok &= luaval_to_ssize(tolua_S, 2, &arg0, "cc.TableView:cellAtIndex"); if(!ok) return 0; cocos2d::extension::TableViewCell* ret = cobj->cellAtIndex(arg0); object_to_luaval(tolua_S, "cc.TableViewCell",(cocos2d::extension::TableViewCell*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cellAtIndex",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TableView:cellAtIndex",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -11991,7 +11991,7 @@ int lua_cocos2dx_extension_TableView_dequeueCell(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.TableViewCell",(cocos2d::extension::TableViewCell*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "dequeueCell",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TableView:dequeueCell",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -12025,7 +12025,7 @@ int lua_cocos2dx_extension_TableView_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.TableView"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "TableView",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.TableView:TableView",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -12101,7 +12101,7 @@ int lua_cocos2dx_extension_EditBox_getText(lua_State* tolua_S) tolua_pushstring(tolua_S,(const char*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getText",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EditBox:getText",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -12141,13 +12141,13 @@ int lua_cocos2dx_extension_EditBox_setPlaceholderFontName(lua_State* tolua_S) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.EditBox:setPlaceholderFontName"); arg0 = arg0_tmp.c_str(); if(!ok) return 0; cobj->setPlaceholderFontName(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setPlaceholderFontName",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EditBox:setPlaceholderFontName",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -12191,7 +12191,7 @@ int lua_cocos2dx_extension_EditBox_getPlaceHolder(lua_State* tolua_S) tolua_pushstring(tolua_S,(const char*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPlaceHolder",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EditBox:getPlaceHolder",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -12231,13 +12231,13 @@ int lua_cocos2dx_extension_EditBox_setFontName(lua_State* tolua_S) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.EditBox:setFontName"); arg0 = arg0_tmp.c_str(); if(!ok) return 0; cobj->setFontName(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setFontName",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EditBox:setFontName",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -12277,13 +12277,13 @@ int lua_cocos2dx_extension_EditBox_setPlaceholderFontSize(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.EditBox:setPlaceholderFontSize"); if(!ok) return 0; cobj->setPlaceholderFontSize(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setPlaceholderFontSize",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EditBox:setPlaceholderFontSize",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -12323,13 +12323,13 @@ int lua_cocos2dx_extension_EditBox_setInputMode(lua_State* tolua_S) { cocos2d::extension::EditBox::InputMode arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.EditBox:setInputMode"); if(!ok) return 0; cobj->setInputMode(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setInputMode",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EditBox:setInputMode",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -12369,13 +12369,13 @@ int lua_cocos2dx_extension_EditBox_setPlaceholderFontColor(lua_State* tolua_S) { cocos2d::Color3B arg0; - ok &= luaval_to_color3b(tolua_S, 2, &arg0); + ok &= luaval_to_color3b(tolua_S, 2, &arg0, "cc.EditBox:setPlaceholderFontColor"); if(!ok) return 0; cobj->setPlaceholderFontColor(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setPlaceholderFontColor",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EditBox:setPlaceholderFontColor",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -12415,13 +12415,13 @@ int lua_cocos2dx_extension_EditBox_setFontColor(lua_State* tolua_S) { cocos2d::Color3B arg0; - ok &= luaval_to_color3b(tolua_S, 2, &arg0); + ok &= luaval_to_color3b(tolua_S, 2, &arg0, "cc.EditBox:setFontColor"); if(!ok) return 0; cobj->setFontColor(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setFontColor",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EditBox:setFontColor",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -12462,15 +12462,15 @@ int lua_cocos2dx_extension_EditBox_setPlaceholderFont(lua_State* tolua_S) const char* arg0; int arg1; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.EditBox:setPlaceholderFont"); arg0 = arg0_tmp.c_str(); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.EditBox:setPlaceholderFont"); if(!ok) return 0; cobj->setPlaceholderFont(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setPlaceholderFont",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EditBox:setPlaceholderFont",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -12510,13 +12510,13 @@ int lua_cocos2dx_extension_EditBox_setFontSize(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.EditBox:setFontSize"); if(!ok) return 0; cobj->setFontSize(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setFontSize",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EditBox:setFontSize",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -12557,7 +12557,7 @@ int lua_cocos2dx_extension_EditBox_initWithSizeAndBackgroundSprite(lua_State* to cocos2d::Size arg0; cocos2d::extension::Scale9Sprite* arg1; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.EditBox:initWithSizeAndBackgroundSprite"); ok &= luaval_to_object(tolua_S, 3, "cc.Scale9Sprite",&arg1); if(!ok) @@ -12566,7 +12566,7 @@ int lua_cocos2dx_extension_EditBox_initWithSizeAndBackgroundSprite(lua_State* to tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "initWithSizeAndBackgroundSprite",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EditBox:initWithSizeAndBackgroundSprite",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -12606,13 +12606,13 @@ int lua_cocos2dx_extension_EditBox_setPlaceHolder(lua_State* tolua_S) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.EditBox:setPlaceHolder"); arg0 = arg0_tmp.c_str(); if(!ok) return 0; cobj->setPlaceHolder(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setPlaceHolder",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EditBox:setPlaceHolder",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -12652,13 +12652,13 @@ int lua_cocos2dx_extension_EditBox_setReturnType(lua_State* tolua_S) { cocos2d::extension::EditBox::KeyboardReturnType arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.EditBox:setReturnType"); if(!ok) return 0; cobj->setReturnType(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setReturnType",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EditBox:setReturnType",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -12698,13 +12698,13 @@ int lua_cocos2dx_extension_EditBox_setInputFlag(lua_State* tolua_S) { cocos2d::extension::EditBox::InputFlag arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.EditBox:setInputFlag"); if(!ok) return 0; cobj->setInputFlag(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setInputFlag",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EditBox:setInputFlag",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -12748,7 +12748,7 @@ int lua_cocos2dx_extension_EditBox_getMaxLength(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getMaxLength",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EditBox:getMaxLength",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -12788,13 +12788,13 @@ int lua_cocos2dx_extension_EditBox_setText(lua_State* tolua_S) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.EditBox:setText"); arg0 = arg0_tmp.c_str(); if(!ok) return 0; cobj->setText(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setText",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EditBox:setText",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -12834,13 +12834,13 @@ int lua_cocos2dx_extension_EditBox_setMaxLength(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.EditBox:setMaxLength"); if(!ok) return 0; cobj->setMaxLength(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setMaxLength",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EditBox:setMaxLength",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -12881,15 +12881,15 @@ int lua_cocos2dx_extension_EditBox_setFont(lua_State* tolua_S) const char* arg0; int arg1; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.EditBox:setFont"); arg0 = arg0_tmp.c_str(); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "cc.EditBox:setFont"); if(!ok) return 0; cobj->setFont(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setFont",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EditBox:setFont",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -12918,7 +12918,7 @@ int lua_cocos2dx_extension_EditBox_create(lua_State* tolua_S) { cocos2d::Size arg0; cocos2d::extension::Scale9Sprite* arg1; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.EditBox:create"); ok &= luaval_to_object(tolua_S, 3, "cc.Scale9Sprite",&arg1); if(!ok) return 0; @@ -12931,7 +12931,7 @@ int lua_cocos2dx_extension_EditBox_create(lua_State* tolua_S) cocos2d::Size arg0; cocos2d::extension::Scale9Sprite* arg1; cocos2d::extension::Scale9Sprite* arg2; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.EditBox:create"); ok &= luaval_to_object(tolua_S, 3, "cc.Scale9Sprite",&arg1); ok &= luaval_to_object(tolua_S, 4, "cc.Scale9Sprite",&arg2); if(!ok) @@ -12946,7 +12946,7 @@ int lua_cocos2dx_extension_EditBox_create(lua_State* tolua_S) cocos2d::extension::Scale9Sprite* arg1; cocos2d::extension::Scale9Sprite* arg2; cocos2d::extension::Scale9Sprite* arg3; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.EditBox:create"); ok &= luaval_to_object(tolua_S, 3, "cc.Scale9Sprite",&arg1); ok &= luaval_to_object(tolua_S, 4, "cc.Scale9Sprite",&arg2); ok &= luaval_to_object(tolua_S, 5, "cc.Scale9Sprite",&arg3); @@ -12956,7 +12956,7 @@ int lua_cocos2dx_extension_EditBox_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.EditBox",(cocos2d::extension::EditBox*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.EditBox:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -12988,7 +12988,7 @@ int lua_cocos2dx_extension_EditBox_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.EditBox"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "EditBox",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EditBox:EditBox",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13067,13 +13067,13 @@ int lua_cocos2dx_extension_AssetsManager_setStoragePath(lua_State* tolua_S) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.AssetsManager:setStoragePath"); arg0 = arg0_tmp.c_str(); if(!ok) return 0; cobj->setStoragePath(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setStoragePath",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.AssetsManager:setStoragePath",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -13113,13 +13113,13 @@ int lua_cocos2dx_extension_AssetsManager_setPackageUrl(lua_State* tolua_S) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.AssetsManager:setPackageUrl"); arg0 = arg0_tmp.c_str(); if(!ok) return 0; cobj->setPackageUrl(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setPackageUrl",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.AssetsManager:setPackageUrl",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -13163,7 +13163,7 @@ int lua_cocos2dx_extension_AssetsManager_checkUpdate(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "checkUpdate",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.AssetsManager:checkUpdate",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13207,7 +13207,7 @@ int lua_cocos2dx_extension_AssetsManager_getStoragePath(lua_State* tolua_S) tolua_pushstring(tolua_S,(const char*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getStoragePath",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.AssetsManager:getStoragePath",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13250,7 +13250,7 @@ int lua_cocos2dx_extension_AssetsManager_update(lua_State* tolua_S) cobj->update(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "update",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.AssetsManager:update",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13290,13 +13290,13 @@ int lua_cocos2dx_extension_AssetsManager_setConnectionTimeout(lua_State* tolua_S { unsigned int arg0; - ok &= luaval_to_uint32(tolua_S, 2,&arg0); + ok &= luaval_to_uint32(tolua_S, 2,&arg0, "cc.AssetsManager:setConnectionTimeout"); if(!ok) return 0; cobj->setConnectionTimeout(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setConnectionTimeout",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.AssetsManager:setConnectionTimeout",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -13336,13 +13336,13 @@ int lua_cocos2dx_extension_AssetsManager_setVersionFileUrl(lua_State* tolua_S) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.AssetsManager:setVersionFileUrl"); arg0 = arg0_tmp.c_str(); if(!ok) return 0; cobj->setVersionFileUrl(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setVersionFileUrl",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.AssetsManager:setVersionFileUrl",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -13386,7 +13386,7 @@ int lua_cocos2dx_extension_AssetsManager_getPackageUrl(lua_State* tolua_S) tolua_pushstring(tolua_S,(const char*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPackageUrl",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.AssetsManager:getPackageUrl",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13430,7 +13430,7 @@ int lua_cocos2dx_extension_AssetsManager_getConnectionTimeout(lua_State* tolua_S tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getConnectionTimeout",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.AssetsManager:getConnectionTimeout",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13474,7 +13474,7 @@ int lua_cocos2dx_extension_AssetsManager_getVersion(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getVersion",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.AssetsManager:getVersion",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13518,7 +13518,7 @@ int lua_cocos2dx_extension_AssetsManager_getVersionFileUrl(lua_State* tolua_S) tolua_pushstring(tolua_S,(const char*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getVersionFileUrl",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.AssetsManager:getVersionFileUrl",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13561,7 +13561,7 @@ int lua_cocos2dx_extension_AssetsManager_deleteVersion(lua_State* tolua_S) cobj->deleteVersion(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "deleteVersion",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.AssetsManager:deleteVersion",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13594,9 +13594,9 @@ int lua_cocos2dx_extension_AssetsManager_create(lua_State* tolua_S) std::function arg3; std::function arg4; std::function arg5; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); - std::string arg1_tmp; ok &= luaval_to_std_string(tolua_S, 3, &arg1_tmp); arg1 = arg1_tmp.c_str(); - std::string arg2_tmp; ok &= luaval_to_std_string(tolua_S, 4, &arg2_tmp); arg2 = arg2_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.AssetsManager:create"); arg0 = arg0_tmp.c_str(); + std::string arg1_tmp; ok &= luaval_to_std_string(tolua_S, 3, &arg1_tmp, "cc.AssetsManager:create"); arg1 = arg1_tmp.c_str(); + std::string arg2_tmp; ok &= luaval_to_std_string(tolua_S, 4, &arg2_tmp, "cc.AssetsManager:create"); arg2 = arg2_tmp.c_str(); do { // Lambda binding for lua is not supported. assert(false); @@ -13618,7 +13618,7 @@ int lua_cocos2dx_extension_AssetsManager_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.AssetsManager",(cocos2d::extension::AssetsManager*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 6); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.AssetsManager:create",argc, 6); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -13654,7 +13654,7 @@ int lua_cocos2dx_extension_AssetsManager_constructor(lua_State* tolua_S) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.AssetsManager:AssetsManager"); arg0 = arg0_tmp.c_str(); if(!ok) return 0; cobj = new cocos2d::extension::AssetsManager(arg0); @@ -13669,9 +13669,9 @@ int lua_cocos2dx_extension_AssetsManager_constructor(lua_State* tolua_S) const char* arg0; const char* arg1; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.AssetsManager:AssetsManager"); arg0 = arg0_tmp.c_str(); - std::string arg1_tmp; ok &= luaval_to_std_string(tolua_S, 3, &arg1_tmp); arg1 = arg1_tmp.c_str(); + std::string arg1_tmp; ok &= luaval_to_std_string(tolua_S, 3, &arg1_tmp, "cc.AssetsManager:AssetsManager"); arg1 = arg1_tmp.c_str(); if(!ok) return 0; cobj = new cocos2d::extension::AssetsManager(arg0, arg1); @@ -13687,11 +13687,11 @@ int lua_cocos2dx_extension_AssetsManager_constructor(lua_State* tolua_S) const char* arg1; const char* arg2; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.AssetsManager:AssetsManager"); arg0 = arg0_tmp.c_str(); - std::string arg1_tmp; ok &= luaval_to_std_string(tolua_S, 3, &arg1_tmp); arg1 = arg1_tmp.c_str(); + std::string arg1_tmp; ok &= luaval_to_std_string(tolua_S, 3, &arg1_tmp, "cc.AssetsManager:AssetsManager"); arg1 = arg1_tmp.c_str(); - std::string arg2_tmp; ok &= luaval_to_std_string(tolua_S, 4, &arg2_tmp); arg2 = arg2_tmp.c_str(); + std::string arg2_tmp; ok &= luaval_to_std_string(tolua_S, 4, &arg2_tmp, "cc.AssetsManager:AssetsManager"); arg2 = arg2_tmp.c_str(); if(!ok) return 0; cobj = new cocos2d::extension::AssetsManager(arg0, arg1, arg2); @@ -13701,7 +13701,7 @@ int lua_cocos2dx_extension_AssetsManager_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.AssetsManager"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "AssetsManager",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.AssetsManager:AssetsManager",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13783,7 +13783,7 @@ int lua_cocos2dx_extension_CCBAnimationManager_moveAnimationsFromNode(lua_State* cobj->moveAnimationsFromNode(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "moveAnimationsFromNode",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:moveAnimationsFromNode",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -13823,13 +13823,13 @@ int lua_cocos2dx_extension_CCBAnimationManager_setAutoPlaySequenceId(lua_State* { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.CCBAnimationManager:setAutoPlaySequenceId"); if(!ok) return 0; cobj->setAutoPlaySequenceId(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAutoPlaySequenceId",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:setAutoPlaySequenceId",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -13873,7 +13873,7 @@ int lua_cocos2dx_extension_CCBAnimationManager_getDocumentCallbackNames(lua_Stat ccvaluevector_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDocumentCallbackNames",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getDocumentCallbackNames",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13920,7 +13920,7 @@ int lua_cocos2dx_extension_CCBAnimationManager_actionForSoundChannel(lua_State* object_to_luaval(tolua_S, "cc.Sequence",(cocos2d::Sequence*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "actionForSoundChannel",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:actionForSoundChannel",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -13962,17 +13962,17 @@ int lua_cocos2dx_extension_CCBAnimationManager_setBaseValue(lua_State* tolua_S) cocos2d::Node* arg1; std::string arg2; - ok &= luaval_to_ccvalue(tolua_S, 2, &arg0); + ok &= luaval_to_ccvalue(tolua_S, 2, &arg0, "cc.CCBAnimationManager:setBaseValue"); ok &= luaval_to_object(tolua_S, 3, "cc.Node",&arg1); - ok &= luaval_to_std_string(tolua_S, 4,&arg2); + ok &= luaval_to_std_string(tolua_S, 4,&arg2, "cc.CCBAnimationManager:setBaseValue"); if(!ok) return 0; cobj->setBaseValue(arg0, arg1, arg2); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setBaseValue",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:setBaseValue",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 @@ -14016,7 +14016,7 @@ int lua_cocos2dx_extension_CCBAnimationManager_getDocumentOutletNodes(lua_State* ccvector_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDocumentOutletNodes",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getDocumentOutletNodes",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -14060,7 +14060,7 @@ int lua_cocos2dx_extension_CCBAnimationManager_getLastCompletedSequenceName(lua_ tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getLastCompletedSequenceName",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getLastCompletedSequenceName",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -14106,7 +14106,7 @@ int lua_cocos2dx_extension_CCBAnimationManager_setRootNode(lua_State* tolua_S) cobj->setRootNode(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setRootNode",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:setRootNode",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -14147,15 +14147,15 @@ int lua_cocos2dx_extension_CCBAnimationManager_runAnimationsForSequenceNamedTwee const char* arg0; double arg1; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.CCBAnimationManager:runAnimationsForSequenceNamedTweenDuration"); arg0 = arg0_tmp.c_str(); - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.CCBAnimationManager:runAnimationsForSequenceNamedTweenDuration"); if(!ok) return 0; cobj->runAnimationsForSequenceNamedTweenDuration(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "runAnimationsForSequenceNamedTweenDuration",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:runAnimationsForSequenceNamedTweenDuration",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -14195,13 +14195,13 @@ int lua_cocos2dx_extension_CCBAnimationManager_addDocumentOutletName(lua_State* { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.CCBAnimationManager:addDocumentOutletName"); if(!ok) return 0; cobj->addDocumentOutletName(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addDocumentOutletName",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:addDocumentOutletName",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -14245,7 +14245,7 @@ int lua_cocos2dx_extension_CCBAnimationManager_getSequences(lua_State* tolua_S) ccvector_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getSequences",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getSequences",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -14289,7 +14289,7 @@ int lua_cocos2dx_extension_CCBAnimationManager_getRootContainerSize(lua_State* t size_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getRootContainerSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getRootContainerSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -14329,13 +14329,13 @@ int lua_cocos2dx_extension_CCBAnimationManager_setDocumentControllerName(lua_Sta { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.CCBAnimationManager:setDocumentControllerName"); if(!ok) return 0; cobj->setDocumentControllerName(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setDocumentControllerName",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:setDocumentControllerName",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -14381,13 +14381,13 @@ int lua_cocos2dx_extension_CCBAnimationManager_setObject(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 3, "cc.Node",&arg1); - ok &= luaval_to_std_string(tolua_S, 4,&arg2); + ok &= luaval_to_std_string(tolua_S, 4,&arg2, "cc.CCBAnimationManager:setObject"); if(!ok) return 0; cobj->setObject(arg0, arg1, arg2); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setObject",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:setObject",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 @@ -14434,7 +14434,7 @@ int lua_cocos2dx_extension_CCBAnimationManager_getContainerSize(lua_State* tolua size_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getContainerSize",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getContainerSize",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -14481,7 +14481,7 @@ int lua_cocos2dx_extension_CCBAnimationManager_actionForCallbackChannel(lua_Stat object_to_luaval(tolua_S, "cc.Sequence",(cocos2d::Sequence*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "actionForCallbackChannel",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:actionForCallbackChannel",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -14525,7 +14525,7 @@ int lua_cocos2dx_extension_CCBAnimationManager_getDocumentOutletNames(lua_State* ccvaluevector_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDocumentOutletNames",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getDocumentOutletNames",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -14565,13 +14565,13 @@ int lua_cocos2dx_extension_CCBAnimationManager_addDocumentCallbackControlEvents( { cocos2d::extension::Control::EventType arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.CCBAnimationManager:addDocumentCallbackControlEvents"); if(!ok) return 0; cobj->addDocumentCallbackControlEvents(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addDocumentCallbackControlEvents",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:addDocumentCallbackControlEvents",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -14615,7 +14615,7 @@ int lua_cocos2dx_extension_CCBAnimationManager_init(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "init",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:init",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -14659,7 +14659,7 @@ int lua_cocos2dx_extension_CCBAnimationManager_getKeyframeCallbacks(lua_State* t ccvaluevector_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getKeyframeCallbacks",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getKeyframeCallbacks",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -14703,7 +14703,7 @@ int lua_cocos2dx_extension_CCBAnimationManager_getDocumentCallbackControlEvents( ccvaluevector_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDocumentCallbackControlEvents",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getDocumentCallbackControlEvents",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -14743,13 +14743,13 @@ int lua_cocos2dx_extension_CCBAnimationManager_setRootContainerSize(lua_State* t { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.CCBAnimationManager:setRootContainerSize"); if(!ok) return 0; cobj->setRootContainerSize(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setRootContainerSize",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:setRootContainerSize",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -14790,15 +14790,15 @@ int lua_cocos2dx_extension_CCBAnimationManager_runAnimationsForSequenceIdTweenDu int arg0; double arg1; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.CCBAnimationManager:runAnimationsForSequenceIdTweenDuration"); - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.CCBAnimationManager:runAnimationsForSequenceIdTweenDuration"); if(!ok) return 0; cobj->runAnimationsForSequenceIdTweenDuration(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "runAnimationsForSequenceIdTweenDuration",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:runAnimationsForSequenceIdTweenDuration",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -14842,7 +14842,7 @@ int lua_cocos2dx_extension_CCBAnimationManager_getRunningSequenceName(lua_State* tolua_pushstring(tolua_S,(const char*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getRunningSequenceName",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getRunningSequenceName",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -14886,7 +14886,7 @@ int lua_cocos2dx_extension_CCBAnimationManager_getAutoPlaySequenceId(lua_State* tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAutoPlaySequenceId",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getAutoPlaySequenceId",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -14926,13 +14926,13 @@ int lua_cocos2dx_extension_CCBAnimationManager_addDocumentCallbackName(lua_State { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.CCBAnimationManager:addDocumentCallbackName"); if(!ok) return 0; cobj->addDocumentCallbackName(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addDocumentCallbackName",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:addDocumentCallbackName",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -14976,7 +14976,7 @@ int lua_cocos2dx_extension_CCBAnimationManager_getRootNode(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Node",(cocos2d::Node*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getRootNode",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getRootNode",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -15022,7 +15022,7 @@ int lua_cocos2dx_extension_CCBAnimationManager_addDocumentOutletNode(lua_State* cobj->addDocumentOutletNode(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addDocumentOutletNode",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:addDocumentOutletNode",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -15062,14 +15062,14 @@ int lua_cocos2dx_extension_CCBAnimationManager_getSequenceDuration(lua_State* to { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.CCBAnimationManager:getSequenceDuration"); arg0 = arg0_tmp.c_str(); if(!ok) return 0; double ret = cobj->getSequenceDuration(arg0); tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getSequenceDuration",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getSequenceDuration",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -15115,7 +15115,7 @@ int lua_cocos2dx_extension_CCBAnimationManager_addDocumentCallbackNode(lua_State cobj->addDocumentCallbackNode(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addDocumentCallbackNode",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:addDocumentCallbackNode",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -15155,13 +15155,13 @@ int lua_cocos2dx_extension_CCBAnimationManager_runAnimationsForSequenceNamed(lua { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.CCBAnimationManager:runAnimationsForSequenceNamed"); arg0 = arg0_tmp.c_str(); if(!ok) return 0; cobj->runAnimationsForSequenceNamed(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "runAnimationsForSequenceNamed",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:runAnimationsForSequenceNamed",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -15201,14 +15201,14 @@ int lua_cocos2dx_extension_CCBAnimationManager_getSequenceId(lua_State* tolua_S) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.CCBAnimationManager:getSequenceId"); arg0 = arg0_tmp.c_str(); if(!ok) return 0; int ret = cobj->getSequenceId(arg0); tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getSequenceId",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getSequenceId",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -15252,7 +15252,7 @@ int lua_cocos2dx_extension_CCBAnimationManager_getDocumentCallbackNodes(lua_Stat ccvector_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDocumentCallbackNodes",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getDocumentCallbackNodes",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -15292,13 +15292,13 @@ int lua_cocos2dx_extension_CCBAnimationManager_setSequences(lua_State* tolua_S) { cocos2d::Vector arg0; - ok &= luaval_to_ccvector(tolua_S, 2, &arg0); + ok &= luaval_to_ccvector(tolua_S, 2, &arg0, "cc.CCBAnimationManager:setSequences"); if(!ok) return 0; cobj->setSequences(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setSequences",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:setSequences",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -15341,7 +15341,7 @@ int lua_cocos2dx_extension_CCBAnimationManager_debug(lua_State* tolua_S) cobj->debug(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "debug",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:debug",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -15385,7 +15385,7 @@ int lua_cocos2dx_extension_CCBAnimationManager_getDocumentControllerName(lua_Sta tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDocumentControllerName",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:getDocumentControllerName",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -15419,7 +15419,7 @@ int lua_cocos2dx_extension_CCBAnimationManager_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"cc.CCBAnimationManager"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "CCBAnimationManager",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBAnimationManager:CCBAnimationManager",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -15515,13 +15515,13 @@ int lua_cocos2dx_extension_CCBReader_addOwnerOutletName(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "cc.CCBReader:addOwnerOutletName"); if(!ok) return 0; cobj->addOwnerOutletName(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addOwnerOutletName",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:addOwnerOutletName",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -15565,7 +15565,7 @@ int lua_cocos2dx_extension_CCBReader_getOwnerCallbackNames(lua_State* tolua_S) ccvaluevector_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getOwnerCallbackNames",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:getOwnerCallbackNames",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -15605,13 +15605,13 @@ int lua_cocos2dx_extension_CCBReader_addDocumentCallbackControlEvents(lua_State* { cocos2d::extension::Control::EventType arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.CCBReader:addDocumentCallbackControlEvents"); if(!ok) return 0; cobj->addDocumentCallbackControlEvents(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addDocumentCallbackControlEvents",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:addDocumentCallbackControlEvents",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -15651,13 +15651,13 @@ int lua_cocos2dx_extension_CCBReader_setCCBRootPath(lua_State* tolua_S) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "cc.CCBReader:setCCBRootPath"); arg0 = arg0_tmp.c_str(); if(!ok) return 0; cobj->setCCBRootPath(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setCCBRootPath",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:setCCBRootPath",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -15703,7 +15703,7 @@ int lua_cocos2dx_extension_CCBReader_addOwnerOutletNode(lua_State* tolua_S) cobj->addOwnerOutletNode(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addOwnerOutletNode",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:addOwnerOutletNode",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -15747,7 +15747,7 @@ int lua_cocos2dx_extension_CCBReader_getOwnerCallbackNodes(lua_State* tolua_S) ccvector_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getOwnerCallbackNodes",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:getOwnerCallbackNodes",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -15794,7 +15794,7 @@ int lua_cocos2dx_extension_CCBReader_readSoundKeyframesForSeq(lua_State* tolua_S tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "readSoundKeyframesForSeq",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:readSoundKeyframesForSeq",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -15838,7 +15838,7 @@ int lua_cocos2dx_extension_CCBReader_getCCBRootPath(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getCCBRootPath",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:getCCBRootPath",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -15882,7 +15882,7 @@ int lua_cocos2dx_extension_CCBReader_getOwnerCallbackControlEvents(lua_State* to ccvaluevector_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getOwnerCallbackControlEvents",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:getOwnerCallbackControlEvents",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -15926,7 +15926,7 @@ int lua_cocos2dx_extension_CCBReader_getOwnerOutletNodes(lua_State* tolua_S) ccvector_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getOwnerOutletNodes",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:getOwnerOutletNodes",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -15970,7 +15970,7 @@ int lua_cocos2dx_extension_CCBReader_readUTF8(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "readUTF8",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:readUTF8",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -16010,13 +16010,13 @@ int lua_cocos2dx_extension_CCBReader_addOwnerCallbackControlEvents(lua_State* to { cocos2d::extension::Control::EventType arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.CCBReader:addOwnerCallbackControlEvents"); if(!ok) return 0; cobj->addOwnerCallbackControlEvents(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addOwnerCallbackControlEvents",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:addOwnerCallbackControlEvents",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -16060,7 +16060,7 @@ int lua_cocos2dx_extension_CCBReader_getOwnerOutletNames(lua_State* tolua_S) ccvaluevector_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getOwnerOutletNames",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:getOwnerOutletNames",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -16106,7 +16106,7 @@ int lua_cocos2dx_extension_CCBReader_setAnimationManager(lua_State* tolua_S) cobj->setAnimationManager(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAnimationManager",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:setAnimationManager",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -16153,7 +16153,7 @@ int lua_cocos2dx_extension_CCBReader_readCallbackKeyframesForSeq(lua_State* tolu tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "readCallbackKeyframesForSeq",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:readCallbackKeyframesForSeq",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -16197,7 +16197,7 @@ int lua_cocos2dx_extension_CCBReader_getAnimationManagersForNodes(lua_State* tol ccvector_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAnimationManagersForNodes",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:getAnimationManagersForNodes",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -16241,7 +16241,7 @@ int lua_cocos2dx_extension_CCBReader_getNodesWithAnimationManagers(lua_State* to ccvector_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getNodesWithAnimationManagers",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:getNodesWithAnimationManagers",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -16285,7 +16285,7 @@ int lua_cocos2dx_extension_CCBReader_getAnimationManager(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.CCBAnimationManager",(cocosbuilder::CCBAnimationManager*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAnimationManager",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:getAnimationManager",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -16313,13 +16313,13 @@ int lua_cocos2dx_extension_CCBReader_setResolutionScale(lua_State* tolua_S) if (argc == 1) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.CCBReader:setResolutionScale"); if(!ok) return 0; cocosbuilder::CCBReader::setResolutionScale(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "setResolutionScale",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.CCBReader:setResolutionScale",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -16447,7 +16447,7 @@ int lua_cocos2dx_extension_CCBReader_constructor(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "CCBReader",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.CCBReader:CCBReader",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_physics_auto.cpp b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_physics_auto.cpp index d56f10db32..c4b13b740f 100644 --- a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_physics_auto.cpp +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_physics_auto.cpp @@ -40,7 +40,7 @@ int lua_cocos2dx_physics_PhysicsShape_getFriction(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getFriction",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:getFriction",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -80,13 +80,13 @@ int lua_cocos2dx_physics_PhysicsShape_setGroup(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.PhysicsShape:setGroup"); if(!ok) return 0; cobj->setGroup(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setGroup",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:setGroup",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -126,13 +126,13 @@ int lua_cocos2dx_physics_PhysicsShape_setDensity(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsShape:setDensity"); if(!ok) return 0; cobj->setDensity(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setDensity",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:setDensity",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -176,7 +176,7 @@ int lua_cocos2dx_physics_PhysicsShape_getMass(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getMass",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:getMass",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -220,7 +220,7 @@ int lua_cocos2dx_physics_PhysicsShape_getMaterial(lua_State* tolua_S) physics_material_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getMaterial",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:getMaterial",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -264,7 +264,7 @@ int lua_cocos2dx_physics_PhysicsShape_getCollisionBitmask(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getCollisionBitmask",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:getCollisionBitmask",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -308,7 +308,7 @@ int lua_cocos2dx_physics_PhysicsShape_getArea(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getArea",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:getArea",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -348,13 +348,13 @@ int lua_cocos2dx_physics_PhysicsShape_setCategoryBitmask(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.PhysicsShape:setCategoryBitmask"); if(!ok) return 0; cobj->setCategoryBitmask(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setCategoryBitmask",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:setCategoryBitmask",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -398,7 +398,7 @@ int lua_cocos2dx_physics_PhysicsShape_getGroup(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getGroup",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:getGroup",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -438,13 +438,13 @@ int lua_cocos2dx_physics_PhysicsShape_setMoment(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsShape:setMoment"); if(!ok) return 0; cobj->setMoment(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setMoment",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:setMoment",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -484,14 +484,14 @@ int lua_cocos2dx_physics_PhysicsShape_containsPoint(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsShape:containsPoint"); if(!ok) return 0; bool ret = cobj->containsPoint(arg0); tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "containsPoint",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:containsPoint",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -535,7 +535,7 @@ int lua_cocos2dx_physics_PhysicsShape_getCategoryBitmask(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getCategoryBitmask",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:getCategoryBitmask",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -579,7 +579,7 @@ int lua_cocos2dx_physics_PhysicsShape_getType(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getType",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:getType",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -623,7 +623,7 @@ int lua_cocos2dx_physics_PhysicsShape_getContactTestBitmask(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getContactTestBitmask",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:getContactTestBitmask",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -667,7 +667,7 @@ int lua_cocos2dx_physics_PhysicsShape_getCenter(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getCenter",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:getCenter",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -711,7 +711,7 @@ int lua_cocos2dx_physics_PhysicsShape_getDensity(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDensity",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:getDensity",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -751,13 +751,13 @@ int lua_cocos2dx_physics_PhysicsShape_setMass(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsShape:setMass"); if(!ok) return 0; cobj->setMass(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setMass",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:setMass",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -801,7 +801,7 @@ int lua_cocos2dx_physics_PhysicsShape_getTag(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTag",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:getTag",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -845,7 +845,7 @@ int lua_cocos2dx_physics_PhysicsShape_calculateDefaultMoment(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "calculateDefaultMoment",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:calculateDefaultMoment",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -885,13 +885,13 @@ int lua_cocos2dx_physics_PhysicsShape_setCollisionBitmask(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.PhysicsShape:setCollisionBitmask"); if(!ok) return 0; cobj->setCollisionBitmask(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setCollisionBitmask",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:setCollisionBitmask",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -935,7 +935,7 @@ int lua_cocos2dx_physics_PhysicsShape_getMoment(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getMoment",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:getMoment",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -979,7 +979,7 @@ int lua_cocos2dx_physics_PhysicsShape_getOffset(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getOffset",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:getOffset",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1023,7 +1023,7 @@ int lua_cocos2dx_physics_PhysicsShape_getRestitution(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getRestitution",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:getRestitution",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1063,13 +1063,13 @@ int lua_cocos2dx_physics_PhysicsShape_setFriction(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsShape:setFriction"); if(!ok) return 0; cobj->setFriction(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setFriction",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:setFriction",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1109,13 +1109,13 @@ int lua_cocos2dx_physics_PhysicsShape_setMaterial(lua_State* tolua_S) { cocos2d::PhysicsMaterial arg0; - ok &= luaval_to_physics_material(tolua_S, 2, &arg0); + ok &= luaval_to_physics_material(tolua_S, 2, &arg0, "cc.PhysicsShape:setMaterial"); if(!ok) return 0; cobj->setMaterial(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setMaterial",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:setMaterial",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1155,13 +1155,13 @@ int lua_cocos2dx_physics_PhysicsShape_setTag(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.PhysicsShape:setTag"); if(!ok) return 0; cobj->setTag(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTag",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:setTag",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1201,13 +1201,13 @@ int lua_cocos2dx_physics_PhysicsShape_setContactTestBitmask(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.PhysicsShape:setContactTestBitmask"); if(!ok) return 0; cobj->setContactTestBitmask(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setContactTestBitmask",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:setContactTestBitmask",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1247,13 +1247,13 @@ int lua_cocos2dx_physics_PhysicsShape_setRestitution(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsShape:setRestitution"); if(!ok) return 0; cobj->setRestitution(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setRestitution",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:setRestitution",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1297,7 +1297,7 @@ int lua_cocos2dx_physics_PhysicsShape_getBody(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.PhysicsBody",(cocos2d::PhysicsBody*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBody",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShape:getBody",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1389,7 +1389,7 @@ int lua_cocos2dx_physics_PhysicsShapeCircle_getRadius(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getRadius",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShapeCircle:getRadius",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1417,7 +1417,7 @@ int lua_cocos2dx_physics_PhysicsShapeCircle_create(lua_State* tolua_S) if (argc == 1) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsShapeCircle:create"); if(!ok) return 0; cocos2d::PhysicsShapeCircle* ret = cocos2d::PhysicsShapeCircle::create(arg0); @@ -1428,8 +1428,8 @@ int lua_cocos2dx_physics_PhysicsShapeCircle_create(lua_State* tolua_S) { double arg0; cocos2d::PhysicsMaterial arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); - ok &= luaval_to_physics_material(tolua_S, 3, &arg1); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsShapeCircle:create"); + ok &= luaval_to_physics_material(tolua_S, 3, &arg1, "cc.PhysicsShapeCircle:create"); if(!ok) return 0; cocos2d::PhysicsShapeCircle* ret = cocos2d::PhysicsShapeCircle::create(arg0, arg1); @@ -1441,16 +1441,16 @@ int lua_cocos2dx_physics_PhysicsShapeCircle_create(lua_State* tolua_S) double arg0; cocos2d::PhysicsMaterial arg1; cocos2d::Vec2 arg2; - ok &= luaval_to_number(tolua_S, 2,&arg0); - ok &= luaval_to_physics_material(tolua_S, 3, &arg1); - ok &= luaval_to_vec2(tolua_S, 4, &arg2); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsShapeCircle:create"); + ok &= luaval_to_physics_material(tolua_S, 3, &arg1, "cc.PhysicsShapeCircle:create"); + ok &= luaval_to_vec2(tolua_S, 4, &arg2, "cc.PhysicsShapeCircle:create"); if(!ok) return 0; cocos2d::PhysicsShapeCircle* ret = cocos2d::PhysicsShapeCircle::create(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.PhysicsShapeCircle",(cocos2d::PhysicsShapeCircle*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.PhysicsShapeCircle:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -1476,14 +1476,14 @@ int lua_cocos2dx_physics_PhysicsShapeCircle_calculateArea(lua_State* tolua_S) if (argc == 1) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsShapeCircle:calculateArea"); if(!ok) return 0; double ret = cocos2d::PhysicsShapeCircle::calculateArea(arg0); tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "calculateArea",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.PhysicsShapeCircle:calculateArea",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -1510,8 +1510,8 @@ int lua_cocos2dx_physics_PhysicsShapeCircle_calculateMoment(lua_State* tolua_S) { double arg0; double arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsShapeCircle:calculateMoment"); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.PhysicsShapeCircle:calculateMoment"); if(!ok) return 0; double ret = cocos2d::PhysicsShapeCircle::calculateMoment(arg0, arg1); @@ -1523,16 +1523,16 @@ int lua_cocos2dx_physics_PhysicsShapeCircle_calculateMoment(lua_State* tolua_S) double arg0; double arg1; cocos2d::Vec2 arg2; - ok &= luaval_to_number(tolua_S, 2,&arg0); - ok &= luaval_to_number(tolua_S, 3,&arg1); - ok &= luaval_to_vec2(tolua_S, 4, &arg2); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsShapeCircle:calculateMoment"); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.PhysicsShapeCircle:calculateMoment"); + ok &= luaval_to_vec2(tolua_S, 4, &arg2, "cc.PhysicsShapeCircle:calculateMoment"); if(!ok) return 0; double ret = cocos2d::PhysicsShapeCircle::calculateMoment(arg0, arg1, arg2); tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "calculateMoment",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.PhysicsShapeCircle:calculateMoment",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -1597,7 +1597,7 @@ int lua_cocos2dx_physics_PhysicsShapePolygon_getPointsCount(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPointsCount",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShapePolygon:getPointsCount",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1637,14 +1637,14 @@ int lua_cocos2dx_physics_PhysicsShapePolygon_getPoint(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.PhysicsShapePolygon:getPoint"); if(!ok) return 0; cocos2d::Vec2 ret = cobj->getPoint(arg0); vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPoint",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShapePolygon:getPoint",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1709,7 +1709,7 @@ int lua_cocos2dx_physics_PhysicsShapeBox_getSize(lua_State* tolua_S) size_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShapeBox:getSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1737,7 +1737,7 @@ int lua_cocos2dx_physics_PhysicsShapeBox_create(lua_State* tolua_S) if (argc == 1) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.PhysicsShapeBox:create"); if(!ok) return 0; cocos2d::PhysicsShapeBox* ret = cocos2d::PhysicsShapeBox::create(arg0); @@ -1748,8 +1748,8 @@ int lua_cocos2dx_physics_PhysicsShapeBox_create(lua_State* tolua_S) { cocos2d::Size arg0; cocos2d::PhysicsMaterial arg1; - ok &= luaval_to_size(tolua_S, 2, &arg0); - ok &= luaval_to_physics_material(tolua_S, 3, &arg1); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.PhysicsShapeBox:create"); + ok &= luaval_to_physics_material(tolua_S, 3, &arg1, "cc.PhysicsShapeBox:create"); if(!ok) return 0; cocos2d::PhysicsShapeBox* ret = cocos2d::PhysicsShapeBox::create(arg0, arg1); @@ -1761,16 +1761,16 @@ int lua_cocos2dx_physics_PhysicsShapeBox_create(lua_State* tolua_S) cocos2d::Size arg0; cocos2d::PhysicsMaterial arg1; cocos2d::Vec2 arg2; - ok &= luaval_to_size(tolua_S, 2, &arg0); - ok &= luaval_to_physics_material(tolua_S, 3, &arg1); - ok &= luaval_to_vec2(tolua_S, 4, &arg2); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.PhysicsShapeBox:create"); + ok &= luaval_to_physics_material(tolua_S, 3, &arg1, "cc.PhysicsShapeBox:create"); + ok &= luaval_to_vec2(tolua_S, 4, &arg2, "cc.PhysicsShapeBox:create"); if(!ok) return 0; cocos2d::PhysicsShapeBox* ret = cocos2d::PhysicsShapeBox::create(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.PhysicsShapeBox",(cocos2d::PhysicsShapeBox*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.PhysicsShapeBox:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -1833,7 +1833,7 @@ int lua_cocos2dx_physics_PhysicsShapeEdgeSegment_getPointB(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPointB",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShapeEdgeSegment:getPointB",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1877,7 +1877,7 @@ int lua_cocos2dx_physics_PhysicsShapeEdgeSegment_getPointA(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPointA",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShapeEdgeSegment:getPointA",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1906,8 +1906,8 @@ int lua_cocos2dx_physics_PhysicsShapeEdgeSegment_create(lua_State* tolua_S) { cocos2d::Vec2 arg0; cocos2d::Vec2 arg1; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); - ok &= luaval_to_vec2(tolua_S, 3, &arg1); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsShapeEdgeSegment:create"); + ok &= luaval_to_vec2(tolua_S, 3, &arg1, "cc.PhysicsShapeEdgeSegment:create"); if(!ok) return 0; cocos2d::PhysicsShapeEdgeSegment* ret = cocos2d::PhysicsShapeEdgeSegment::create(arg0, arg1); @@ -1919,9 +1919,9 @@ int lua_cocos2dx_physics_PhysicsShapeEdgeSegment_create(lua_State* tolua_S) cocos2d::Vec2 arg0; cocos2d::Vec2 arg1; cocos2d::PhysicsMaterial arg2; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); - ok &= luaval_to_vec2(tolua_S, 3, &arg1); - ok &= luaval_to_physics_material(tolua_S, 4, &arg2); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsShapeEdgeSegment:create"); + ok &= luaval_to_vec2(tolua_S, 3, &arg1, "cc.PhysicsShapeEdgeSegment:create"); + ok &= luaval_to_physics_material(tolua_S, 4, &arg2, "cc.PhysicsShapeEdgeSegment:create"); if(!ok) return 0; cocos2d::PhysicsShapeEdgeSegment* ret = cocos2d::PhysicsShapeEdgeSegment::create(arg0, arg1, arg2); @@ -1934,17 +1934,17 @@ int lua_cocos2dx_physics_PhysicsShapeEdgeSegment_create(lua_State* tolua_S) cocos2d::Vec2 arg1; cocos2d::PhysicsMaterial arg2; double arg3; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); - ok &= luaval_to_vec2(tolua_S, 3, &arg1); - ok &= luaval_to_physics_material(tolua_S, 4, &arg2); - ok &= luaval_to_number(tolua_S, 5,&arg3); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsShapeEdgeSegment:create"); + ok &= luaval_to_vec2(tolua_S, 3, &arg1, "cc.PhysicsShapeEdgeSegment:create"); + ok &= luaval_to_physics_material(tolua_S, 4, &arg2, "cc.PhysicsShapeEdgeSegment:create"); + ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.PhysicsShapeEdgeSegment:create"); if(!ok) return 0; cocos2d::PhysicsShapeEdgeSegment* ret = cocos2d::PhysicsShapeEdgeSegment::create(arg0, arg1, arg2, arg3); object_to_luaval(tolua_S, "cc.PhysicsShapeEdgeSegment",(cocos2d::PhysicsShapeEdgeSegment*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.PhysicsShapeEdgeSegment:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -2008,7 +2008,7 @@ int lua_cocos2dx_physics_PhysicsShapeEdgePolygon_getPointsCount(lua_State* tolua tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPointsCount",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShapeEdgePolygon:getPointsCount",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2056,7 +2056,7 @@ int lua_cocos2dx_physics_PhysicsShapeEdgeBox_create(lua_State* tolua_S) if (argc == 1) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.PhysicsShapeEdgeBox:create"); if(!ok) return 0; cocos2d::PhysicsShapeEdgeBox* ret = cocos2d::PhysicsShapeEdgeBox::create(arg0); @@ -2067,8 +2067,8 @@ int lua_cocos2dx_physics_PhysicsShapeEdgeBox_create(lua_State* tolua_S) { cocos2d::Size arg0; cocos2d::PhysicsMaterial arg1; - ok &= luaval_to_size(tolua_S, 2, &arg0); - ok &= luaval_to_physics_material(tolua_S, 3, &arg1); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.PhysicsShapeEdgeBox:create"); + ok &= luaval_to_physics_material(tolua_S, 3, &arg1, "cc.PhysicsShapeEdgeBox:create"); if(!ok) return 0; cocos2d::PhysicsShapeEdgeBox* ret = cocos2d::PhysicsShapeEdgeBox::create(arg0, arg1); @@ -2080,9 +2080,9 @@ int lua_cocos2dx_physics_PhysicsShapeEdgeBox_create(lua_State* tolua_S) cocos2d::Size arg0; cocos2d::PhysicsMaterial arg1; double arg2; - ok &= luaval_to_size(tolua_S, 2, &arg0); - ok &= luaval_to_physics_material(tolua_S, 3, &arg1); - ok &= luaval_to_number(tolua_S, 4,&arg2); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.PhysicsShapeEdgeBox:create"); + ok &= luaval_to_physics_material(tolua_S, 3, &arg1, "cc.PhysicsShapeEdgeBox:create"); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.PhysicsShapeEdgeBox:create"); if(!ok) return 0; cocos2d::PhysicsShapeEdgeBox* ret = cocos2d::PhysicsShapeEdgeBox::create(arg0, arg1, arg2); @@ -2095,17 +2095,17 @@ int lua_cocos2dx_physics_PhysicsShapeEdgeBox_create(lua_State* tolua_S) cocos2d::PhysicsMaterial arg1; double arg2; cocos2d::Vec2 arg3; - ok &= luaval_to_size(tolua_S, 2, &arg0); - ok &= luaval_to_physics_material(tolua_S, 3, &arg1); - ok &= luaval_to_number(tolua_S, 4,&arg2); - ok &= luaval_to_vec2(tolua_S, 5, &arg3); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.PhysicsShapeEdgeBox:create"); + ok &= luaval_to_physics_material(tolua_S, 3, &arg1, "cc.PhysicsShapeEdgeBox:create"); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.PhysicsShapeEdgeBox:create"); + ok &= luaval_to_vec2(tolua_S, 5, &arg3, "cc.PhysicsShapeEdgeBox:create"); if(!ok) return 0; cocos2d::PhysicsShapeEdgeBox* ret = cocos2d::PhysicsShapeEdgeBox::create(arg0, arg1, arg2, arg3); object_to_luaval(tolua_S, "cc.PhysicsShapeEdgeBox",(cocos2d::PhysicsShapeEdgeBox*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.PhysicsShapeEdgeBox:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -2167,7 +2167,7 @@ int lua_cocos2dx_physics_PhysicsShapeEdgeChain_getPointsCount(lua_State* tolua_S tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPointsCount",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsShapeEdgeChain:getPointsCount",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2231,7 +2231,7 @@ int lua_cocos2dx_physics_PhysicsBody_isGravityEnabled(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isGravityEnabled",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:isGravityEnabled",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2274,7 +2274,7 @@ int lua_cocos2dx_physics_PhysicsBody_resetForces(lua_State* tolua_S) cobj->resetForces(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "resetForces",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:resetForces",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2318,7 +2318,7 @@ int lua_cocos2dx_physics_PhysicsBody_getVelocityLimit(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getVelocityLimit",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getVelocityLimit",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2358,13 +2358,13 @@ int lua_cocos2dx_physics_PhysicsBody_setGroup(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.PhysicsBody:setGroup"); if(!ok) return 0; cobj->setGroup(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setGroup",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:setGroup",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -2408,7 +2408,7 @@ int lua_cocos2dx_physics_PhysicsBody_getMass(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getMass",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getMass",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2452,7 +2452,7 @@ int lua_cocos2dx_physics_PhysicsBody_getCollisionBitmask(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getCollisionBitmask",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getCollisionBitmask",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2496,7 +2496,7 @@ int lua_cocos2dx_physics_PhysicsBody_getRotationOffset(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getRotationOffset",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getRotationOffset",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2540,7 +2540,7 @@ int lua_cocos2dx_physics_PhysicsBody_getRotation(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getRotation",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getRotation",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2584,7 +2584,7 @@ int lua_cocos2dx_physics_PhysicsBody_getMoment(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getMoment",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getMoment",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2618,11 +2618,11 @@ int lua_cocos2dx_physics_PhysicsBody_applyImpulse(lua_State* tolua_S) do{ if (argc == 2) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsBody:applyImpulse"); if (!ok) { break; } cocos2d::Vec2 arg1; - ok &= luaval_to_vec2(tolua_S, 3, &arg1); + ok &= luaval_to_vec2(tolua_S, 3, &arg1, "cc.PhysicsBody:applyImpulse"); if (!ok) { break; } cobj->applyImpulse(arg0, arg1); @@ -2633,7 +2633,7 @@ int lua_cocos2dx_physics_PhysicsBody_applyImpulse(lua_State* tolua_S) do{ if (argc == 1) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsBody:applyImpulse"); if (!ok) { break; } cobj->applyImpulse(arg0); @@ -2641,7 +2641,7 @@ int lua_cocos2dx_physics_PhysicsBody_applyImpulse(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "applyImpulse",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:applyImpulse",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -2681,13 +2681,13 @@ int lua_cocos2dx_physics_PhysicsBody_setRotationOffset(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsBody:setRotationOffset"); if(!ok) return 0; cobj->setRotationOffset(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setRotationOffset",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:setRotationOffset",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -2721,11 +2721,11 @@ int lua_cocos2dx_physics_PhysicsBody_applyForce(lua_State* tolua_S) do{ if (argc == 2) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsBody:applyForce"); if (!ok) { break; } cocos2d::Vec2 arg1; - ok &= luaval_to_vec2(tolua_S, 3, &arg1); + ok &= luaval_to_vec2(tolua_S, 3, &arg1, "cc.PhysicsBody:applyForce"); if (!ok) { break; } cobj->applyForce(arg0, arg1); @@ -2736,7 +2736,7 @@ int lua_cocos2dx_physics_PhysicsBody_applyForce(lua_State* tolua_S) do{ if (argc == 1) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsBody:applyForce"); if (!ok) { break; } cobj->applyForce(arg0); @@ -2744,7 +2744,7 @@ int lua_cocos2dx_physics_PhysicsBody_applyForce(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "applyForce",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:applyForce",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -2798,14 +2798,14 @@ int lua_cocos2dx_physics_PhysicsBody_addShape(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 2, "cc.PhysicsShape",&arg0); - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.PhysicsBody:addShape"); if(!ok) return 0; cocos2d::PhysicsShape* ret = cobj->addShape(arg0, arg1); object_to_luaval(tolua_S, "cc.PhysicsShape",(cocos2d::PhysicsShape*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addShape",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:addShape",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -2845,13 +2845,13 @@ int lua_cocos2dx_physics_PhysicsBody_applyTorque(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsBody:applyTorque"); if(!ok) return 0; cobj->applyTorque(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "applyTorque",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:applyTorque",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -2895,7 +2895,7 @@ int lua_cocos2dx_physics_PhysicsBody_getAngularVelocityLimit(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAngularVelocityLimit",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getAngularVelocityLimit",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2935,13 +2935,13 @@ int lua_cocos2dx_physics_PhysicsBody_setAngularVelocityLimit(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsBody:setAngularVelocityLimit"); if(!ok) return 0; cobj->setAngularVelocityLimit(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAngularVelocityLimit",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:setAngularVelocityLimit",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -2985,7 +2985,7 @@ int lua_cocos2dx_physics_PhysicsBody_getVelocity(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getVelocity",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getVelocity",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3029,7 +3029,7 @@ int lua_cocos2dx_physics_PhysicsBody_getLinearDamping(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getLinearDamping",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getLinearDamping",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3076,13 +3076,13 @@ int lua_cocos2dx_physics_PhysicsBody_removeAllShapes(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.PhysicsBody:removeAllShapes"); if(!ok) return 0; cobj->removeAllShapes(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeAllShapes",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:removeAllShapes",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3122,13 +3122,13 @@ int lua_cocos2dx_physics_PhysicsBody_setAngularDamping(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsBody:setAngularDamping"); if(!ok) return 0; cobj->setAngularDamping(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAngularDamping",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:setAngularDamping",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -3168,13 +3168,13 @@ int lua_cocos2dx_physics_PhysicsBody_setVelocityLimit(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsBody:setVelocityLimit"); if(!ok) return 0; cobj->setVelocityLimit(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setVelocityLimit",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:setVelocityLimit",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -3214,13 +3214,13 @@ int lua_cocos2dx_physics_PhysicsBody_setResting(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.PhysicsBody:setResting"); if(!ok) return 0; cobj->setResting(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setResting",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:setResting",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -3264,7 +3264,7 @@ int lua_cocos2dx_physics_PhysicsBody_getPositionOffset(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPositionOffset",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getPositionOffset",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3304,13 +3304,13 @@ int lua_cocos2dx_physics_PhysicsBody_setCategoryBitmask(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.PhysicsBody:setCategoryBitmask"); if(!ok) return 0; cobj->setCategoryBitmask(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setCategoryBitmask",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:setCategoryBitmask",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -3354,7 +3354,7 @@ int lua_cocos2dx_physics_PhysicsBody_getWorld(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.PhysicsWorld",(cocos2d::PhysicsWorld*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getWorld",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getWorld",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3398,7 +3398,7 @@ int lua_cocos2dx_physics_PhysicsBody_getAngularVelocity(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAngularVelocity",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getAngularVelocity",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3442,7 +3442,7 @@ int lua_cocos2dx_physics_PhysicsBody_getPosition(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPosition",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getPosition",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3482,13 +3482,13 @@ int lua_cocos2dx_physics_PhysicsBody_setEnable(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.PhysicsBody:setEnable"); if(!ok) return 0; cobj->setEnable(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setEnable",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:setEnable",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -3528,13 +3528,13 @@ int lua_cocos2dx_physics_PhysicsBody_setGravityEnable(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.PhysicsBody:setGravityEnable"); if(!ok) return 0; cobj->setGravityEnable(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setGravityEnable",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:setGravityEnable",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -3578,7 +3578,7 @@ int lua_cocos2dx_physics_PhysicsBody_getGroup(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getGroup",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getGroup",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3618,13 +3618,13 @@ int lua_cocos2dx_physics_PhysicsBody_setMoment(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsBody:setMoment"); if(!ok) return 0; cobj->setMoment(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setMoment",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:setMoment",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -3668,7 +3668,7 @@ int lua_cocos2dx_physics_PhysicsBody_getTag(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTag",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getTag",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3708,14 +3708,14 @@ int lua_cocos2dx_physics_PhysicsBody_local2World(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsBody:local2World"); if(!ok) return 0; cocos2d::Vec2 ret = cobj->local2World(arg0); vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "local2World",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:local2World",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -3759,7 +3759,7 @@ int lua_cocos2dx_physics_PhysicsBody_getCategoryBitmask(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getCategoryBitmask",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getCategoryBitmask",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3799,13 +3799,13 @@ int lua_cocos2dx_physics_PhysicsBody_setDynamic(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.PhysicsBody:setDynamic"); if(!ok) return 0; cobj->setDynamic(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setDynamic",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:setDynamic",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -3849,7 +3849,7 @@ int lua_cocos2dx_physics_PhysicsBody_getFirstShape(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.PhysicsShape",(cocos2d::PhysicsShape*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getFirstShape",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getFirstShape",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3893,7 +3893,7 @@ int lua_cocos2dx_physics_PhysicsBody_getShapes(lua_State* tolua_S) ccvector_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getShapes",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getShapes",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3937,7 +3937,7 @@ int lua_cocos2dx_physics_PhysicsBody_getContactTestBitmask(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getContactTestBitmask",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getContactTestBitmask",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3977,13 +3977,13 @@ int lua_cocos2dx_physics_PhysicsBody_setAngularVelocity(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsBody:setAngularVelocity"); if(!ok) return 0; cobj->setAngularVelocity(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAngularVelocity",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:setAngularVelocity",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4023,14 +4023,14 @@ int lua_cocos2dx_physics_PhysicsBody_world2Local(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsBody:world2Local"); if(!ok) return 0; cocos2d::Vec2 ret = cobj->world2Local(arg0); vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "world2Local",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:world2Local",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4074,7 +4074,7 @@ int lua_cocos2dx_physics_PhysicsBody_isEnabled(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isEnabled",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:isEnabled",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4108,7 +4108,7 @@ int lua_cocos2dx_physics_PhysicsBody_removeShape(lua_State* tolua_S) do{ if (argc == 1) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.PhysicsBody:removeShape"); if (!ok) { break; } cobj->removeShape(arg0); @@ -4119,11 +4119,11 @@ int lua_cocos2dx_physics_PhysicsBody_removeShape(lua_State* tolua_S) do{ if (argc == 2) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.PhysicsBody:removeShape"); if (!ok) { break; } bool arg1; - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.PhysicsBody:removeShape"); if (!ok) { break; } cobj->removeShape(arg0, arg1); @@ -4149,7 +4149,7 @@ int lua_cocos2dx_physics_PhysicsBody_removeShape(lua_State* tolua_S) if (!ok) { break; } bool arg1; - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.PhysicsBody:removeShape"); if (!ok) { break; } cobj->removeShape(arg0, arg1); @@ -4157,7 +4157,7 @@ int lua_cocos2dx_physics_PhysicsBody_removeShape(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeShape",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:removeShape",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4197,13 +4197,13 @@ int lua_cocos2dx_physics_PhysicsBody_setMass(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsBody:setMass"); if(!ok) return 0; cobj->setMass(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setMass",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:setMass",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4243,13 +4243,13 @@ int lua_cocos2dx_physics_PhysicsBody_addMoment(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsBody:addMoment"); if(!ok) return 0; cobj->addMoment(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addMoment",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:addMoment",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4289,13 +4289,13 @@ int lua_cocos2dx_physics_PhysicsBody_setVelocity(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsBody:setVelocity"); if(!ok) return 0; cobj->setVelocity(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setVelocity",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:setVelocity",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4335,13 +4335,13 @@ int lua_cocos2dx_physics_PhysicsBody_setLinearDamping(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsBody:setLinearDamping"); if(!ok) return 0; cobj->setLinearDamping(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setLinearDamping",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:setLinearDamping",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4381,13 +4381,13 @@ int lua_cocos2dx_physics_PhysicsBody_setCollisionBitmask(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.PhysicsBody:setCollisionBitmask"); if(!ok) return 0; cobj->setCollisionBitmask(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setCollisionBitmask",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:setCollisionBitmask",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4427,13 +4427,13 @@ int lua_cocos2dx_physics_PhysicsBody_setPositionOffset(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsBody:setPositionOffset"); if(!ok) return 0; cobj->setPositionOffset(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setPositionOffset",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:setPositionOffset",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4473,13 +4473,13 @@ int lua_cocos2dx_physics_PhysicsBody_setRotationEnable(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.PhysicsBody:setRotationEnable"); if(!ok) return 0; cobj->setRotationEnable(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setRotationEnable",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:setRotationEnable",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4523,7 +4523,7 @@ int lua_cocos2dx_physics_PhysicsBody_isRotationEnabled(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isRotationEnabled",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:isRotationEnabled",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4567,7 +4567,7 @@ int lua_cocos2dx_physics_PhysicsBody_getAngularDamping(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAngularDamping",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getAngularDamping",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4607,14 +4607,14 @@ int lua_cocos2dx_physics_PhysicsBody_getVelocityAtLocalPoint(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsBody:getVelocityAtLocalPoint"); if(!ok) return 0; cocos2d::Vec2 ret = cobj->getVelocityAtLocalPoint(arg0); vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getVelocityAtLocalPoint",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getVelocityAtLocalPoint",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4658,7 +4658,7 @@ int lua_cocos2dx_physics_PhysicsBody_isResting(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isResting",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:isResting",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4698,13 +4698,13 @@ int lua_cocos2dx_physics_PhysicsBody_addMass(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsBody:addMass"); if(!ok) return 0; cobj->addMass(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addMass",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:addMass",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4744,14 +4744,14 @@ int lua_cocos2dx_physics_PhysicsBody_getShape(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.PhysicsBody:getShape"); if(!ok) return 0; cocos2d::PhysicsShape* ret = cobj->getShape(arg0); object_to_luaval(tolua_S, "cc.PhysicsShape",(cocos2d::PhysicsShape*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getShape",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getShape",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4791,13 +4791,13 @@ int lua_cocos2dx_physics_PhysicsBody_setTag(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.PhysicsBody:setTag"); if(!ok) return 0; cobj->setTag(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTag",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:setTag",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4837,14 +4837,14 @@ int lua_cocos2dx_physics_PhysicsBody_getVelocityAtWorldPoint(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsBody:getVelocityAtWorldPoint"); if(!ok) return 0; cocos2d::Vec2 ret = cobj->getVelocityAtWorldPoint(arg0); vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getVelocityAtWorldPoint",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getVelocityAtWorldPoint",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4884,13 +4884,13 @@ int lua_cocos2dx_physics_PhysicsBody_setContactTestBitmask(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.PhysicsBody:setContactTestBitmask"); if(!ok) return 0; cobj->setContactTestBitmask(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setContactTestBitmask",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:setContactTestBitmask",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4933,7 +4933,7 @@ int lua_cocos2dx_physics_PhysicsBody_removeFromWorld(lua_State* tolua_S) cobj->removeFromWorld(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeFromWorld",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:removeFromWorld",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4977,7 +4977,7 @@ int lua_cocos2dx_physics_PhysicsBody_isDynamic(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isDynamic",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:isDynamic",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5021,7 +5021,7 @@ int lua_cocos2dx_physics_PhysicsBody_getNode(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Node",(cocos2d::Node*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getNode",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsBody:getNode",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5049,7 +5049,7 @@ int lua_cocos2dx_physics_PhysicsBody_createBox(lua_State* tolua_S) if (argc == 1) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.PhysicsBody:createBox"); if(!ok) return 0; cocos2d::PhysicsBody* ret = cocos2d::PhysicsBody::createBox(arg0); @@ -5060,8 +5060,8 @@ int lua_cocos2dx_physics_PhysicsBody_createBox(lua_State* tolua_S) { cocos2d::Size arg0; cocos2d::PhysicsMaterial arg1; - ok &= luaval_to_size(tolua_S, 2, &arg0); - ok &= luaval_to_physics_material(tolua_S, 3, &arg1); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.PhysicsBody:createBox"); + ok &= luaval_to_physics_material(tolua_S, 3, &arg1, "cc.PhysicsBody:createBox"); if(!ok) return 0; cocos2d::PhysicsBody* ret = cocos2d::PhysicsBody::createBox(arg0, arg1); @@ -5073,16 +5073,16 @@ int lua_cocos2dx_physics_PhysicsBody_createBox(lua_State* tolua_S) cocos2d::Size arg0; cocos2d::PhysicsMaterial arg1; cocos2d::Vec2 arg2; - ok &= luaval_to_size(tolua_S, 2, &arg0); - ok &= luaval_to_physics_material(tolua_S, 3, &arg1); - ok &= luaval_to_vec2(tolua_S, 4, &arg2); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.PhysicsBody:createBox"); + ok &= luaval_to_physics_material(tolua_S, 3, &arg1, "cc.PhysicsBody:createBox"); + ok &= luaval_to_vec2(tolua_S, 4, &arg2, "cc.PhysicsBody:createBox"); if(!ok) return 0; cocos2d::PhysicsBody* ret = cocos2d::PhysicsBody::createBox(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.PhysicsBody",(cocos2d::PhysicsBody*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createBox",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.PhysicsBody:createBox",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -5109,8 +5109,8 @@ int lua_cocos2dx_physics_PhysicsBody_createEdgeSegment(lua_State* tolua_S) { cocos2d::Vec2 arg0; cocos2d::Vec2 arg1; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); - ok &= luaval_to_vec2(tolua_S, 3, &arg1); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsBody:createEdgeSegment"); + ok &= luaval_to_vec2(tolua_S, 3, &arg1, "cc.PhysicsBody:createEdgeSegment"); if(!ok) return 0; cocos2d::PhysicsBody* ret = cocos2d::PhysicsBody::createEdgeSegment(arg0, arg1); @@ -5122,9 +5122,9 @@ int lua_cocos2dx_physics_PhysicsBody_createEdgeSegment(lua_State* tolua_S) cocos2d::Vec2 arg0; cocos2d::Vec2 arg1; cocos2d::PhysicsMaterial arg2; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); - ok &= luaval_to_vec2(tolua_S, 3, &arg1); - ok &= luaval_to_physics_material(tolua_S, 4, &arg2); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsBody:createEdgeSegment"); + ok &= luaval_to_vec2(tolua_S, 3, &arg1, "cc.PhysicsBody:createEdgeSegment"); + ok &= luaval_to_physics_material(tolua_S, 4, &arg2, "cc.PhysicsBody:createEdgeSegment"); if(!ok) return 0; cocos2d::PhysicsBody* ret = cocos2d::PhysicsBody::createEdgeSegment(arg0, arg1, arg2); @@ -5137,17 +5137,17 @@ int lua_cocos2dx_physics_PhysicsBody_createEdgeSegment(lua_State* tolua_S) cocos2d::Vec2 arg1; cocos2d::PhysicsMaterial arg2; double arg3; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); - ok &= luaval_to_vec2(tolua_S, 3, &arg1); - ok &= luaval_to_physics_material(tolua_S, 4, &arg2); - ok &= luaval_to_number(tolua_S, 5,&arg3); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsBody:createEdgeSegment"); + ok &= luaval_to_vec2(tolua_S, 3, &arg1, "cc.PhysicsBody:createEdgeSegment"); + ok &= luaval_to_physics_material(tolua_S, 4, &arg2, "cc.PhysicsBody:createEdgeSegment"); + ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.PhysicsBody:createEdgeSegment"); if(!ok) return 0; cocos2d::PhysicsBody* ret = cocos2d::PhysicsBody::createEdgeSegment(arg0, arg1, arg2, arg3); object_to_luaval(tolua_S, "cc.PhysicsBody",(cocos2d::PhysicsBody*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createEdgeSegment",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.PhysicsBody:createEdgeSegment",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -5174,7 +5174,7 @@ int lua_cocos2dx_physics_PhysicsBody_create(lua_State* tolua_S) if (argc == 1) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsBody:create"); if (!ok) { break; } cocos2d::PhysicsBody* ret = cocos2d::PhysicsBody::create(arg0); object_to_luaval(tolua_S, "cc.PhysicsBody",(cocos2d::PhysicsBody*)ret); @@ -5197,10 +5197,10 @@ int lua_cocos2dx_physics_PhysicsBody_create(lua_State* tolua_S) if (argc == 2) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsBody:create"); if (!ok) { break; } double arg1; - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "cc.PhysicsBody:create"); if (!ok) { break; } cocos2d::PhysicsBody* ret = cocos2d::PhysicsBody::create(arg0, arg1); object_to_luaval(tolua_S, "cc.PhysicsBody",(cocos2d::PhysicsBody*)ret); @@ -5208,7 +5208,7 @@ int lua_cocos2dx_physics_PhysicsBody_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.PhysicsBody:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -5234,7 +5234,7 @@ int lua_cocos2dx_physics_PhysicsBody_createEdgeBox(lua_State* tolua_S) if (argc == 1) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.PhysicsBody:createEdgeBox"); if(!ok) return 0; cocos2d::PhysicsBody* ret = cocos2d::PhysicsBody::createEdgeBox(arg0); @@ -5245,8 +5245,8 @@ int lua_cocos2dx_physics_PhysicsBody_createEdgeBox(lua_State* tolua_S) { cocos2d::Size arg0; cocos2d::PhysicsMaterial arg1; - ok &= luaval_to_size(tolua_S, 2, &arg0); - ok &= luaval_to_physics_material(tolua_S, 3, &arg1); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.PhysicsBody:createEdgeBox"); + ok &= luaval_to_physics_material(tolua_S, 3, &arg1, "cc.PhysicsBody:createEdgeBox"); if(!ok) return 0; cocos2d::PhysicsBody* ret = cocos2d::PhysicsBody::createEdgeBox(arg0, arg1); @@ -5258,9 +5258,9 @@ int lua_cocos2dx_physics_PhysicsBody_createEdgeBox(lua_State* tolua_S) cocos2d::Size arg0; cocos2d::PhysicsMaterial arg1; double arg2; - ok &= luaval_to_size(tolua_S, 2, &arg0); - ok &= luaval_to_physics_material(tolua_S, 3, &arg1); - ok &= luaval_to_number(tolua_S, 4,&arg2); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.PhysicsBody:createEdgeBox"); + ok &= luaval_to_physics_material(tolua_S, 3, &arg1, "cc.PhysicsBody:createEdgeBox"); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.PhysicsBody:createEdgeBox"); if(!ok) return 0; cocos2d::PhysicsBody* ret = cocos2d::PhysicsBody::createEdgeBox(arg0, arg1, arg2); @@ -5273,17 +5273,17 @@ int lua_cocos2dx_physics_PhysicsBody_createEdgeBox(lua_State* tolua_S) cocos2d::PhysicsMaterial arg1; double arg2; cocos2d::Vec2 arg3; - ok &= luaval_to_size(tolua_S, 2, &arg0); - ok &= luaval_to_physics_material(tolua_S, 3, &arg1); - ok &= luaval_to_number(tolua_S, 4,&arg2); - ok &= luaval_to_vec2(tolua_S, 5, &arg3); + ok &= luaval_to_size(tolua_S, 2, &arg0, "cc.PhysicsBody:createEdgeBox"); + ok &= luaval_to_physics_material(tolua_S, 3, &arg1, "cc.PhysicsBody:createEdgeBox"); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.PhysicsBody:createEdgeBox"); + ok &= luaval_to_vec2(tolua_S, 5, &arg3, "cc.PhysicsBody:createEdgeBox"); if(!ok) return 0; cocos2d::PhysicsBody* ret = cocos2d::PhysicsBody::createEdgeBox(arg0, arg1, arg2, arg3); object_to_luaval(tolua_S, "cc.PhysicsBody",(cocos2d::PhysicsBody*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createEdgeBox",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.PhysicsBody:createEdgeBox",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -5309,7 +5309,7 @@ int lua_cocos2dx_physics_PhysicsBody_createCircle(lua_State* tolua_S) if (argc == 1) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsBody:createCircle"); if(!ok) return 0; cocos2d::PhysicsBody* ret = cocos2d::PhysicsBody::createCircle(arg0); @@ -5320,8 +5320,8 @@ int lua_cocos2dx_physics_PhysicsBody_createCircle(lua_State* tolua_S) { double arg0; cocos2d::PhysicsMaterial arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); - ok &= luaval_to_physics_material(tolua_S, 3, &arg1); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsBody:createCircle"); + ok &= luaval_to_physics_material(tolua_S, 3, &arg1, "cc.PhysicsBody:createCircle"); if(!ok) return 0; cocos2d::PhysicsBody* ret = cocos2d::PhysicsBody::createCircle(arg0, arg1); @@ -5333,16 +5333,16 @@ int lua_cocos2dx_physics_PhysicsBody_createCircle(lua_State* tolua_S) double arg0; cocos2d::PhysicsMaterial arg1; cocos2d::Vec2 arg2; - ok &= luaval_to_number(tolua_S, 2,&arg0); - ok &= luaval_to_physics_material(tolua_S, 3, &arg1); - ok &= luaval_to_vec2(tolua_S, 4, &arg2); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsBody:createCircle"); + ok &= luaval_to_physics_material(tolua_S, 3, &arg1, "cc.PhysicsBody:createCircle"); + ok &= luaval_to_vec2(tolua_S, 4, &arg2, "cc.PhysicsBody:createCircle"); if(!ok) return 0; cocos2d::PhysicsBody* ret = cocos2d::PhysicsBody::createCircle(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.PhysicsBody",(cocos2d::PhysicsBody*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createCircle",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.PhysicsBody:createCircle",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -5469,7 +5469,7 @@ int lua_cocos2dx_physics_PhysicsWorld_getGravity(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getGravity",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:getGravity",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5513,7 +5513,7 @@ int lua_cocos2dx_physics_PhysicsWorld_getAllBodies(lua_State* tolua_S) ccvector_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAllBodies",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:getAllBodies",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5553,13 +5553,13 @@ int lua_cocos2dx_physics_PhysicsWorld_setGravity(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsWorld:setGravity"); if(!ok) return 0; cobj->setGravity(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setGravity",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:setGravity",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5603,7 +5603,7 @@ int lua_cocos2dx_physics_PhysicsWorld_getSpeed(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getSpeed",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:getSpeed",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5637,7 +5637,7 @@ int lua_cocos2dx_physics_PhysicsWorld_removeBody(lua_State* tolua_S) do{ if (argc == 1) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.PhysicsWorld:removeBody"); if (!ok) { break; } cobj->removeBody(arg0); @@ -5656,7 +5656,7 @@ int lua_cocos2dx_physics_PhysicsWorld_removeBody(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeBody",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:removeBody",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5709,13 +5709,13 @@ int lua_cocos2dx_physics_PhysicsWorld_removeJoint(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 2, "cc.PhysicsJoint",&arg0); - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "cc.PhysicsWorld:removeJoint"); if(!ok) return 0; cobj->removeJoint(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeJoint",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:removeJoint",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5759,7 +5759,7 @@ int lua_cocos2dx_physics_PhysicsWorld_getUpdateRate(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getUpdateRate",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:getUpdateRate",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5799,13 +5799,13 @@ int lua_cocos2dx_physics_PhysicsWorld_setSpeed(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsWorld:setSpeed"); if(!ok) return 0; cobj->setSpeed(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setSpeed",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:setSpeed",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5845,14 +5845,14 @@ int lua_cocos2dx_physics_PhysicsWorld_getShapes(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsWorld:getShapes"); if(!ok) return 0; cocos2d::Vector ret = cobj->getShapes(arg0); ccvector_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getShapes",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:getShapes",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5899,13 +5899,13 @@ int lua_cocos2dx_physics_PhysicsWorld_removeAllJoints(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.PhysicsWorld:removeAllJoints"); if(!ok) return 0; cobj->removeAllJoints(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeAllJoints",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:removeAllJoints",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5945,14 +5945,14 @@ int lua_cocos2dx_physics_PhysicsWorld_getShape(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsWorld:getShape"); if(!ok) return 0; cocos2d::PhysicsShape* ret = cobj->getShape(arg0); object_to_luaval(tolua_S, "cc.PhysicsShape",(cocos2d::PhysicsShape*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getShape",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:getShape",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5995,7 +5995,7 @@ int lua_cocos2dx_physics_PhysicsWorld_removeAllBodies(lua_State* tolua_S) cobj->removeAllBodies(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeAllBodies",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:removeAllBodies",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6039,7 +6039,7 @@ int lua_cocos2dx_physics_PhysicsWorld_getDebugDrawMask(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDebugDrawMask",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:getDebugDrawMask",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6079,13 +6079,13 @@ int lua_cocos2dx_physics_PhysicsWorld_setDebugDrawMask(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.PhysicsWorld:setDebugDrawMask"); if(!ok) return 0; cobj->setDebugDrawMask(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setDebugDrawMask",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:setDebugDrawMask",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6125,14 +6125,14 @@ int lua_cocos2dx_physics_PhysicsWorld_getBody(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.PhysicsWorld:getBody"); if(!ok) return 0; cocos2d::PhysicsBody* ret = cobj->getBody(arg0); object_to_luaval(tolua_S, "cc.PhysicsBody",(cocos2d::PhysicsBody*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBody",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:getBody",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6172,13 +6172,13 @@ int lua_cocos2dx_physics_PhysicsWorld_setUpdateRate(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.PhysicsWorld:setUpdateRate"); if(!ok) return 0; cobj->setUpdateRate(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setUpdateRate",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:setUpdateRate",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6224,7 +6224,7 @@ int lua_cocos2dx_physics_PhysicsWorld_addJoint(lua_State* tolua_S) cobj->addJoint(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addJoint",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsWorld:addJoint",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6323,7 +6323,7 @@ int lua_cocos2dx_physics_PhysicsContact_getContactData(lua_State* tolua_S) physics_contactdata_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getContactData",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsContact:getContactData",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6367,7 +6367,7 @@ int lua_cocos2dx_physics_PhysicsContact_getEventCode(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getEventCode",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsContact:getEventCode",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6411,7 +6411,7 @@ int lua_cocos2dx_physics_PhysicsContact_getPreContactData(lua_State* tolua_S) physics_contactdata_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPreContactData",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsContact:getPreContactData",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6455,7 +6455,7 @@ int lua_cocos2dx_physics_PhysicsContact_getShapeA(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.PhysicsShape",(cocos2d::PhysicsShape*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getShapeA",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsContact:getShapeA",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6499,7 +6499,7 @@ int lua_cocos2dx_physics_PhysicsContact_getShapeB(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.PhysicsShape",(cocos2d::PhysicsShape*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getShapeB",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsContact:getShapeB",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6567,7 +6567,7 @@ int lua_cocos2dx_physics_PhysicsContactPreSolve_getFriction(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getFriction",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsContactPreSolve:getFriction",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6611,7 +6611,7 @@ int lua_cocos2dx_physics_PhysicsContactPreSolve_getRestitution(lua_State* tolua_ tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getRestitution",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsContactPreSolve:getRestitution",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6651,13 +6651,13 @@ int lua_cocos2dx_physics_PhysicsContactPreSolve_setFriction(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsContactPreSolve:setFriction"); if(!ok) return 0; cobj->setFriction(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setFriction",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsContactPreSolve:setFriction",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6700,7 +6700,7 @@ int lua_cocos2dx_physics_PhysicsContactPreSolve_ignore(lua_State* tolua_S) cobj->ignore(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ignore",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsContactPreSolve:ignore",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6744,7 +6744,7 @@ int lua_cocos2dx_physics_PhysicsContactPreSolve_getSurfaceVelocity(lua_State* to vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getSurfaceVelocity",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsContactPreSolve:getSurfaceVelocity",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6784,13 +6784,13 @@ int lua_cocos2dx_physics_PhysicsContactPreSolve_setSurfaceVelocity(lua_State* to { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsContactPreSolve:setSurfaceVelocity"); if(!ok) return 0; cobj->setSurfaceVelocity(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setSurfaceVelocity",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsContactPreSolve:setSurfaceVelocity",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6830,13 +6830,13 @@ int lua_cocos2dx_physics_PhysicsContactPreSolve_setRestitution(lua_State* tolua_ { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsContactPreSolve:setRestitution"); if(!ok) return 0; cobj->setRestitution(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setRestitution",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsContactPreSolve:setRestitution",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6906,7 +6906,7 @@ int lua_cocos2dx_physics_PhysicsContactPostSolve_getFriction(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getFriction",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsContactPostSolve:getFriction",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6950,7 +6950,7 @@ int lua_cocos2dx_physics_PhysicsContactPostSolve_getSurfaceVelocity(lua_State* t vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getSurfaceVelocity",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsContactPostSolve:getSurfaceVelocity",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6994,7 +6994,7 @@ int lua_cocos2dx_physics_PhysicsContactPostSolve_getRestitution(lua_State* tolua tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getRestitution",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsContactPostSolve:getRestitution",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7049,7 +7049,7 @@ int lua_cocos2dx_physics_EventListenerPhysicsContact_create(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.EventListenerPhysicsContact",(cocos2d::EventListenerPhysicsContact*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.EventListenerPhysicsContact:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -7117,7 +7117,7 @@ int lua_cocos2dx_physics_EventListenerPhysicsContactWithBodies_hitTest(lua_State tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "hitTest",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventListenerPhysicsContactWithBodies:hitTest",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -7154,7 +7154,7 @@ int lua_cocos2dx_physics_EventListenerPhysicsContactWithBodies_create(lua_State* object_to_luaval(tolua_S, "cc.EventListenerPhysicsContactWithBodies",(cocos2d::EventListenerPhysicsContactWithBodies*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.EventListenerPhysicsContactWithBodies:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -7223,7 +7223,7 @@ int lua_cocos2dx_physics_EventListenerPhysicsContactWithShapes_hitTest(lua_State tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "hitTest",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventListenerPhysicsContactWithShapes:hitTest",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -7260,7 +7260,7 @@ int lua_cocos2dx_physics_EventListenerPhysicsContactWithShapes_create(lua_State* object_to_luaval(tolua_S, "cc.EventListenerPhysicsContactWithShapes",(cocos2d::EventListenerPhysicsContactWithShapes*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.EventListenerPhysicsContactWithShapes:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -7329,7 +7329,7 @@ int lua_cocos2dx_physics_EventListenerPhysicsContactWithGroup_hitTest(lua_State* tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "hitTest",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.EventListenerPhysicsContactWithGroup:hitTest",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -7357,14 +7357,14 @@ int lua_cocos2dx_physics_EventListenerPhysicsContactWithGroup_create(lua_State* if (argc == 1) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.EventListenerPhysicsContactWithGroup:create"); if(!ok) return 0; cocos2d::EventListenerPhysicsContactWithGroup* ret = cocos2d::EventListenerPhysicsContactWithGroup::create(arg0); object_to_luaval(tolua_S, "cc.EventListenerPhysicsContactWithGroup",(cocos2d::EventListenerPhysicsContactWithGroup*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.EventListenerPhysicsContactWithGroup:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -7427,7 +7427,7 @@ int lua_cocos2dx_physics_PhysicsJoint_getBodyA(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.PhysicsBody",(cocos2d::PhysicsBody*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBodyA",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJoint:getBodyA",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7471,7 +7471,7 @@ int lua_cocos2dx_physics_PhysicsJoint_getBodyB(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.PhysicsBody",(cocos2d::PhysicsBody*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBodyB",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJoint:getBodyB",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7515,7 +7515,7 @@ int lua_cocos2dx_physics_PhysicsJoint_getMaxForce(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getMaxForce",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJoint:getMaxForce",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7555,13 +7555,13 @@ int lua_cocos2dx_physics_PhysicsJoint_setMaxForce(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsJoint:setMaxForce"); if(!ok) return 0; cobj->setMaxForce(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setMaxForce",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJoint:setMaxForce",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -7605,7 +7605,7 @@ int lua_cocos2dx_physics_PhysicsJoint_isEnabled(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isEnabled",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJoint:isEnabled",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7645,13 +7645,13 @@ int lua_cocos2dx_physics_PhysicsJoint_setEnable(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.PhysicsJoint:setEnable"); if(!ok) return 0; cobj->setEnable(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setEnable",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJoint:setEnable",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -7691,13 +7691,13 @@ int lua_cocos2dx_physics_PhysicsJoint_setCollisionEnable(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "cc.PhysicsJoint:setCollisionEnable"); if(!ok) return 0; cobj->setCollisionEnable(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setCollisionEnable",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJoint:setCollisionEnable",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -7741,7 +7741,7 @@ int lua_cocos2dx_physics_PhysicsJoint_getWorld(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.PhysicsWorld",(cocos2d::PhysicsWorld*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getWorld",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJoint:getWorld",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7781,13 +7781,13 @@ int lua_cocos2dx_physics_PhysicsJoint_setTag(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "cc.PhysicsJoint:setTag"); if(!ok) return 0; cobj->setTag(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTag",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJoint:setTag",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -7830,7 +7830,7 @@ int lua_cocos2dx_physics_PhysicsJoint_removeFormWorld(lua_State* tolua_S) cobj->removeFormWorld(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeFormWorld",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJoint:removeFormWorld",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7874,7 +7874,7 @@ int lua_cocos2dx_physics_PhysicsJoint_isCollisionEnabled(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isCollisionEnabled",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJoint:isCollisionEnabled",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7918,7 +7918,7 @@ int lua_cocos2dx_physics_PhysicsJoint_getTag(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTag",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJoint:getTag",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7952,7 +7952,7 @@ int lua_cocos2dx_physics_PhysicsJoint_destroy(lua_State* tolua_S) cocos2d::PhysicsJoint::destroy(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "destroy",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.PhysicsJoint:destroy",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -8014,14 +8014,14 @@ int lua_cocos2dx_physics_PhysicsJointFixed_construct(lua_State* tolua_S) cocos2d::Vec2 arg2; ok &= luaval_to_object(tolua_S, 2, "cc.PhysicsBody",&arg0); ok &= luaval_to_object(tolua_S, 3, "cc.PhysicsBody",&arg1); - ok &= luaval_to_vec2(tolua_S, 4, &arg2); + ok &= luaval_to_vec2(tolua_S, 4, &arg2, "cc.PhysicsJointFixed:construct"); if(!ok) return 0; cocos2d::PhysicsJointFixed* ret = cocos2d::PhysicsJointFixed::construct(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.PhysicsJointFixed",(cocos2d::PhysicsJointFixed*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "construct",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.PhysicsJointFixed:construct",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -8079,13 +8079,13 @@ int lua_cocos2dx_physics_PhysicsJointLimit_setAnchr2(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsJointLimit:setAnchr2"); if(!ok) return 0; cobj->setAnchr2(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAnchr2",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointLimit:setAnchr2",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8125,13 +8125,13 @@ int lua_cocos2dx_physics_PhysicsJointLimit_setAnchr1(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsJointLimit:setAnchr1"); if(!ok) return 0; cobj->setAnchr1(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAnchr1",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointLimit:setAnchr1",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8171,13 +8171,13 @@ int lua_cocos2dx_physics_PhysicsJointLimit_setMax(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsJointLimit:setMax"); if(!ok) return 0; cobj->setMax(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setMax",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointLimit:setMax",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8221,7 +8221,7 @@ int lua_cocos2dx_physics_PhysicsJointLimit_getAnchr2(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAnchr2",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointLimit:getAnchr2",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8265,7 +8265,7 @@ int lua_cocos2dx_physics_PhysicsJointLimit_getAnchr1(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAnchr1",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointLimit:getAnchr1",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8309,7 +8309,7 @@ int lua_cocos2dx_physics_PhysicsJointLimit_getMin(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getMin",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointLimit:getMin",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8353,7 +8353,7 @@ int lua_cocos2dx_physics_PhysicsJointLimit_getMax(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getMax",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointLimit:getMax",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8393,13 +8393,13 @@ int lua_cocos2dx_physics_PhysicsJointLimit_setMin(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsJointLimit:setMin"); if(!ok) return 0; cobj->setMin(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setMin",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointLimit:setMin",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8434,16 +8434,16 @@ int lua_cocos2dx_physics_PhysicsJointLimit_construct(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 3, "cc.PhysicsBody",&arg1); if (!ok) { break; } cocos2d::Vec2 arg2; - ok &= luaval_to_vec2(tolua_S, 4, &arg2); + ok &= luaval_to_vec2(tolua_S, 4, &arg2, "cc.PhysicsJointLimit:construct"); if (!ok) { break; } cocos2d::Vec2 arg3; - ok &= luaval_to_vec2(tolua_S, 5, &arg3); + ok &= luaval_to_vec2(tolua_S, 5, &arg3, "cc.PhysicsJointLimit:construct"); if (!ok) { break; } double arg4; - ok &= luaval_to_number(tolua_S, 6,&arg4); + ok &= luaval_to_number(tolua_S, 6,&arg4, "cc.PhysicsJointLimit:construct"); if (!ok) { break; } double arg5; - ok &= luaval_to_number(tolua_S, 7,&arg5); + ok &= luaval_to_number(tolua_S, 7,&arg5, "cc.PhysicsJointLimit:construct"); if (!ok) { break; } cocos2d::PhysicsJointLimit* ret = cocos2d::PhysicsJointLimit::construct(arg0, arg1, arg2, arg3, arg4, arg5); object_to_luaval(tolua_S, "cc.PhysicsJointLimit",(cocos2d::PhysicsJointLimit*)ret); @@ -8462,10 +8462,10 @@ int lua_cocos2dx_physics_PhysicsJointLimit_construct(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 3, "cc.PhysicsBody",&arg1); if (!ok) { break; } cocos2d::Vec2 arg2; - ok &= luaval_to_vec2(tolua_S, 4, &arg2); + ok &= luaval_to_vec2(tolua_S, 4, &arg2, "cc.PhysicsJointLimit:construct"); if (!ok) { break; } cocos2d::Vec2 arg3; - ok &= luaval_to_vec2(tolua_S, 5, &arg3); + ok &= luaval_to_vec2(tolua_S, 5, &arg3, "cc.PhysicsJointLimit:construct"); if (!ok) { break; } cocos2d::PhysicsJointLimit* ret = cocos2d::PhysicsJointLimit::construct(arg0, arg1, arg2, arg3); object_to_luaval(tolua_S, "cc.PhysicsJointLimit",(cocos2d::PhysicsJointLimit*)ret); @@ -8473,7 +8473,7 @@ int lua_cocos2dx_physics_PhysicsJointLimit_construct(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "construct",argc, 4); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.PhysicsJointLimit:construct",argc, 4); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -8531,14 +8531,14 @@ int lua_cocos2dx_physics_PhysicsJointPin_construct(lua_State* tolua_S) cocos2d::Vec2 arg2; ok &= luaval_to_object(tolua_S, 2, "cc.PhysicsBody",&arg0); ok &= luaval_to_object(tolua_S, 3, "cc.PhysicsBody",&arg1); - ok &= luaval_to_vec2(tolua_S, 4, &arg2); + ok &= luaval_to_vec2(tolua_S, 4, &arg2, "cc.PhysicsJointPin:construct"); if(!ok) return 0; cocos2d::PhysicsJointPin* ret = cocos2d::PhysicsJointPin::construct(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.PhysicsJointPin",(cocos2d::PhysicsJointPin*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "construct",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.PhysicsJointPin:construct",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -8596,13 +8596,13 @@ int lua_cocos2dx_physics_PhysicsJointDistance_setDistance(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsJointDistance:setDistance"); if(!ok) return 0; cobj->setDistance(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setDistance",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointDistance:setDistance",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8646,7 +8646,7 @@ int lua_cocos2dx_physics_PhysicsJointDistance_getDistance(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDistance",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointDistance:getDistance",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8679,15 +8679,15 @@ int lua_cocos2dx_physics_PhysicsJointDistance_construct(lua_State* tolua_S) cocos2d::Vec2 arg3; ok &= luaval_to_object(tolua_S, 2, "cc.PhysicsBody",&arg0); ok &= luaval_to_object(tolua_S, 3, "cc.PhysicsBody",&arg1); - ok &= luaval_to_vec2(tolua_S, 4, &arg2); - ok &= luaval_to_vec2(tolua_S, 5, &arg3); + ok &= luaval_to_vec2(tolua_S, 4, &arg2, "cc.PhysicsJointDistance:construct"); + ok &= luaval_to_vec2(tolua_S, 5, &arg3, "cc.PhysicsJointDistance:construct"); if(!ok) return 0; cocos2d::PhysicsJointDistance* ret = cocos2d::PhysicsJointDistance::construct(arg0, arg1, arg2, arg3); object_to_luaval(tolua_S, "cc.PhysicsJointDistance",(cocos2d::PhysicsJointDistance*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "construct",argc, 4); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.PhysicsJointDistance:construct",argc, 4); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -8747,13 +8747,13 @@ int lua_cocos2dx_physics_PhysicsJointSpring_setAnchr2(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsJointSpring:setAnchr2"); if(!ok) return 0; cobj->setAnchr2(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAnchr2",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointSpring:setAnchr2",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8793,13 +8793,13 @@ int lua_cocos2dx_physics_PhysicsJointSpring_setAnchr1(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsJointSpring:setAnchr1"); if(!ok) return 0; cobj->setAnchr1(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAnchr1",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointSpring:setAnchr1",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8843,7 +8843,7 @@ int lua_cocos2dx_physics_PhysicsJointSpring_getDamping(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDamping",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointSpring:getDamping",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8883,13 +8883,13 @@ int lua_cocos2dx_physics_PhysicsJointSpring_setStiffness(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsJointSpring:setStiffness"); if(!ok) return 0; cobj->setStiffness(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setStiffness",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointSpring:setStiffness",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8933,7 +8933,7 @@ int lua_cocos2dx_physics_PhysicsJointSpring_getRestLength(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getRestLength",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointSpring:getRestLength",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8977,7 +8977,7 @@ int lua_cocos2dx_physics_PhysicsJointSpring_getAnchr2(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAnchr2",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointSpring:getAnchr2",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9021,7 +9021,7 @@ int lua_cocos2dx_physics_PhysicsJointSpring_getAnchr1(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAnchr1",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointSpring:getAnchr1",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9065,7 +9065,7 @@ int lua_cocos2dx_physics_PhysicsJointSpring_getStiffness(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getStiffness",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointSpring:getStiffness",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9105,13 +9105,13 @@ int lua_cocos2dx_physics_PhysicsJointSpring_setRestLength(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsJointSpring:setRestLength"); if(!ok) return 0; cobj->setRestLength(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setRestLength",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointSpring:setRestLength",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -9151,13 +9151,13 @@ int lua_cocos2dx_physics_PhysicsJointSpring_setDamping(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsJointSpring:setDamping"); if(!ok) return 0; cobj->setDamping(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setDamping",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointSpring:setDamping",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -9192,17 +9192,17 @@ int lua_cocos2dx_physics_PhysicsJointSpring_construct(lua_State* tolua_S) double arg5; ok &= luaval_to_object(tolua_S, 2, "cc.PhysicsBody",&arg0); ok &= luaval_to_object(tolua_S, 3, "cc.PhysicsBody",&arg1); - ok &= luaval_to_vec2(tolua_S, 4, &arg2); - ok &= luaval_to_vec2(tolua_S, 5, &arg3); - ok &= luaval_to_number(tolua_S, 6,&arg4); - ok &= luaval_to_number(tolua_S, 7,&arg5); + ok &= luaval_to_vec2(tolua_S, 4, &arg2, "cc.PhysicsJointSpring:construct"); + ok &= luaval_to_vec2(tolua_S, 5, &arg3, "cc.PhysicsJointSpring:construct"); + ok &= luaval_to_number(tolua_S, 6,&arg4, "cc.PhysicsJointSpring:construct"); + ok &= luaval_to_number(tolua_S, 7,&arg5, "cc.PhysicsJointSpring:construct"); if(!ok) return 0; cocos2d::PhysicsJointSpring* ret = cocos2d::PhysicsJointSpring::construct(arg0, arg1, arg2, arg3, arg4, arg5); object_to_luaval(tolua_S, "cc.PhysicsJointSpring",(cocos2d::PhysicsJointSpring*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "construct",argc, 6); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.PhysicsJointSpring:construct",argc, 6); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -9270,13 +9270,13 @@ int lua_cocos2dx_physics_PhysicsJointGroove_setAnchr2(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsJointGroove:setAnchr2"); if(!ok) return 0; cobj->setAnchr2(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAnchr2",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointGroove:setAnchr2",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -9316,13 +9316,13 @@ int lua_cocos2dx_physics_PhysicsJointGroove_setGrooveA(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsJointGroove:setGrooveA"); if(!ok) return 0; cobj->setGrooveA(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setGrooveA",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointGroove:setGrooveA",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -9362,13 +9362,13 @@ int lua_cocos2dx_physics_PhysicsJointGroove_setGrooveB(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "cc.PhysicsJointGroove:setGrooveB"); if(!ok) return 0; cobj->setGrooveB(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setGrooveB",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointGroove:setGrooveB",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -9412,7 +9412,7 @@ int lua_cocos2dx_physics_PhysicsJointGroove_getGrooveA(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getGrooveA",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointGroove:getGrooveA",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9456,7 +9456,7 @@ int lua_cocos2dx_physics_PhysicsJointGroove_getGrooveB(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getGrooveB",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointGroove:getGrooveB",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9500,7 +9500,7 @@ int lua_cocos2dx_physics_PhysicsJointGroove_getAnchr2(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAnchr2",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointGroove:getAnchr2",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9534,16 +9534,16 @@ int lua_cocos2dx_physics_PhysicsJointGroove_construct(lua_State* tolua_S) cocos2d::Vec2 arg4; ok &= luaval_to_object(tolua_S, 2, "cc.PhysicsBody",&arg0); ok &= luaval_to_object(tolua_S, 3, "cc.PhysicsBody",&arg1); - ok &= luaval_to_vec2(tolua_S, 4, &arg2); - ok &= luaval_to_vec2(tolua_S, 5, &arg3); - ok &= luaval_to_vec2(tolua_S, 6, &arg4); + ok &= luaval_to_vec2(tolua_S, 4, &arg2, "cc.PhysicsJointGroove:construct"); + ok &= luaval_to_vec2(tolua_S, 5, &arg3, "cc.PhysicsJointGroove:construct"); + ok &= luaval_to_vec2(tolua_S, 6, &arg4, "cc.PhysicsJointGroove:construct"); if(!ok) return 0; cocos2d::PhysicsJointGroove* ret = cocos2d::PhysicsJointGroove::construct(arg0, arg1, arg2, arg3, arg4); object_to_luaval(tolua_S, "cc.PhysicsJointGroove",(cocos2d::PhysicsJointGroove*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "construct",argc, 5); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.PhysicsJointGroove:construct",argc, 5); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -9611,7 +9611,7 @@ int lua_cocos2dx_physics_PhysicsJointRotarySpring_getDamping(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDamping",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointRotarySpring:getDamping",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9651,13 +9651,13 @@ int lua_cocos2dx_physics_PhysicsJointRotarySpring_setRestAngle(lua_State* tolua_ { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsJointRotarySpring:setRestAngle"); if(!ok) return 0; cobj->setRestAngle(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setRestAngle",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointRotarySpring:setRestAngle",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -9701,7 +9701,7 @@ int lua_cocos2dx_physics_PhysicsJointRotarySpring_getStiffness(lua_State* tolua_ tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getStiffness",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointRotarySpring:getStiffness",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9741,13 +9741,13 @@ int lua_cocos2dx_physics_PhysicsJointRotarySpring_setStiffness(lua_State* tolua_ { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsJointRotarySpring:setStiffness"); if(!ok) return 0; cobj->setStiffness(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setStiffness",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointRotarySpring:setStiffness",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -9787,13 +9787,13 @@ int lua_cocos2dx_physics_PhysicsJointRotarySpring_setDamping(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsJointRotarySpring:setDamping"); if(!ok) return 0; cobj->setDamping(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setDamping",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointRotarySpring:setDamping",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -9837,7 +9837,7 @@ int lua_cocos2dx_physics_PhysicsJointRotarySpring_getRestAngle(lua_State* tolua_ tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getRestAngle",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointRotarySpring:getRestAngle",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9870,15 +9870,15 @@ int lua_cocos2dx_physics_PhysicsJointRotarySpring_construct(lua_State* tolua_S) double arg3; ok &= luaval_to_object(tolua_S, 2, "cc.PhysicsBody",&arg0); ok &= luaval_to_object(tolua_S, 3, "cc.PhysicsBody",&arg1); - ok &= luaval_to_number(tolua_S, 4,&arg2); - ok &= luaval_to_number(tolua_S, 5,&arg3); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.PhysicsJointRotarySpring:construct"); + ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.PhysicsJointRotarySpring:construct"); if(!ok) return 0; cocos2d::PhysicsJointRotarySpring* ret = cocos2d::PhysicsJointRotarySpring::construct(arg0, arg1, arg2, arg3); object_to_luaval(tolua_S, "cc.PhysicsJointRotarySpring",(cocos2d::PhysicsJointRotarySpring*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "construct",argc, 4); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.PhysicsJointRotarySpring:construct",argc, 4); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -9946,7 +9946,7 @@ int lua_cocos2dx_physics_PhysicsJointRotaryLimit_getMax(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getMax",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointRotaryLimit:getMax",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9986,13 +9986,13 @@ int lua_cocos2dx_physics_PhysicsJointRotaryLimit_setMin(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsJointRotaryLimit:setMin"); if(!ok) return 0; cobj->setMin(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setMin",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointRotaryLimit:setMin",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -10032,13 +10032,13 @@ int lua_cocos2dx_physics_PhysicsJointRotaryLimit_setMax(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsJointRotaryLimit:setMax"); if(!ok) return 0; cobj->setMax(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setMax",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointRotaryLimit:setMax",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -10082,7 +10082,7 @@ int lua_cocos2dx_physics_PhysicsJointRotaryLimit_getMin(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getMin",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointRotaryLimit:getMin",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10133,10 +10133,10 @@ int lua_cocos2dx_physics_PhysicsJointRotaryLimit_construct(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 3, "cc.PhysicsBody",&arg1); if (!ok) { break; } double arg2; - ok &= luaval_to_number(tolua_S, 4,&arg2); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.PhysicsJointRotaryLimit:construct"); if (!ok) { break; } double arg3; - ok &= luaval_to_number(tolua_S, 5,&arg3); + ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.PhysicsJointRotaryLimit:construct"); if (!ok) { break; } cocos2d::PhysicsJointRotaryLimit* ret = cocos2d::PhysicsJointRotaryLimit::construct(arg0, arg1, arg2, arg3); object_to_luaval(tolua_S, "cc.PhysicsJointRotaryLimit",(cocos2d::PhysicsJointRotaryLimit*)ret); @@ -10144,7 +10144,7 @@ int lua_cocos2dx_physics_PhysicsJointRotaryLimit_construct(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "construct",argc, 4); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "cc.PhysicsJointRotaryLimit:construct",argc, 4); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -10210,7 +10210,7 @@ int lua_cocos2dx_physics_PhysicsJointRatchet_getAngle(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAngle",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointRatchet:getAngle",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10250,13 +10250,13 @@ int lua_cocos2dx_physics_PhysicsJointRatchet_setAngle(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsJointRatchet:setAngle"); if(!ok) return 0; cobj->setAngle(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAngle",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointRatchet:setAngle",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -10296,13 +10296,13 @@ int lua_cocos2dx_physics_PhysicsJointRatchet_setPhase(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsJointRatchet:setPhase"); if(!ok) return 0; cobj->setPhase(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setPhase",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointRatchet:setPhase",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -10346,7 +10346,7 @@ int lua_cocos2dx_physics_PhysicsJointRatchet_getPhase(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPhase",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointRatchet:getPhase",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10386,13 +10386,13 @@ int lua_cocos2dx_physics_PhysicsJointRatchet_setRatchet(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsJointRatchet:setRatchet"); if(!ok) return 0; cobj->setRatchet(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setRatchet",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointRatchet:setRatchet",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -10436,7 +10436,7 @@ int lua_cocos2dx_physics_PhysicsJointRatchet_getRatchet(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getRatchet",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointRatchet:getRatchet",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10469,15 +10469,15 @@ int lua_cocos2dx_physics_PhysicsJointRatchet_construct(lua_State* tolua_S) double arg3; ok &= luaval_to_object(tolua_S, 2, "cc.PhysicsBody",&arg0); ok &= luaval_to_object(tolua_S, 3, "cc.PhysicsBody",&arg1); - ok &= luaval_to_number(tolua_S, 4,&arg2); - ok &= luaval_to_number(tolua_S, 5,&arg3); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.PhysicsJointRatchet:construct"); + ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.PhysicsJointRatchet:construct"); if(!ok) return 0; cocos2d::PhysicsJointRatchet* ret = cocos2d::PhysicsJointRatchet::construct(arg0, arg1, arg2, arg3); object_to_luaval(tolua_S, "cc.PhysicsJointRatchet",(cocos2d::PhysicsJointRatchet*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "construct",argc, 4); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.PhysicsJointRatchet:construct",argc, 4); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -10541,13 +10541,13 @@ int lua_cocos2dx_physics_PhysicsJointGear_setRatio(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsJointGear:setRatio"); if(!ok) return 0; cobj->setRatio(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setRatio",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointGear:setRatio",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -10591,7 +10591,7 @@ int lua_cocos2dx_physics_PhysicsJointGear_getPhase(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPhase",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointGear:getPhase",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10631,13 +10631,13 @@ int lua_cocos2dx_physics_PhysicsJointGear_setPhase(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsJointGear:setPhase"); if(!ok) return 0; cobj->setPhase(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setPhase",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointGear:setPhase",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -10681,7 +10681,7 @@ int lua_cocos2dx_physics_PhysicsJointGear_getRatio(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getRatio",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointGear:getRatio",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10714,15 +10714,15 @@ int lua_cocos2dx_physics_PhysicsJointGear_construct(lua_State* tolua_S) double arg3; ok &= luaval_to_object(tolua_S, 2, "cc.PhysicsBody",&arg0); ok &= luaval_to_object(tolua_S, 3, "cc.PhysicsBody",&arg1); - ok &= luaval_to_number(tolua_S, 4,&arg2); - ok &= luaval_to_number(tolua_S, 5,&arg3); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.PhysicsJointGear:construct"); + ok &= luaval_to_number(tolua_S, 5,&arg3, "cc.PhysicsJointGear:construct"); if(!ok) return 0; cocos2d::PhysicsJointGear* ret = cocos2d::PhysicsJointGear::construct(arg0, arg1, arg2, arg3); object_to_luaval(tolua_S, "cc.PhysicsJointGear",(cocos2d::PhysicsJointGear*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "construct",argc, 4); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.PhysicsJointGear:construct",argc, 4); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -10784,13 +10784,13 @@ int lua_cocos2dx_physics_PhysicsJointMotor_setRate(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "cc.PhysicsJointMotor:setRate"); if(!ok) return 0; cobj->setRate(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setRate",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointMotor:setRate",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -10834,7 +10834,7 @@ int lua_cocos2dx_physics_PhysicsJointMotor_getRate(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getRate",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "cc.PhysicsJointMotor:getRate",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10866,14 +10866,14 @@ int lua_cocos2dx_physics_PhysicsJointMotor_construct(lua_State* tolua_S) double arg2; ok &= luaval_to_object(tolua_S, 2, "cc.PhysicsBody",&arg0); ok &= luaval_to_object(tolua_S, 3, "cc.PhysicsBody",&arg1); - ok &= luaval_to_number(tolua_S, 4,&arg2); + ok &= luaval_to_number(tolua_S, 4,&arg2, "cc.PhysicsJointMotor:construct"); if(!ok) return 0; cocos2d::PhysicsJointMotor* ret = cocos2d::PhysicsJointMotor::construct(arg0, arg1, arg2); object_to_luaval(tolua_S, "cc.PhysicsJointMotor",(cocos2d::PhysicsJointMotor*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "construct",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "cc.PhysicsJointMotor:construct",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_spine_auto.cpp b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_spine_auto.cpp index fb68e466e2..e9a0cc19d0 100644 --- a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_spine_auto.cpp +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_spine_auto.cpp @@ -38,7 +38,7 @@ int lua_cocos2dx_spine_Skeleton_setToSetupPose(lua_State* tolua_S) cobj->setToSetupPose(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setToSetupPose",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "sp.Skeleton:setToSetupPose",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -84,7 +84,7 @@ int lua_cocos2dx_spine_Skeleton_setBlendFunc(lua_State* tolua_S) cobj->setBlendFunc(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setBlendFunc",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "sp.Skeleton:setBlendFunc",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -125,15 +125,15 @@ int lua_cocos2dx_spine_Skeleton_onDraw(lua_State* tolua_S) cocos2d::Mat4 arg0; unsigned int arg1; - ok &= luaval_to_mat4(tolua_S, 2, &arg0); + ok &= luaval_to_mat4(tolua_S, 2, &arg0, "sp.Skeleton:onDraw"); - ok &= luaval_to_uint32(tolua_S, 3,&arg1); + ok &= luaval_to_uint32(tolua_S, 3,&arg1, "sp.Skeleton:onDraw"); if(!ok) return 0; cobj->onDraw(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "onDraw",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "sp.Skeleton:onDraw",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -176,7 +176,7 @@ int lua_cocos2dx_spine_Skeleton_setSlotsToSetupPose(lua_State* tolua_S) cobj->setSlotsToSetupPose(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setSlotsToSetupPose",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "sp.Skeleton:setSlotsToSetupPose",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -220,7 +220,7 @@ int lua_cocos2dx_spine_Skeleton_getBlendFunc(lua_State* tolua_S) blendfunc_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBlendFunc",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "sp.Skeleton:getBlendFunc",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -260,14 +260,14 @@ int lua_cocos2dx_spine_Skeleton_setSkin(lua_State* tolua_S) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "sp.Skeleton:setSkin"); arg0 = arg0_tmp.c_str(); if(!ok) return 0; bool ret = cobj->setSkin(arg0); tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setSkin",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "sp.Skeleton:setSkin",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -310,7 +310,7 @@ int lua_cocos2dx_spine_Skeleton_setBonesToSetupPose(lua_State* tolua_S) cobj->setBonesToSetupPose(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setBonesToSetupPose",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "sp.Skeleton:setBonesToSetupPose",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -378,17 +378,17 @@ int lua_cocos2dx_spine_SkeletonAnimation_setMix(lua_State* tolua_S) const char* arg1; double arg2; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "sp.SkeletonAnimation:setMix"); arg0 = arg0_tmp.c_str(); - std::string arg1_tmp; ok &= luaval_to_std_string(tolua_S, 3, &arg1_tmp); arg1 = arg1_tmp.c_str(); + std::string arg1_tmp; ok &= luaval_to_std_string(tolua_S, 3, &arg1_tmp, "sp.SkeletonAnimation:setMix"); arg1 = arg1_tmp.c_str(); - ok &= luaval_to_number(tolua_S, 4,&arg2); + ok &= luaval_to_number(tolua_S, 4,&arg2, "sp.SkeletonAnimation:setMix"); if(!ok) return 0; cobj->setMix(arg0, arg1, arg2); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setMix",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "sp.SkeletonAnimation:setMix",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 @@ -431,7 +431,7 @@ int lua_cocos2dx_spine_SkeletonAnimation_clearTracks(lua_State* tolua_S) cobj->clearTracks(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "clearTracks",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "sp.SkeletonAnimation:clearTracks",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -478,13 +478,13 @@ int lua_cocos2dx_spine_SkeletonAnimation_clearTrack(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "sp.SkeletonAnimation:clearTrack"); if(!ok) return 0; cobj->clearTrack(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "clearTrack",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "sp.SkeletonAnimation:clearTrack",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_studio_auto.cpp b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_studio_auto.cpp index b4352556a9..37d5766763 100644 --- a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_studio_auto.cpp +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_studio_auto.cpp @@ -29,7 +29,7 @@ int lua_cocos2dx_studio_ActionFrame_getAction(lua_State* tolua_S) do{ if (argc == 2) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccs.ActionFrame:getAction"); if (!ok) { break; } cocostudio::ActionFrame* arg1; @@ -45,7 +45,7 @@ int lua_cocos2dx_studio_ActionFrame_getAction(lua_State* tolua_S) do{ if (argc == 1) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccs.ActionFrame:getAction"); if (!ok) { break; } cocos2d::ActionInterval* ret = cobj->getAction(arg0); @@ -54,7 +54,7 @@ int lua_cocos2dx_studio_ActionFrame_getAction(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAction",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionFrame:getAction",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -98,7 +98,7 @@ int lua_cocos2dx_studio_ActionFrame_getFrameType(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getFrameType",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionFrame:getFrameType",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -138,13 +138,13 @@ int lua_cocos2dx_studio_ActionFrame_setFrameTime(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccs.ActionFrame:setFrameTime"); if(!ok) return 0; cobj->setFrameTime(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setFrameTime",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionFrame:setFrameTime",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -184,13 +184,13 @@ int lua_cocos2dx_studio_ActionFrame_setEasingType(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccs.ActionFrame:setEasingType"); if(!ok) return 0; cobj->setEasingType(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setEasingType",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionFrame:setEasingType",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -234,7 +234,7 @@ int lua_cocos2dx_studio_ActionFrame_getFrameTime(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getFrameTime",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionFrame:getFrameTime",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -278,7 +278,7 @@ int lua_cocos2dx_studio_ActionFrame_getFrameIndex(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getFrameIndex",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionFrame:getFrameIndex",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -318,13 +318,13 @@ int lua_cocos2dx_studio_ActionFrame_setFrameType(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccs.ActionFrame:setFrameType"); if(!ok) return 0; cobj->setFrameType(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setFrameType",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionFrame:setFrameType",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -364,13 +364,13 @@ int lua_cocos2dx_studio_ActionFrame_setFrameIndex(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccs.ActionFrame:setFrameIndex"); if(!ok) return 0; cobj->setFrameIndex(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setFrameIndex",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionFrame:setFrameIndex",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -410,13 +410,13 @@ int lua_cocos2dx_studio_ActionFrame_setEasingParameter(lua_State* tolua_S) { std::vector > arg0; - ok &= luaval_to_std_vector_float(tolua_S, 2, &arg0); + ok &= luaval_to_std_vector_float(tolua_S, 2, &arg0, "ccs.ActionFrame:setEasingParameter"); if(!ok) return 0; cobj->setEasingParameter(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setEasingParameter",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionFrame:setEasingParameter",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -460,7 +460,7 @@ int lua_cocos2dx_studio_ActionFrame_getEasingType(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getEasingType",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionFrame:getEasingType",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -494,7 +494,7 @@ int lua_cocos2dx_studio_ActionFrame_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.ActionFrame"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ActionFrame",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionFrame:ActionFrame",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -564,13 +564,13 @@ int lua_cocos2dx_studio_ActionMoveFrame_setPosition(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "ccs.ActionMoveFrame:setPosition"); if(!ok) return 0; cobj->setPosition(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setPosition",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionMoveFrame:setPosition",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -610,14 +610,14 @@ int lua_cocos2dx_studio_ActionMoveFrame_getAction(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccs.ActionMoveFrame:getAction"); if(!ok) return 0; cocos2d::ActionInterval* ret = cobj->getAction(arg0); object_to_luaval(tolua_S, "cc.ActionInterval",(cocos2d::ActionInterval*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAction",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionMoveFrame:getAction",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -661,7 +661,7 @@ int lua_cocos2dx_studio_ActionMoveFrame_getPosition(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPosition",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionMoveFrame:getPosition",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -695,7 +695,7 @@ int lua_cocos2dx_studio_ActionMoveFrame_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.ActionMoveFrame"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ActionMoveFrame",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionMoveFrame:ActionMoveFrame",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -758,13 +758,13 @@ int lua_cocos2dx_studio_ActionScaleFrame_setScaleY(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccs.ActionScaleFrame:setScaleY"); if(!ok) return 0; cobj->setScaleY(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setScaleY",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionScaleFrame:setScaleY",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -804,13 +804,13 @@ int lua_cocos2dx_studio_ActionScaleFrame_setScaleX(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccs.ActionScaleFrame:setScaleX"); if(!ok) return 0; cobj->setScaleX(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setScaleX",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionScaleFrame:setScaleX",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -854,7 +854,7 @@ int lua_cocos2dx_studio_ActionScaleFrame_getScaleY(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getScaleY",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionScaleFrame:getScaleY",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -898,7 +898,7 @@ int lua_cocos2dx_studio_ActionScaleFrame_getScaleX(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getScaleX",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionScaleFrame:getScaleX",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -938,14 +938,14 @@ int lua_cocos2dx_studio_ActionScaleFrame_getAction(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccs.ActionScaleFrame:getAction"); if(!ok) return 0; cocos2d::ActionInterval* ret = cobj->getAction(arg0); object_to_luaval(tolua_S, "cc.ActionInterval",(cocos2d::ActionInterval*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAction",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionScaleFrame:getAction",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -979,7 +979,7 @@ int lua_cocos2dx_studio_ActionScaleFrame_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.ActionScaleFrame"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ActionScaleFrame",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionScaleFrame:ActionScaleFrame",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1044,13 +1044,13 @@ int lua_cocos2dx_studio_ActionRotationFrame_setRotation(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccs.ActionRotationFrame:setRotation"); if(!ok) return 0; cobj->setRotation(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setRotation",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionRotationFrame:setRotation",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1084,7 +1084,7 @@ int lua_cocos2dx_studio_ActionRotationFrame_getAction(lua_State* tolua_S) do{ if (argc == 2) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccs.ActionRotationFrame:getAction"); if (!ok) { break; } cocostudio::ActionFrame* arg1; @@ -1100,7 +1100,7 @@ int lua_cocos2dx_studio_ActionRotationFrame_getAction(lua_State* tolua_S) do{ if (argc == 1) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccs.ActionRotationFrame:getAction"); if (!ok) { break; } cocos2d::ActionInterval* ret = cobj->getAction(arg0); @@ -1109,7 +1109,7 @@ int lua_cocos2dx_studio_ActionRotationFrame_getAction(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAction",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionRotationFrame:getAction",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1153,7 +1153,7 @@ int lua_cocos2dx_studio_ActionRotationFrame_getRotation(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getRotation",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionRotationFrame:getRotation",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1187,7 +1187,7 @@ int lua_cocos2dx_studio_ActionRotationFrame_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.ActionRotationFrame"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ActionRotationFrame",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionRotationFrame:ActionRotationFrame",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1254,7 +1254,7 @@ int lua_cocos2dx_studio_ActionFadeFrame_getOpacity(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getOpacity",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionFadeFrame:getOpacity",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1294,14 +1294,14 @@ int lua_cocos2dx_studio_ActionFadeFrame_getAction(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccs.ActionFadeFrame:getAction"); if(!ok) return 0; cocos2d::ActionInterval* ret = cobj->getAction(arg0); object_to_luaval(tolua_S, "cc.ActionInterval",(cocos2d::ActionInterval*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAction",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionFadeFrame:getAction",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1341,13 +1341,13 @@ int lua_cocos2dx_studio_ActionFadeFrame_setOpacity(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccs.ActionFadeFrame:setOpacity"); if(!ok) return 0; cobj->setOpacity(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setOpacity",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionFadeFrame:setOpacity",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1381,7 +1381,7 @@ int lua_cocos2dx_studio_ActionFadeFrame_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.ActionFadeFrame"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ActionFadeFrame",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionFadeFrame:ActionFadeFrame",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1448,7 +1448,7 @@ int lua_cocos2dx_studio_ActionTintFrame_getColor(lua_State* tolua_S) color3b_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getColor",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionTintFrame:getColor",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1488,14 +1488,14 @@ int lua_cocos2dx_studio_ActionTintFrame_getAction(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccs.ActionTintFrame:getAction"); if(!ok) return 0; cocos2d::ActionInterval* ret = cobj->getAction(arg0); object_to_luaval(tolua_S, "cc.ActionInterval",(cocos2d::ActionInterval*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAction",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionTintFrame:getAction",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1535,13 +1535,13 @@ int lua_cocos2dx_studio_ActionTintFrame_setColor(lua_State* tolua_S) { cocos2d::Color3B arg0; - ok &= luaval_to_color3b(tolua_S, 2, &arg0); + ok &= luaval_to_color3b(tolua_S, 2, &arg0, "ccs.ActionTintFrame:setColor"); if(!ok) return 0; cobj->setColor(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setColor",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionTintFrame:setColor",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1575,7 +1575,7 @@ int lua_cocos2dx_studio_ActionTintFrame_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.ActionTintFrame"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ActionTintFrame",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionTintFrame:ActionTintFrame",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1638,13 +1638,13 @@ int lua_cocos2dx_studio_ActionObject_setCurrentTime(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccs.ActionObject:setCurrentTime"); if(!ok) return 0; cobj->setCurrentTime(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setCurrentTime",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionObject:setCurrentTime",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1687,7 +1687,7 @@ int lua_cocos2dx_studio_ActionObject_pause(lua_State* tolua_S) cobj->pause(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "pause",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionObject:pause",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1727,13 +1727,13 @@ int lua_cocos2dx_studio_ActionObject_setName(lua_State* tolua_S) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "ccs.ActionObject:setName"); arg0 = arg0_tmp.c_str(); if(!ok) return 0; cobj->setName(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setName",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionObject:setName",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1773,13 +1773,13 @@ int lua_cocos2dx_studio_ActionObject_setUnitTime(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccs.ActionObject:setUnitTime"); if(!ok) return 0; cobj->setUnitTime(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setUnitTime",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionObject:setUnitTime",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1823,7 +1823,7 @@ int lua_cocos2dx_studio_ActionObject_getTotalTime(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTotalTime",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionObject:getTotalTime",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1867,7 +1867,7 @@ int lua_cocos2dx_studio_ActionObject_getName(lua_State* tolua_S) tolua_pushstring(tolua_S,(const char*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getName",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionObject:getName",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1910,7 +1910,7 @@ int lua_cocos2dx_studio_ActionObject_stop(lua_State* tolua_S) cobj->stop(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "stop",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionObject:stop",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1959,7 +1959,7 @@ int lua_cocos2dx_studio_ActionObject_play(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "play",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionObject:play",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2003,7 +2003,7 @@ int lua_cocos2dx_studio_ActionObject_getCurrentTime(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getCurrentTime",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionObject:getCurrentTime",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2049,7 +2049,7 @@ int lua_cocos2dx_studio_ActionObject_removeActionNode(lua_State* tolua_S) cobj->removeActionNode(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeActionNode",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionObject:removeActionNode",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -2093,7 +2093,7 @@ int lua_cocos2dx_studio_ActionObject_getLoop(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getLoop",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionObject:getLoop",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2139,7 +2139,7 @@ int lua_cocos2dx_studio_ActionObject_addActionNode(lua_State* tolua_S) cobj->addActionNode(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addActionNode",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionObject:addActionNode",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -2183,7 +2183,7 @@ int lua_cocos2dx_studio_ActionObject_getUnitTime(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getUnitTime",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionObject:getUnitTime",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2227,7 +2227,7 @@ int lua_cocos2dx_studio_ActionObject_isPlaying(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isPlaying",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionObject:isPlaying",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2267,13 +2267,13 @@ int lua_cocos2dx_studio_ActionObject_updateToFrameByTime(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccs.ActionObject:updateToFrameByTime"); if(!ok) return 0; cobj->updateToFrameByTime(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "updateToFrameByTime",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionObject:updateToFrameByTime",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -2313,13 +2313,13 @@ int lua_cocos2dx_studio_ActionObject_setLoop(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccs.ActionObject:setLoop"); if(!ok) return 0; cobj->setLoop(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setLoop",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionObject:setLoop",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -2359,13 +2359,13 @@ int lua_cocos2dx_studio_ActionObject_simulationActionUpdate(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccs.ActionObject:simulationActionUpdate"); if(!ok) return 0; cobj->simulationActionUpdate(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "simulationActionUpdate",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionObject:simulationActionUpdate",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -2399,7 +2399,7 @@ int lua_cocos2dx_studio_ActionObject_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.ActionObject"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ActionObject",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionObject:ActionObject",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2470,11 +2470,11 @@ int lua_cocos2dx_studio_ActionManagerEx_playActionByName(lua_State* tolua_S) do{ if (argc == 3) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "ccs.ActionManagerEx:playActionByName"); arg0 = arg0_tmp.c_str(); if (!ok) { break; } const char* arg1; - std::string arg1_tmp; ok &= luaval_to_std_string(tolua_S, 3, &arg1_tmp); arg1 = arg1_tmp.c_str(); + std::string arg1_tmp; ok &= luaval_to_std_string(tolua_S, 3, &arg1_tmp, "ccs.ActionManagerEx:playActionByName"); arg1 = arg1_tmp.c_str(); if (!ok) { break; } cocos2d::CallFunc* arg2; @@ -2490,11 +2490,11 @@ int lua_cocos2dx_studio_ActionManagerEx_playActionByName(lua_State* tolua_S) do{ if (argc == 2) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "ccs.ActionManagerEx:playActionByName"); arg0 = arg0_tmp.c_str(); if (!ok) { break; } const char* arg1; - std::string arg1_tmp; ok &= luaval_to_std_string(tolua_S, 3, &arg1_tmp); arg1 = arg1_tmp.c_str(); + std::string arg1_tmp; ok &= luaval_to_std_string(tolua_S, 3, &arg1_tmp, "ccs.ActionManagerEx:playActionByName"); arg1 = arg1_tmp.c_str(); if (!ok) { break; } cocostudio::ActionObject* ret = cobj->playActionByName(arg0, arg1); @@ -2503,7 +2503,7 @@ int lua_cocos2dx_studio_ActionManagerEx_playActionByName(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "playActionByName",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionManagerEx:playActionByName",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -2544,16 +2544,16 @@ int lua_cocos2dx_studio_ActionManagerEx_getActionByName(lua_State* tolua_S) const char* arg0; const char* arg1; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "ccs.ActionManagerEx:getActionByName"); arg0 = arg0_tmp.c_str(); - std::string arg1_tmp; ok &= luaval_to_std_string(tolua_S, 3, &arg1_tmp); arg1 = arg1_tmp.c_str(); + std::string arg1_tmp; ok &= luaval_to_std_string(tolua_S, 3, &arg1_tmp, "ccs.ActionManagerEx:getActionByName"); arg1 = arg1_tmp.c_str(); if(!ok) return 0; cocostudio::ActionObject* ret = cobj->getActionByName(arg0, arg1); object_to_luaval(tolua_S, "ccs.ActionObject",(cocostudio::ActionObject*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getActionByName",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionManagerEx:getActionByName",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -2596,7 +2596,7 @@ int lua_cocos2dx_studio_ActionManagerEx_releaseActions(lua_State* tolua_S) cobj->releaseActions(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "releaseActions",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionManagerEx:releaseActions",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2628,7 +2628,7 @@ int lua_cocos2dx_studio_ActionManagerEx_destroyInstance(lua_State* tolua_S) cocostudio::ActionManagerEx::destroyInstance(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "destroyInstance",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.ActionManagerEx:destroyInstance",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -2659,7 +2659,7 @@ int lua_cocos2dx_studio_ActionManagerEx_getInstance(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.ActionManagerEx",(cocostudio::ActionManagerEx*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "getInstance",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.ActionManagerEx:getInstance",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -2725,7 +2725,7 @@ int lua_cocos2dx_studio_BaseData_getColor(lua_State* tolua_S) color4b_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getColor",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.BaseData:getColor",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2765,13 +2765,13 @@ int lua_cocos2dx_studio_BaseData_setColor(lua_State* tolua_S) { cocos2d::Color4B arg0; - ok &=luaval_to_color4b(tolua_S, 2, &arg0); + ok &=luaval_to_color4b(tolua_S, 2, &arg0, "ccs.BaseData:setColor"); if(!ok) return 0; cobj->setColor(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setColor",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.BaseData:setColor",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -2804,7 +2804,7 @@ int lua_cocos2dx_studio_BaseData_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.BaseData",(cocostudio::BaseData*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.BaseData:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -2836,7 +2836,7 @@ int lua_cocos2dx_studio_BaseData_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.BaseData"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "BaseData",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.BaseData:BaseData",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2905,7 +2905,7 @@ int lua_cocos2dx_studio_DisplayData_copy(lua_State* tolua_S) cobj->copy(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "copy",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.DisplayData:copy",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -2933,14 +2933,14 @@ int lua_cocos2dx_studio_DisplayData_changeDisplayToTexture(lua_State* tolua_S) if (argc == 1) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.DisplayData:changeDisplayToTexture"); if(!ok) return 0; const std::string ret = cocostudio::DisplayData::changeDisplayToTexture(arg0); tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "changeDisplayToTexture",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.DisplayData:changeDisplayToTexture",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -2971,7 +2971,7 @@ int lua_cocos2dx_studio_DisplayData_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.DisplayData",(cocostudio::DisplayData*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.DisplayData:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -3003,7 +3003,7 @@ int lua_cocos2dx_studio_DisplayData_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.DisplayData"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "DisplayData",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.DisplayData:DisplayData",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3072,7 +3072,7 @@ int lua_cocos2dx_studio_SpriteDisplayData_copy(lua_State* tolua_S) cobj->copy(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "copy",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.SpriteDisplayData:copy",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -3105,7 +3105,7 @@ int lua_cocos2dx_studio_SpriteDisplayData_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.SpriteDisplayData",(cocostudio::SpriteDisplayData*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.SpriteDisplayData:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -3137,7 +3137,7 @@ int lua_cocos2dx_studio_SpriteDisplayData_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.SpriteDisplayData"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "SpriteDisplayData",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.SpriteDisplayData:SpriteDisplayData",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3192,7 +3192,7 @@ int lua_cocos2dx_studio_ArmatureDisplayData_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.ArmatureDisplayData",(cocostudio::ArmatureDisplayData*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.ArmatureDisplayData:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -3224,7 +3224,7 @@ int lua_cocos2dx_studio_ArmatureDisplayData_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.ArmatureDisplayData"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ArmatureDisplayData",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ArmatureDisplayData:ArmatureDisplayData",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3278,7 +3278,7 @@ int lua_cocos2dx_studio_ParticleDisplayData_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.ParticleDisplayData",(cocostudio::ParticleDisplayData*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.ParticleDisplayData:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -3310,7 +3310,7 @@ int lua_cocos2dx_studio_ParticleDisplayData_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.ParticleDisplayData"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ParticleDisplayData",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ParticleDisplayData:ParticleDisplayData",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3371,14 +3371,14 @@ int lua_cocos2dx_studio_BoneData_getDisplayData(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccs.BoneData:getDisplayData"); if(!ok) return 0; cocostudio::DisplayData* ret = cobj->getDisplayData(arg0); object_to_luaval(tolua_S, "ccs.DisplayData",(cocostudio::DisplayData*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDisplayData",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.BoneData:getDisplayData",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -3422,7 +3422,7 @@ int lua_cocos2dx_studio_BoneData_init(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "init",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.BoneData:init",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3468,7 +3468,7 @@ int lua_cocos2dx_studio_BoneData_addDisplayData(lua_State* tolua_S) cobj->addDisplayData(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addDisplayData",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.BoneData:addDisplayData",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -3501,7 +3501,7 @@ int lua_cocos2dx_studio_BoneData_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.BoneData",(cocostudio::BoneData*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.BoneData:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -3533,7 +3533,7 @@ int lua_cocos2dx_studio_BoneData_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.BoneData"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "BoneData",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.BoneData:BoneData",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3603,7 +3603,7 @@ int lua_cocos2dx_studio_ArmatureData_addBoneData(lua_State* tolua_S) cobj->addBoneData(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addBoneData",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ArmatureData:addBoneData",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -3647,7 +3647,7 @@ int lua_cocos2dx_studio_ArmatureData_init(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "init",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ArmatureData:init",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3687,14 +3687,14 @@ int lua_cocos2dx_studio_ArmatureData_getBoneData(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.ArmatureData:getBoneData"); if(!ok) return 0; cocostudio::BoneData* ret = cobj->getBoneData(arg0); object_to_luaval(tolua_S, "ccs.BoneData",(cocostudio::BoneData*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBoneData",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ArmatureData:getBoneData",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -3727,7 +3727,7 @@ int lua_cocos2dx_studio_ArmatureData_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.ArmatureData",(cocostudio::ArmatureData*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.ArmatureData:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -3759,7 +3759,7 @@ int lua_cocos2dx_studio_ArmatureData_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.ArmatureData"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ArmatureData",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ArmatureData:ArmatureData",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3829,7 +3829,7 @@ int lua_cocos2dx_studio_FrameData_copy(lua_State* tolua_S) cobj->copy(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "copy",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.FrameData:copy",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -3862,7 +3862,7 @@ int lua_cocos2dx_studio_FrameData_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.FrameData",(cocostudio::FrameData*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.FrameData:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -3894,7 +3894,7 @@ int lua_cocos2dx_studio_FrameData_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.FrameData"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "FrameData",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.FrameData:FrameData",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3960,7 +3960,7 @@ int lua_cocos2dx_studio_MovementBoneData_init(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "init",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.MovementBoneData:init",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4000,14 +4000,14 @@ int lua_cocos2dx_studio_MovementBoneData_getFrameData(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccs.MovementBoneData:getFrameData"); if(!ok) return 0; cocostudio::FrameData* ret = cobj->getFrameData(arg0); object_to_luaval(tolua_S, "ccs.FrameData",(cocostudio::FrameData*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getFrameData",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.MovementBoneData:getFrameData",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4053,7 +4053,7 @@ int lua_cocos2dx_studio_MovementBoneData_addFrameData(lua_State* tolua_S) cobj->addFrameData(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addFrameData",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.MovementBoneData:addFrameData",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4086,7 +4086,7 @@ int lua_cocos2dx_studio_MovementBoneData_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.MovementBoneData",(cocostudio::MovementBoneData*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.MovementBoneData:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -4118,7 +4118,7 @@ int lua_cocos2dx_studio_MovementBoneData_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.MovementBoneData"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "MovementBoneData",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.MovementBoneData:MovementBoneData",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4182,14 +4182,14 @@ int lua_cocos2dx_studio_MovementData_getMovementBoneData(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.MovementData:getMovementBoneData"); if(!ok) return 0; cocostudio::MovementBoneData* ret = cobj->getMovementBoneData(arg0); object_to_luaval(tolua_S, "ccs.MovementBoneData",(cocostudio::MovementBoneData*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getMovementBoneData",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.MovementData:getMovementBoneData",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4235,7 +4235,7 @@ int lua_cocos2dx_studio_MovementData_addMovementBoneData(lua_State* tolua_S) cobj->addMovementBoneData(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addMovementBoneData",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.MovementData:addMovementBoneData",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4268,7 +4268,7 @@ int lua_cocos2dx_studio_MovementData_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.MovementData",(cocostudio::MovementData*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.MovementData:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -4300,7 +4300,7 @@ int lua_cocos2dx_studio_MovementData_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.MovementData"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "MovementData",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.MovementData:MovementData",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4363,14 +4363,14 @@ int lua_cocos2dx_studio_AnimationData_getMovement(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.AnimationData:getMovement"); if(!ok) return 0; cocostudio::MovementData* ret = cobj->getMovement(arg0); object_to_luaval(tolua_S, "ccs.MovementData",(cocostudio::MovementData*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getMovement",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.AnimationData:getMovement",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4414,7 +4414,7 @@ int lua_cocos2dx_studio_AnimationData_getMovementCount(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getMovementCount",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.AnimationData:getMovementCount",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4460,7 +4460,7 @@ int lua_cocos2dx_studio_AnimationData_addMovement(lua_State* tolua_S) cobj->addMovement(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addMovement",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.AnimationData:addMovement",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4493,7 +4493,7 @@ int lua_cocos2dx_studio_AnimationData_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.AnimationData",(cocostudio::AnimationData*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.AnimationData:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -4525,7 +4525,7 @@ int lua_cocos2dx_studio_AnimationData_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.AnimationData"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "AnimationData",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.AnimationData:AnimationData",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4593,7 +4593,7 @@ int lua_cocos2dx_studio_ContourData_init(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "init",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ContourData:init",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4633,13 +4633,13 @@ int lua_cocos2dx_studio_ContourData_addVertex(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "ccs.ContourData:addVertex"); if(!ok) return 0; cobj->addVertex(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addVertex",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ContourData:addVertex",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4672,7 +4672,7 @@ int lua_cocos2dx_studio_ContourData_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.ContourData",(cocostudio::ContourData*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.ContourData:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -4704,7 +4704,7 @@ int lua_cocos2dx_studio_ContourData_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.ContourData"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ContourData",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ContourData:ContourData",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4767,14 +4767,14 @@ int lua_cocos2dx_studio_TextureData_getContourData(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccs.TextureData:getContourData"); if(!ok) return 0; cocostudio::ContourData* ret = cobj->getContourData(arg0); object_to_luaval(tolua_S, "ccs.ContourData",(cocostudio::ContourData*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getContourData",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.TextureData:getContourData",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4818,7 +4818,7 @@ int lua_cocos2dx_studio_TextureData_init(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "init",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.TextureData:init",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4864,7 +4864,7 @@ int lua_cocos2dx_studio_TextureData_addContourData(lua_State* tolua_S) cobj->addContourData(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addContourData",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.TextureData:addContourData",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4897,7 +4897,7 @@ int lua_cocos2dx_studio_TextureData_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.TextureData",(cocostudio::TextureData*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.TextureData:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -4929,7 +4929,7 @@ int lua_cocos2dx_studio_TextureData_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.TextureData"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "TextureData",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.TextureData:TextureData",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4997,7 +4997,7 @@ int lua_cocos2dx_studio_Tween_getAnimation(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.ArmatureAnimation",(cocostudio::ArmatureAnimation*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAnimation",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Tween:getAnimation",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5037,13 +5037,13 @@ int lua_cocos2dx_studio_Tween_gotoAndPause(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccs.Tween:gotoAndPause"); if(!ok) return 0; cobj->gotoAndPause(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "gotoAndPause",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Tween:gotoAndPause",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5089,19 +5089,19 @@ int lua_cocos2dx_studio_Tween_play(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 2, "ccs.MovementBoneData",&arg0); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccs.Tween:play"); - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "ccs.Tween:play"); - ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3); + ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3, "ccs.Tween:play"); - ok &= luaval_to_int32(tolua_S, 6,(int *)&arg4); + ok &= luaval_to_int32(tolua_S, 6,(int *)&arg4, "ccs.Tween:play"); if(!ok) return 0; cobj->play(arg0, arg1, arg2, arg3, arg4); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "play",argc, 5); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Tween:play",argc, 5); return 0; #if COCOS2D_DEBUG >= 1 @@ -5141,13 +5141,13 @@ int lua_cocos2dx_studio_Tween_gotoAndPlay(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccs.Tween:gotoAndPlay"); if(!ok) return 0; cobj->gotoAndPlay(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "gotoAndPlay",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Tween:gotoAndPlay",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5194,7 +5194,7 @@ int lua_cocos2dx_studio_Tween_init(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "init",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Tween:init",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5240,7 +5240,7 @@ int lua_cocos2dx_studio_Tween_setAnimation(lua_State* tolua_S) cobj->setAnimation(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAnimation",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Tween:setAnimation",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5275,7 +5275,7 @@ int lua_cocos2dx_studio_Tween_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.Tween",(cocostudio::Tween*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.Tween:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -5307,7 +5307,7 @@ int lua_cocos2dx_studio_Tween_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.Tween"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "Tween",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Tween:Tween",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5378,7 +5378,7 @@ int lua_cocos2dx_studio_DisplayManager_getDisplayRenderNode(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Node",(cocos2d::Node*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDisplayRenderNode",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.DisplayManager:getDisplayRenderNode",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5422,7 +5422,7 @@ int lua_cocos2dx_studio_DisplayManager_getAnchorPointInPoints(lua_State* tolua_S vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAnchorPointInPoints",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.DisplayManager:getAnchorPointInPoints",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5466,7 +5466,7 @@ int lua_cocos2dx_studio_DisplayManager_getDisplayRenderNodeType(lua_State* tolua tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDisplayRenderNodeType",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.DisplayManager:getDisplayRenderNodeType",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5506,13 +5506,13 @@ int lua_cocos2dx_studio_DisplayManager_removeDisplay(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccs.DisplayManager:removeDisplay"); if(!ok) return 0; cobj->removeDisplay(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeDisplay",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.DisplayManager:removeDisplay",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5552,13 +5552,13 @@ int lua_cocos2dx_studio_DisplayManager_setForceChangeDisplay(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccs.DisplayManager:setForceChangeDisplay"); if(!ok) return 0; cobj->setForceChangeDisplay(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setForceChangeDisplay",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.DisplayManager:setForceChangeDisplay",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5605,7 +5605,7 @@ int lua_cocos2dx_studio_DisplayManager_init(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "init",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.DisplayManager:init",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5649,7 +5649,7 @@ int lua_cocos2dx_studio_DisplayManager_getContentSize(lua_State* tolua_S) size_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getContentSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.DisplayManager:getContentSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5693,7 +5693,7 @@ int lua_cocos2dx_studio_DisplayManager_getBoundingBox(lua_State* tolua_S) rect_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBoundingBox",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.DisplayManager:getBoundingBox",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5731,7 +5731,7 @@ int lua_cocos2dx_studio_DisplayManager_addDisplay(lua_State* tolua_S) if (!ok) { break; } int arg1; - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccs.DisplayManager:addDisplay"); if (!ok) { break; } cobj->addDisplay(arg0, arg1); @@ -5746,7 +5746,7 @@ int lua_cocos2dx_studio_DisplayManager_addDisplay(lua_State* tolua_S) if (!ok) { break; } int arg1; - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccs.DisplayManager:addDisplay"); if (!ok) { break; } cobj->addDisplay(arg0, arg1); @@ -5754,7 +5754,7 @@ int lua_cocos2dx_studio_DisplayManager_addDisplay(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addDisplay",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.DisplayManager:addDisplay",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -5788,11 +5788,11 @@ int lua_cocos2dx_studio_DisplayManager_containPoint(lua_State* tolua_S) do{ if (argc == 2) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccs.DisplayManager:containPoint"); if (!ok) { break; } double arg1; - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "ccs.DisplayManager:containPoint"); if (!ok) { break; } bool ret = cobj->containPoint(arg0, arg1); @@ -5804,7 +5804,7 @@ int lua_cocos2dx_studio_DisplayManager_containPoint(lua_State* tolua_S) do{ if (argc == 1) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "ccs.DisplayManager:containPoint"); if (!ok) { break; } bool ret = cobj->containPoint(arg0); @@ -5813,7 +5813,7 @@ int lua_cocos2dx_studio_DisplayManager_containPoint(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "containPoint",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.DisplayManager:containPoint",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5854,15 +5854,15 @@ int lua_cocos2dx_studio_DisplayManager_changeDisplayWithIndex(lua_State* tolua_S int arg0; bool arg1; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccs.DisplayManager:changeDisplayWithIndex"); - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "ccs.DisplayManager:changeDisplayWithIndex"); if(!ok) return 0; cobj->changeDisplayWithIndex(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "changeDisplayWithIndex",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.DisplayManager:changeDisplayWithIndex",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -5903,15 +5903,15 @@ int lua_cocos2dx_studio_DisplayManager_changeDisplayWithName(lua_State* tolua_S) std::string arg0; bool arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.DisplayManager:changeDisplayWithName"); - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "ccs.DisplayManager:changeDisplayWithName"); if(!ok) return 0; cobj->changeDisplayWithName(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "changeDisplayWithName",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.DisplayManager:changeDisplayWithName",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -5955,7 +5955,7 @@ int lua_cocos2dx_studio_DisplayManager_isForceChangeDisplay(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isForceChangeDisplay",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.DisplayManager:isForceChangeDisplay",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5999,7 +5999,7 @@ int lua_cocos2dx_studio_DisplayManager_getCurrentDisplayIndex(lua_State* tolua_S tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getCurrentDisplayIndex",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.DisplayManager:getCurrentDisplayIndex",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6043,7 +6043,7 @@ int lua_cocos2dx_studio_DisplayManager_getAnchorPoint(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAnchorPoint",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.DisplayManager:getAnchorPoint",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6087,7 +6087,7 @@ int lua_cocos2dx_studio_DisplayManager_getDecorativeDisplayList(lua_State* tolua ccvector_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDecorativeDisplayList",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.DisplayManager:getDecorativeDisplayList",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6131,7 +6131,7 @@ int lua_cocos2dx_studio_DisplayManager_isVisible(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isVisible",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.DisplayManager:isVisible",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6171,13 +6171,13 @@ int lua_cocos2dx_studio_DisplayManager_setVisible(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccs.DisplayManager:setVisible"); if(!ok) return 0; cobj->setVisible(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setVisible",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.DisplayManager:setVisible",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6212,7 +6212,7 @@ int lua_cocos2dx_studio_DisplayManager_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.DisplayManager",(cocostudio::DisplayManager*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.DisplayManager:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -6244,7 +6244,7 @@ int lua_cocos2dx_studio_DisplayManager_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.DisplayManager"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "DisplayManager",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.DisplayManager:DisplayManager",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6327,7 +6327,7 @@ int lua_cocos2dx_studio_Bone_isTransformDirty(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isTransformDirty",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Bone:isTransformDirty",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6371,7 +6371,7 @@ int lua_cocos2dx_studio_Bone_isIgnoreMovementBoneData(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isIgnoreMovementBoneData",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Bone:isIgnoreMovementBoneData",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6414,7 +6414,7 @@ int lua_cocos2dx_studio_Bone_updateZOrder(lua_State* tolua_S) cobj->updateZOrder(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "updateZOrder",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Bone:updateZOrder",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6458,7 +6458,7 @@ int lua_cocos2dx_studio_Bone_getDisplayRenderNode(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Node",(cocos2d::Node*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDisplayRenderNode",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Bone:getDisplayRenderNode",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6502,7 +6502,7 @@ int lua_cocos2dx_studio_Bone_isBlendDirty(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isBlendDirty",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Bone:isBlendDirty",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6548,7 +6548,7 @@ int lua_cocos2dx_studio_Bone_addChildBone(lua_State* tolua_S) cobj->addChildBone(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addChildBone",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Bone:addChildBone",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6592,7 +6592,7 @@ int lua_cocos2dx_studio_Bone_getWorldInfo(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.BaseData",(cocostudio::BaseData*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getWorldInfo",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Bone:getWorldInfo",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6636,7 +6636,7 @@ int lua_cocos2dx_studio_Bone_getTween(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.Tween",(cocostudio::Tween*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTween",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Bone:getTween",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6680,7 +6680,7 @@ int lua_cocos2dx_studio_Bone_getParentBone(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.Bone",(cocostudio::Bone*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getParentBone",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Bone:getParentBone",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6723,7 +6723,7 @@ int lua_cocos2dx_studio_Bone_updateColor(lua_State* tolua_S) cobj->updateColor(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "updateColor",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Bone:updateColor",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6763,13 +6763,13 @@ int lua_cocos2dx_studio_Bone_setTransformDirty(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccs.Bone:setTransformDirty"); if(!ok) return 0; cobj->setTransformDirty(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTransformDirty",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Bone:setTransformDirty",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6813,7 +6813,7 @@ int lua_cocos2dx_studio_Bone_getDisplayRenderNodeType(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDisplayRenderNodeType",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Bone:getDisplayRenderNodeType",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6853,13 +6853,13 @@ int lua_cocos2dx_studio_Bone_removeDisplay(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccs.Bone:removeDisplay"); if(!ok) return 0; cobj->removeDisplay(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeDisplay",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Bone:removeDisplay",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6905,7 +6905,7 @@ int lua_cocos2dx_studio_Bone_setBoneData(lua_State* tolua_S) cobj->setBoneData(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setBoneData",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Bone:setBoneData",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6939,7 +6939,7 @@ int lua_cocos2dx_studio_Bone_init(lua_State* tolua_S) do{ if (argc == 1) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.Bone:init"); if (!ok) { break; } bool ret = cobj->init(arg0); @@ -6956,7 +6956,7 @@ int lua_cocos2dx_studio_Bone_init(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "init",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Bone:init",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7002,7 +7002,7 @@ int lua_cocos2dx_studio_Bone_setParentBone(lua_State* tolua_S) cobj->setParentBone(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setParentBone",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Bone:setParentBone",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -7040,7 +7040,7 @@ int lua_cocos2dx_studio_Bone_addDisplay(lua_State* tolua_S) if (!ok) { break; } int arg1; - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccs.Bone:addDisplay"); if (!ok) { break; } cobj->addDisplay(arg0, arg1); @@ -7055,7 +7055,7 @@ int lua_cocos2dx_studio_Bone_addDisplay(lua_State* tolua_S) if (!ok) { break; } int arg1; - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccs.Bone:addDisplay"); if (!ok) { break; } cobj->addDisplay(arg0, arg1); @@ -7063,7 +7063,7 @@ int lua_cocos2dx_studio_Bone_addDisplay(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addDisplay",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Bone:addDisplay",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -7103,13 +7103,13 @@ int lua_cocos2dx_studio_Bone_removeFromParent(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccs.Bone:removeFromParent"); if(!ok) return 0; cobj->removeFromParent(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeFromParent",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Bone:removeFromParent",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -7153,7 +7153,7 @@ int lua_cocos2dx_studio_Bone_getColliderDetector(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.ColliderDetector",(cocostudio::ColliderDetector*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getColliderDetector",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Bone:getColliderDetector",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7197,7 +7197,7 @@ int lua_cocos2dx_studio_Bone_getChildArmature(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.Armature",(cocostudio::Armature*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getChildArmature",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Bone:getChildArmature",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7241,7 +7241,7 @@ int lua_cocos2dx_studio_Bone_getTweenData(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.FrameData",(cocostudio::FrameData*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTweenData",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Bone:getTweenData",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7282,15 +7282,15 @@ int lua_cocos2dx_studio_Bone_changeDisplayWithIndex(lua_State* tolua_S) int arg0; bool arg1; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccs.Bone:changeDisplayWithIndex"); - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "ccs.Bone:changeDisplayWithIndex"); if(!ok) return 0; cobj->changeDisplayWithIndex(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "changeDisplayWithIndex",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Bone:changeDisplayWithIndex",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -7331,15 +7331,15 @@ int lua_cocos2dx_studio_Bone_changeDisplayWithName(lua_State* tolua_S) std::string arg0; bool arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.Bone:changeDisplayWithName"); - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "ccs.Bone:changeDisplayWithName"); if(!ok) return 0; cobj->changeDisplayWithName(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "changeDisplayWithName",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Bone:changeDisplayWithName",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -7385,7 +7385,7 @@ int lua_cocos2dx_studio_Bone_setArmature(lua_State* tolua_S) cobj->setArmature(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setArmature",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Bone:setArmature",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -7425,13 +7425,13 @@ int lua_cocos2dx_studio_Bone_setBlendDirty(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccs.Bone:setBlendDirty"); if(!ok) return 0; cobj->setBlendDirty(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setBlendDirty",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Bone:setBlendDirty",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -7474,13 +7474,13 @@ int lua_cocos2dx_studio_Bone_removeChildBone(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 2, "ccs.Bone",&arg0); - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "ccs.Bone:removeChildBone"); if(!ok) return 0; cobj->removeChildBone(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeChildBone",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Bone:removeChildBone",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -7526,7 +7526,7 @@ int lua_cocos2dx_studio_Bone_setChildArmature(lua_State* tolua_S) cobj->setChildArmature(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setChildArmature",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Bone:setChildArmature",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -7570,7 +7570,7 @@ int lua_cocos2dx_studio_Bone_getNodeToArmatureTransform(lua_State* tolua_S) mat4_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getNodeToArmatureTransform",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Bone:getNodeToArmatureTransform",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7614,7 +7614,7 @@ int lua_cocos2dx_studio_Bone_getDisplayManager(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.DisplayManager",(cocostudio::DisplayManager*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDisplayManager",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Bone:getDisplayManager",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7658,7 +7658,7 @@ int lua_cocos2dx_studio_Bone_getArmature(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.Armature",(cocostudio::Armature*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getArmature",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Bone:getArmature",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7702,7 +7702,7 @@ int lua_cocos2dx_studio_Bone_getBoneData(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.BoneData",(cocostudio::BoneData*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBoneData",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Bone:getBoneData",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7731,7 +7731,7 @@ int lua_cocos2dx_studio_Bone_create(lua_State* tolua_S) if (argc == 1) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.Bone:create"); if (!ok) { break; } cocostudio::Bone* ret = cocostudio::Bone::create(arg0); object_to_luaval(tolua_S, "ccs.Bone",(cocostudio::Bone*)ret); @@ -7749,7 +7749,7 @@ int lua_cocos2dx_studio_Bone_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "ccs.Bone:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -7781,7 +7781,7 @@ int lua_cocos2dx_studio_Bone_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.Bone"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "Bone",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Bone:Bone",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7877,7 +7877,7 @@ int lua_cocos2dx_studio_BatchNode_init(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "init",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.BatchNode:init",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7910,7 +7910,7 @@ int lua_cocos2dx_studio_BatchNode_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.BatchNode",(cocostudio::BatchNode*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.BatchNode:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -7973,7 +7973,7 @@ int lua_cocos2dx_studio_ArmatureAnimation_getSpeedScale(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getSpeedScale",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ArmatureAnimation:getSpeedScale",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8016,7 +8016,7 @@ int lua_cocos2dx_studio_ArmatureAnimation_pause(lua_State* tolua_S) cobj->pause(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "pause",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ArmatureAnimation:pause",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8056,13 +8056,13 @@ int lua_cocos2dx_studio_ArmatureAnimation_setSpeedScale(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccs.ArmatureAnimation:setSpeedScale"); if(!ok) return 0; cobj->setSpeedScale(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setSpeedScale",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ArmatureAnimation:setSpeedScale",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8109,7 +8109,7 @@ int lua_cocos2dx_studio_ArmatureAnimation_init(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "init",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ArmatureAnimation:init",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8149,7 +8149,7 @@ int lua_cocos2dx_studio_ArmatureAnimation_playWithIndexes(lua_State* tolua_S) { std::vector arg0; - ok &= luaval_to_std_vector_int(tolua_S, 2, &arg0); + ok &= luaval_to_std_vector_int(tolua_S, 2, &arg0, "ccs.ArmatureAnimation:playWithIndexes"); if(!ok) return 0; cobj->playWithIndexes(arg0); @@ -8160,9 +8160,9 @@ int lua_cocos2dx_studio_ArmatureAnimation_playWithIndexes(lua_State* tolua_S) std::vector arg0; int arg1; - ok &= luaval_to_std_vector_int(tolua_S, 2, &arg0); + ok &= luaval_to_std_vector_int(tolua_S, 2, &arg0, "ccs.ArmatureAnimation:playWithIndexes"); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccs.ArmatureAnimation:playWithIndexes"); if(!ok) return 0; cobj->playWithIndexes(arg0, arg1); @@ -8174,17 +8174,17 @@ int lua_cocos2dx_studio_ArmatureAnimation_playWithIndexes(lua_State* tolua_S) int arg1; bool arg2; - ok &= luaval_to_std_vector_int(tolua_S, 2, &arg0); + ok &= luaval_to_std_vector_int(tolua_S, 2, &arg0, "ccs.ArmatureAnimation:playWithIndexes"); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccs.ArmatureAnimation:playWithIndexes"); - ok &= luaval_to_boolean(tolua_S, 4,&arg2); + ok &= luaval_to_boolean(tolua_S, 4,&arg2, "ccs.ArmatureAnimation:playWithIndexes"); if(!ok) return 0; cobj->playWithIndexes(arg0, arg1, arg2); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "playWithIndexes",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ArmatureAnimation:playWithIndexes",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8224,7 +8224,7 @@ int lua_cocos2dx_studio_ArmatureAnimation_play(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.ArmatureAnimation:play"); if(!ok) return 0; cobj->play(arg0); @@ -8235,9 +8235,9 @@ int lua_cocos2dx_studio_ArmatureAnimation_play(lua_State* tolua_S) std::string arg0; int arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.ArmatureAnimation:play"); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccs.ArmatureAnimation:play"); if(!ok) return 0; cobj->play(arg0, arg1); @@ -8249,17 +8249,17 @@ int lua_cocos2dx_studio_ArmatureAnimation_play(lua_State* tolua_S) int arg1; int arg2; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.ArmatureAnimation:play"); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccs.ArmatureAnimation:play"); - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "ccs.ArmatureAnimation:play"); if(!ok) return 0; cobj->play(arg0, arg1, arg2); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "play",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ArmatureAnimation:play",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8299,13 +8299,13 @@ int lua_cocos2dx_studio_ArmatureAnimation_gotoAndPause(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccs.ArmatureAnimation:gotoAndPause"); if(!ok) return 0; cobj->gotoAndPause(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "gotoAndPause",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ArmatureAnimation:gotoAndPause",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8348,7 +8348,7 @@ int lua_cocos2dx_studio_ArmatureAnimation_resume(lua_State* tolua_S) cobj->resume(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "resume",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ArmatureAnimation:resume",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8391,7 +8391,7 @@ int lua_cocos2dx_studio_ArmatureAnimation_stop(lua_State* tolua_S) cobj->stop(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "stop",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ArmatureAnimation:stop",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8431,13 +8431,13 @@ int lua_cocos2dx_studio_ArmatureAnimation_update(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccs.ArmatureAnimation:update"); if(!ok) return 0; cobj->update(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "update",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ArmatureAnimation:update",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8481,7 +8481,7 @@ int lua_cocos2dx_studio_ArmatureAnimation_getAnimationData(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.AnimationData",(cocostudio::AnimationData*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAnimationData",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ArmatureAnimation:getAnimationData",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8521,7 +8521,7 @@ int lua_cocos2dx_studio_ArmatureAnimation_playWithIndex(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccs.ArmatureAnimation:playWithIndex"); if(!ok) return 0; cobj->playWithIndex(arg0); @@ -8532,9 +8532,9 @@ int lua_cocos2dx_studio_ArmatureAnimation_playWithIndex(lua_State* tolua_S) int arg0; int arg1; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccs.ArmatureAnimation:playWithIndex"); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccs.ArmatureAnimation:playWithIndex"); if(!ok) return 0; cobj->playWithIndex(arg0, arg1); @@ -8546,17 +8546,17 @@ int lua_cocos2dx_studio_ArmatureAnimation_playWithIndex(lua_State* tolua_S) int arg1; int arg2; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccs.ArmatureAnimation:playWithIndex"); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccs.ArmatureAnimation:playWithIndex"); - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "ccs.ArmatureAnimation:playWithIndex"); if(!ok) return 0; cobj->playWithIndex(arg0, arg1, arg2); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "playWithIndex",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ArmatureAnimation:playWithIndex",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8600,7 +8600,7 @@ int lua_cocos2dx_studio_ArmatureAnimation_getCurrentMovementID(lua_State* tolua_ tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getCurrentMovementID",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ArmatureAnimation:getCurrentMovementID",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8646,7 +8646,7 @@ int lua_cocos2dx_studio_ArmatureAnimation_setAnimationData(lua_State* tolua_S) cobj->setAnimationData(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAnimationData",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ArmatureAnimation:setAnimationData",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8686,13 +8686,13 @@ int lua_cocos2dx_studio_ArmatureAnimation_gotoAndPlay(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccs.ArmatureAnimation:gotoAndPlay"); if(!ok) return 0; cobj->gotoAndPlay(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "gotoAndPlay",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ArmatureAnimation:gotoAndPlay",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8732,7 +8732,7 @@ int lua_cocos2dx_studio_ArmatureAnimation_playWithNames(lua_State* tolua_S) { std::vector arg0; - ok &= luaval_to_std_vector_string(tolua_S, 2, &arg0); + ok &= luaval_to_std_vector_string(tolua_S, 2, &arg0, "ccs.ArmatureAnimation:playWithNames"); if(!ok) return 0; cobj->playWithNames(arg0); @@ -8743,9 +8743,9 @@ int lua_cocos2dx_studio_ArmatureAnimation_playWithNames(lua_State* tolua_S) std::vector arg0; int arg1; - ok &= luaval_to_std_vector_string(tolua_S, 2, &arg0); + ok &= luaval_to_std_vector_string(tolua_S, 2, &arg0, "ccs.ArmatureAnimation:playWithNames"); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccs.ArmatureAnimation:playWithNames"); if(!ok) return 0; cobj->playWithNames(arg0, arg1); @@ -8757,17 +8757,17 @@ int lua_cocos2dx_studio_ArmatureAnimation_playWithNames(lua_State* tolua_S) int arg1; bool arg2; - ok &= luaval_to_std_vector_string(tolua_S, 2, &arg0); + ok &= luaval_to_std_vector_string(tolua_S, 2, &arg0, "ccs.ArmatureAnimation:playWithNames"); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccs.ArmatureAnimation:playWithNames"); - ok &= luaval_to_boolean(tolua_S, 4,&arg2); + ok &= luaval_to_boolean(tolua_S, 4,&arg2, "ccs.ArmatureAnimation:playWithNames"); if(!ok) return 0; cobj->playWithNames(arg0, arg1, arg2); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "playWithNames",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ArmatureAnimation:playWithNames",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8811,7 +8811,7 @@ int lua_cocos2dx_studio_ArmatureAnimation_getMovementCount(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getMovementCount",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ArmatureAnimation:getMovementCount",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8846,7 +8846,7 @@ int lua_cocos2dx_studio_ArmatureAnimation_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.ArmatureAnimation",(cocostudio::ArmatureAnimation*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.ArmatureAnimation:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -8878,7 +8878,7 @@ int lua_cocos2dx_studio_ArmatureAnimation_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.ArmatureAnimation"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ArmatureAnimation",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ArmatureAnimation:ArmatureAnimation",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8960,7 +8960,7 @@ int lua_cocos2dx_studio_ArmatureDataManager_getAnimationDatas(lua_State* tolua_S ccmap_string_key_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAnimationDatas",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ArmatureDataManager:getAnimationDatas",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9000,13 +9000,13 @@ int lua_cocos2dx_studio_ArmatureDataManager_removeAnimationData(lua_State* tolua { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.ArmatureDataManager:removeAnimationData"); if(!ok) return 0; cobj->removeAnimationData(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeAnimationData",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ArmatureDataManager:removeAnimationData",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -9047,7 +9047,7 @@ int lua_cocos2dx_studio_ArmatureDataManager_addArmatureData(lua_State* tolua_S) std::string arg0; cocostudio::ArmatureData* arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.ArmatureDataManager:addArmatureData"); ok &= luaval_to_object(tolua_S, 3, "ccs.ArmatureData",&arg1); if(!ok) @@ -9061,17 +9061,17 @@ int lua_cocos2dx_studio_ArmatureDataManager_addArmatureData(lua_State* tolua_S) cocostudio::ArmatureData* arg1; std::string arg2; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.ArmatureDataManager:addArmatureData"); ok &= luaval_to_object(tolua_S, 3, "ccs.ArmatureData",&arg1); - ok &= luaval_to_std_string(tolua_S, 4,&arg2); + ok &= luaval_to_std_string(tolua_S, 4,&arg2, "ccs.ArmatureDataManager:addArmatureData"); if(!ok) return 0; cobj->addArmatureData(arg0, arg1, arg2); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addArmatureData",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ArmatureDataManager:addArmatureData",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -9105,15 +9105,15 @@ int lua_cocos2dx_studio_ArmatureDataManager_addArmatureFileInfo(lua_State* tolua do{ if (argc == 3) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.ArmatureDataManager:addArmatureFileInfo"); if (!ok) { break; } std::string arg1; - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "ccs.ArmatureDataManager:addArmatureFileInfo"); if (!ok) { break; } std::string arg2; - ok &= luaval_to_std_string(tolua_S, 4,&arg2); + ok &= luaval_to_std_string(tolua_S, 4,&arg2, "ccs.ArmatureDataManager:addArmatureFileInfo"); if (!ok) { break; } cobj->addArmatureFileInfo(arg0, arg1, arg2); @@ -9124,7 +9124,7 @@ int lua_cocos2dx_studio_ArmatureDataManager_addArmatureFileInfo(lua_State* tolua do{ if (argc == 1) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.ArmatureDataManager:addArmatureFileInfo"); if (!ok) { break; } cobj->addArmatureFileInfo(arg0); @@ -9132,7 +9132,7 @@ int lua_cocos2dx_studio_ArmatureDataManager_addArmatureFileInfo(lua_State* tolua } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addArmatureFileInfo",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ArmatureDataManager:addArmatureFileInfo",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -9172,13 +9172,13 @@ int lua_cocos2dx_studio_ArmatureDataManager_removeArmatureFileInfo(lua_State* to { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.ArmatureDataManager:removeArmatureFileInfo"); if(!ok) return 0; cobj->removeArmatureFileInfo(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeArmatureFileInfo",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ArmatureDataManager:removeArmatureFileInfo",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -9222,7 +9222,7 @@ int lua_cocos2dx_studio_ArmatureDataManager_getTextureDatas(lua_State* tolua_S) ccmap_string_key_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTextureDatas",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ArmatureDataManager:getTextureDatas",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9262,14 +9262,14 @@ int lua_cocos2dx_studio_ArmatureDataManager_getTextureData(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.ArmatureDataManager:getTextureData"); if(!ok) return 0; cocostudio::TextureData* ret = cobj->getTextureData(arg0); object_to_luaval(tolua_S, "ccs.TextureData",(cocostudio::TextureData*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTextureData",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ArmatureDataManager:getTextureData",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -9309,14 +9309,14 @@ int lua_cocos2dx_studio_ArmatureDataManager_getArmatureData(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.ArmatureDataManager:getArmatureData"); if(!ok) return 0; cocostudio::ArmatureData* ret = cobj->getArmatureData(arg0); object_to_luaval(tolua_S, "ccs.ArmatureData",(cocostudio::ArmatureData*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getArmatureData",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ArmatureDataManager:getArmatureData",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -9356,14 +9356,14 @@ int lua_cocos2dx_studio_ArmatureDataManager_getAnimationData(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.ArmatureDataManager:getAnimationData"); if(!ok) return 0; cocostudio::AnimationData* ret = cobj->getAnimationData(arg0); object_to_luaval(tolua_S, "ccs.AnimationData",(cocostudio::AnimationData*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAnimationData",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ArmatureDataManager:getAnimationData",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -9404,7 +9404,7 @@ int lua_cocos2dx_studio_ArmatureDataManager_addAnimationData(lua_State* tolua_S) std::string arg0; cocostudio::AnimationData* arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.ArmatureDataManager:addAnimationData"); ok &= luaval_to_object(tolua_S, 3, "ccs.AnimationData",&arg1); if(!ok) @@ -9418,17 +9418,17 @@ int lua_cocos2dx_studio_ArmatureDataManager_addAnimationData(lua_State* tolua_S) cocostudio::AnimationData* arg1; std::string arg2; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.ArmatureDataManager:addAnimationData"); ok &= luaval_to_object(tolua_S, 3, "ccs.AnimationData",&arg1); - ok &= luaval_to_std_string(tolua_S, 4,&arg2); + ok &= luaval_to_std_string(tolua_S, 4,&arg2, "ccs.ArmatureDataManager:addAnimationData"); if(!ok) return 0; cobj->addAnimationData(arg0, arg1, arg2); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addAnimationData",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ArmatureDataManager:addAnimationData",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -9472,7 +9472,7 @@ int lua_cocos2dx_studio_ArmatureDataManager_init(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "init",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ArmatureDataManager:init",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9512,13 +9512,13 @@ int lua_cocos2dx_studio_ArmatureDataManager_removeArmatureData(lua_State* tolua_ { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.ArmatureDataManager:removeArmatureData"); if(!ok) return 0; cobj->removeArmatureData(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeArmatureData",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ArmatureDataManager:removeArmatureData",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -9562,7 +9562,7 @@ int lua_cocos2dx_studio_ArmatureDataManager_getArmatureDatas(lua_State* tolua_S) ccmap_string_key_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getArmatureDatas",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ArmatureDataManager:getArmatureDatas",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9602,13 +9602,13 @@ int lua_cocos2dx_studio_ArmatureDataManager_removeTextureData(lua_State* tolua_S { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.ArmatureDataManager:removeTextureData"); if(!ok) return 0; cobj->removeTextureData(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeTextureData",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ArmatureDataManager:removeTextureData",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -9649,7 +9649,7 @@ int lua_cocos2dx_studio_ArmatureDataManager_addTextureData(lua_State* tolua_S) std::string arg0; cocostudio::TextureData* arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.ArmatureDataManager:addTextureData"); ok &= luaval_to_object(tolua_S, 3, "ccs.TextureData",&arg1); if(!ok) @@ -9663,17 +9663,17 @@ int lua_cocos2dx_studio_ArmatureDataManager_addTextureData(lua_State* tolua_S) cocostudio::TextureData* arg1; std::string arg2; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.ArmatureDataManager:addTextureData"); ok &= luaval_to_object(tolua_S, 3, "ccs.TextureData",&arg1); - ok &= luaval_to_std_string(tolua_S, 4,&arg2); + ok &= luaval_to_std_string(tolua_S, 4,&arg2, "ccs.ArmatureDataManager:addTextureData"); if(!ok) return 0; cobj->addTextureData(arg0, arg1, arg2); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addTextureData",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ArmatureDataManager:addTextureData",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -9717,7 +9717,7 @@ int lua_cocos2dx_studio_ArmatureDataManager_isAutoLoadSpriteFile(lua_State* tolu tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isAutoLoadSpriteFile",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ArmatureDataManager:isAutoLoadSpriteFile",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9758,9 +9758,9 @@ int lua_cocos2dx_studio_ArmatureDataManager_addSpriteFrameFromFile(lua_State* to std::string arg0; std::string arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.ArmatureDataManager:addSpriteFrameFromFile"); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "ccs.ArmatureDataManager:addSpriteFrameFromFile"); if(!ok) return 0; cobj->addSpriteFrameFromFile(arg0, arg1); @@ -9772,17 +9772,17 @@ int lua_cocos2dx_studio_ArmatureDataManager_addSpriteFrameFromFile(lua_State* to std::string arg1; std::string arg2; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.ArmatureDataManager:addSpriteFrameFromFile"); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "ccs.ArmatureDataManager:addSpriteFrameFromFile"); - ok &= luaval_to_std_string(tolua_S, 4,&arg2); + ok &= luaval_to_std_string(tolua_S, 4,&arg2, "ccs.ArmatureDataManager:addSpriteFrameFromFile"); if(!ok) return 0; cobj->addSpriteFrameFromFile(arg0, arg1, arg2); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addSpriteFrameFromFile",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ArmatureDataManager:addSpriteFrameFromFile",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -9814,7 +9814,7 @@ int lua_cocos2dx_studio_ArmatureDataManager_destroyInstance(lua_State* tolua_S) cocostudio::ArmatureDataManager::destroyInstance(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "destroyInstance",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.ArmatureDataManager:destroyInstance",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -9845,7 +9845,7 @@ int lua_cocos2dx_studio_ArmatureDataManager_getInstance(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.ArmatureDataManager",(cocostudio::ArmatureDataManager*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "getInstance",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.ArmatureDataManager:getInstance",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -9921,14 +9921,14 @@ int lua_cocos2dx_studio_Armature_getBone(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.Armature:getBone"); if(!ok) return 0; cocostudio::Bone* ret = cobj->getBone(arg0); object_to_luaval(tolua_S, "ccs.Bone",(cocostudio::Bone*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBone",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Armature:getBone",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -9971,13 +9971,13 @@ int lua_cocos2dx_studio_Armature_changeBoneParent(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 2, "ccs.Bone",&arg0); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "ccs.Armature:changeBoneParent"); if(!ok) return 0; cobj->changeBoneParent(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "changeBoneParent",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Armature:changeBoneParent",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -10023,7 +10023,7 @@ int lua_cocos2dx_studio_Armature_setAnimation(lua_State* tolua_S) cobj->setAnimation(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAnimation",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Armature:setAnimation",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -10064,16 +10064,16 @@ int lua_cocos2dx_studio_Armature_getBoneAtPoint(lua_State* tolua_S) double arg0; double arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccs.Armature:getBoneAtPoint"); - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "ccs.Armature:getBoneAtPoint"); if(!ok) return 0; cocostudio::Bone* ret = cobj->getBoneAtPoint(arg0, arg1); object_to_luaval(tolua_S, "ccs.Bone",(cocostudio::Bone*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBoneAtPoint",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Armature:getBoneAtPoint",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -10117,7 +10117,7 @@ int lua_cocos2dx_studio_Armature_getArmatureTransformDirty(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getArmatureTransformDirty",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Armature:getArmatureTransformDirty",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10157,13 +10157,13 @@ int lua_cocos2dx_studio_Armature_setVersion(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccs.Armature:setVersion"); if(!ok) return 0; cobj->setVersion(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setVersion",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Armature:setVersion",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -10206,7 +10206,7 @@ int lua_cocos2dx_studio_Armature_updateOffsetPoint(lua_State* tolua_S) cobj->updateOffsetPoint(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "updateOffsetPoint",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Armature:updateOffsetPoint",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10250,7 +10250,7 @@ int lua_cocos2dx_studio_Armature_getParentBone(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.Bone",(cocostudio::Bone*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getParentBone",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Armature:getParentBone",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10293,13 +10293,13 @@ int lua_cocos2dx_studio_Armature_removeBone(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 2, "ccs.Bone",&arg0); - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "ccs.Armature:removeBone"); if(!ok) return 0; cobj->removeBone(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeBone",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Armature:removeBone",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -10343,7 +10343,7 @@ int lua_cocos2dx_studio_Armature_getBatchNode(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.BatchNode",(cocostudio::BatchNode*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBatchNode",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Armature:getBatchNode",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10377,7 +10377,7 @@ int lua_cocos2dx_studio_Armature_init(lua_State* tolua_S) do{ if (argc == 1) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.Armature:init"); if (!ok) { break; } bool ret = cobj->init(arg0); @@ -10397,7 +10397,7 @@ int lua_cocos2dx_studio_Armature_init(lua_State* tolua_S) do{ if (argc == 2) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.Armature:init"); if (!ok) { break; } cocostudio::Bone* arg1; @@ -10410,7 +10410,7 @@ int lua_cocos2dx_studio_Armature_init(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "init",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Armature:init",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -10456,7 +10456,7 @@ int lua_cocos2dx_studio_Armature_setParentBone(lua_State* tolua_S) cobj->setParentBone(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setParentBone",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Armature:setParentBone",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -10499,7 +10499,7 @@ int lua_cocos2dx_studio_Armature_drawContour(lua_State* tolua_S) cobj->drawContour(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "drawContour",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Armature:drawContour",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10545,7 +10545,7 @@ int lua_cocos2dx_studio_Armature_setBatchNode(lua_State* tolua_S) cobj->setBatchNode(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setBatchNode",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Armature:setBatchNode",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -10591,7 +10591,7 @@ int lua_cocos2dx_studio_Armature_setArmatureData(lua_State* tolua_S) cobj->setArmatureData(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setArmatureData",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Armature:setArmatureData",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -10634,13 +10634,13 @@ int lua_cocos2dx_studio_Armature_addBone(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 2, "ccs.Bone",&arg0); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "ccs.Armature:addBone"); if(!ok) return 0; cobj->addBone(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addBone",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Armature:addBone",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -10684,7 +10684,7 @@ int lua_cocos2dx_studio_Armature_getArmatureData(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.ArmatureData",(cocostudio::ArmatureData*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getArmatureData",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Armature:getArmatureData",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10728,7 +10728,7 @@ int lua_cocos2dx_studio_Armature_getVersion(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getVersion",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Armature:getVersion",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10772,7 +10772,7 @@ int lua_cocos2dx_studio_Armature_getAnimation(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.ArmatureAnimation",(cocostudio::ArmatureAnimation*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAnimation",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Armature:getAnimation",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10816,7 +10816,7 @@ int lua_cocos2dx_studio_Armature_getBoneDic(lua_State* tolua_S) ccmap_string_key_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBoneDic",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Armature:getBoneDic",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10845,7 +10845,7 @@ int lua_cocos2dx_studio_Armature_create(lua_State* tolua_S) if (argc == 1) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.Armature:create"); if (!ok) { break; } cocostudio::Armature* ret = cocostudio::Armature::create(arg0); object_to_luaval(tolua_S, "ccs.Armature",(cocostudio::Armature*)ret); @@ -10868,7 +10868,7 @@ int lua_cocos2dx_studio_Armature_create(lua_State* tolua_S) if (argc == 2) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.Armature:create"); if (!ok) { break; } cocostudio::Bone* arg1; ok &= luaval_to_object(tolua_S, 3, "ccs.Bone",&arg1); @@ -10879,7 +10879,7 @@ int lua_cocos2dx_studio_Armature_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "ccs.Armature:create",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -10911,7 +10911,7 @@ int lua_cocos2dx_studio_Armature_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.Armature"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "Armature",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Armature:Armature",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10996,7 +10996,7 @@ int lua_cocos2dx_studio_Skin_getBone(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.Bone",(cocostudio::Bone*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBone",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Skin:getBone",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -11040,7 +11040,7 @@ int lua_cocos2dx_studio_Skin_getNodeToWorldTransformAR(lua_State* tolua_S) mat4_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getNodeToWorldTransformAR",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Skin:getNodeToWorldTransformAR",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -11080,14 +11080,14 @@ int lua_cocos2dx_studio_Skin_initWithFile(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.Skin:initWithFile"); if(!ok) return 0; bool ret = cobj->initWithFile(arg0); tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "initWithFile",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Skin:initWithFile",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -11131,7 +11131,7 @@ int lua_cocos2dx_studio_Skin_getDisplayName(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDisplayName",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Skin:getDisplayName",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -11174,7 +11174,7 @@ int lua_cocos2dx_studio_Skin_updateArmatureTransform(lua_State* tolua_S) cobj->updateArmatureTransform(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "updateArmatureTransform",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Skin:updateArmatureTransform",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -11214,14 +11214,14 @@ int lua_cocos2dx_studio_Skin_initWithSpriteFrameName(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.Skin:initWithSpriteFrameName"); if(!ok) return 0; bool ret = cobj->initWithSpriteFrameName(arg0); tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "initWithSpriteFrameName",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Skin:initWithSpriteFrameName",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -11267,7 +11267,7 @@ int lua_cocos2dx_studio_Skin_setBone(lua_State* tolua_S) cobj->setBone(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setBone",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Skin:setBone",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -11296,7 +11296,7 @@ int lua_cocos2dx_studio_Skin_create(lua_State* tolua_S) if (argc == 1) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.Skin:create"); if (!ok) { break; } cocostudio::Skin* ret = cocostudio::Skin::create(arg0); object_to_luaval(tolua_S, "ccs.Skin",(cocostudio::Skin*)ret); @@ -11314,7 +11314,7 @@ int lua_cocos2dx_studio_Skin_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "ccs.Skin:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -11340,14 +11340,14 @@ int lua_cocos2dx_studio_Skin_createWithSpriteFrameName(lua_State* tolua_S) if (argc == 1) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.Skin:createWithSpriteFrameName"); if(!ok) return 0; cocostudio::Skin* ret = cocostudio::Skin::createWithSpriteFrameName(arg0); object_to_luaval(tolua_S, "ccs.Skin",(cocostudio::Skin*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createWithSpriteFrameName",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.Skin:createWithSpriteFrameName",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -11379,7 +11379,7 @@ int lua_cocos2dx_studio_Skin_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.Skin"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "Skin",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Skin:Skin",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -11448,7 +11448,7 @@ int lua_cocos2dx_studio_ComAttribute_getFloat(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.ComAttribute:getFloat"); if(!ok) return 0; double ret = cobj->getFloat(arg0); @@ -11460,16 +11460,16 @@ int lua_cocos2dx_studio_ComAttribute_getFloat(lua_State* tolua_S) std::string arg0; double arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.ComAttribute:getFloat"); - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "ccs.ComAttribute:getFloat"); if(!ok) return 0; double ret = cobj->getFloat(arg0, arg1); tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getFloat",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComAttribute:getFloat",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -11509,7 +11509,7 @@ int lua_cocos2dx_studio_ComAttribute_getString(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.ComAttribute:getString"); if(!ok) return 0; std::string ret = cobj->getString(arg0); @@ -11521,16 +11521,16 @@ int lua_cocos2dx_studio_ComAttribute_getString(lua_State* tolua_S) std::string arg0; std::string arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.ComAttribute:getString"); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "ccs.ComAttribute:getString"); if(!ok) return 0; std::string ret = cobj->getString(arg0, arg1); tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getString",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComAttribute:getString",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -11571,15 +11571,15 @@ int lua_cocos2dx_studio_ComAttribute_setFloat(lua_State* tolua_S) std::string arg0; double arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.ComAttribute:setFloat"); - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "ccs.ComAttribute:setFloat"); if(!ok) return 0; cobj->setFloat(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setFloat",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComAttribute:setFloat",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -11620,15 +11620,15 @@ int lua_cocos2dx_studio_ComAttribute_setString(lua_State* tolua_S) std::string arg0; std::string arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.ComAttribute:setString"); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "ccs.ComAttribute:setString"); if(!ok) return 0; cobj->setString(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setString",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComAttribute:setString",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -11668,7 +11668,7 @@ int lua_cocos2dx_studio_ComAttribute_getBool(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.ComAttribute:getBool"); if(!ok) return 0; bool ret = cobj->getBool(arg0); @@ -11680,16 +11680,16 @@ int lua_cocos2dx_studio_ComAttribute_getBool(lua_State* tolua_S) std::string arg0; bool arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.ComAttribute:getBool"); - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "ccs.ComAttribute:getBool"); if(!ok) return 0; bool ret = cobj->getBool(arg0, arg1); tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBool",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComAttribute:getBool",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -11730,15 +11730,15 @@ int lua_cocos2dx_studio_ComAttribute_setInt(lua_State* tolua_S) std::string arg0; int arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.ComAttribute:setInt"); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccs.ComAttribute:setInt"); if(!ok) return 0; cobj->setInt(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setInt",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComAttribute:setInt",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -11778,14 +11778,14 @@ int lua_cocos2dx_studio_ComAttribute_parse(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.ComAttribute:parse"); if(!ok) return 0; bool ret = cobj->parse(arg0); tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "parse",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComAttribute:parse",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -11825,7 +11825,7 @@ int lua_cocos2dx_studio_ComAttribute_getInt(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.ComAttribute:getInt"); if(!ok) return 0; int ret = cobj->getInt(arg0); @@ -11837,16 +11837,16 @@ int lua_cocos2dx_studio_ComAttribute_getInt(lua_State* tolua_S) std::string arg0; int arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.ComAttribute:getInt"); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccs.ComAttribute:getInt"); if(!ok) return 0; int ret = cobj->getInt(arg0, arg1); tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getInt",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComAttribute:getInt",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -11887,15 +11887,15 @@ int lua_cocos2dx_studio_ComAttribute_setBool(lua_State* tolua_S) std::string arg0; bool arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.ComAttribute:setBool"); - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "ccs.ComAttribute:setBool"); if(!ok) return 0; cobj->setBool(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setBool",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComAttribute:setBool",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -11928,7 +11928,7 @@ int lua_cocos2dx_studio_ComAttribute_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.ComAttribute",(cocostudio::ComAttribute*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.ComAttribute:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -11959,7 +11959,7 @@ int lua_cocos2dx_studio_ComAttribute_createInstance(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Ref",(cocos2d::Ref*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createInstance",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.ComAttribute:createInstance",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -12030,7 +12030,7 @@ int lua_cocos2dx_studio_ComAudio_stopAllEffects(lua_State* tolua_S) cobj->stopAllEffects(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "stopAllEffects",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComAudio:stopAllEffects",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -12074,7 +12074,7 @@ int lua_cocos2dx_studio_ComAudio_getEffectsVolume(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getEffectsVolume",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComAudio:getEffectsVolume",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -12114,13 +12114,13 @@ int lua_cocos2dx_studio_ComAudio_stopEffect(lua_State* tolua_S) { unsigned int arg0; - ok &= luaval_to_uint32(tolua_S, 2,&arg0); + ok &= luaval_to_uint32(tolua_S, 2,&arg0, "ccs.ComAudio:stopEffect"); if(!ok) return 0; cobj->stopEffect(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "stopEffect",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComAudio:stopEffect",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -12164,7 +12164,7 @@ int lua_cocos2dx_studio_ComAudio_getBackgroundMusicVolume(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBackgroundMusicVolume",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComAudio:getBackgroundMusicVolume",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -12208,7 +12208,7 @@ int lua_cocos2dx_studio_ComAudio_willPlayBackgroundMusic(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "willPlayBackgroundMusic",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComAudio:willPlayBackgroundMusic",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -12248,13 +12248,13 @@ int lua_cocos2dx_studio_ComAudio_setBackgroundMusicVolume(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccs.ComAudio:setBackgroundMusicVolume"); if(!ok) return 0; cobj->setBackgroundMusicVolume(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setBackgroundMusicVolume",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComAudio:setBackgroundMusicVolume",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -12297,7 +12297,7 @@ int lua_cocos2dx_studio_ComAudio_end(lua_State* tolua_S) cobj->end(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "end",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComAudio:end",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -12338,7 +12338,7 @@ int lua_cocos2dx_studio_ComAudio_stopBackgroundMusic(lua_State* tolua_S) do{ if (argc == 1) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccs.ComAudio:stopBackgroundMusic"); if (!ok) { break; } cobj->stopBackgroundMusic(arg0); @@ -12346,7 +12346,7 @@ int lua_cocos2dx_studio_ComAudio_stopBackgroundMusic(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "stopBackgroundMusic",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComAudio:stopBackgroundMusic",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -12389,7 +12389,7 @@ int lua_cocos2dx_studio_ComAudio_pauseBackgroundMusic(lua_State* tolua_S) cobj->pauseBackgroundMusic(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "pauseBackgroundMusic",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComAudio:pauseBackgroundMusic",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -12433,7 +12433,7 @@ int lua_cocos2dx_studio_ComAudio_isBackgroundMusicPlaying(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isBackgroundMusicPlaying",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComAudio:isBackgroundMusicPlaying",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -12477,7 +12477,7 @@ int lua_cocos2dx_studio_ComAudio_isLoop(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isLoop",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComAudio:isLoop",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -12520,7 +12520,7 @@ int lua_cocos2dx_studio_ComAudio_resumeAllEffects(lua_State* tolua_S) cobj->resumeAllEffects(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "resumeAllEffects",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComAudio:resumeAllEffects",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -12563,7 +12563,7 @@ int lua_cocos2dx_studio_ComAudio_pauseAllEffects(lua_State* tolua_S) cobj->pauseAllEffects(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "pauseAllEffects",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComAudio:pauseAllEffects",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -12603,13 +12603,13 @@ int lua_cocos2dx_studio_ComAudio_preloadBackgroundMusic(lua_State* tolua_S) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "ccs.ComAudio:preloadBackgroundMusic"); arg0 = arg0_tmp.c_str(); if(!ok) return 0; cobj->preloadBackgroundMusic(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "preloadBackgroundMusic",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComAudio:preloadBackgroundMusic",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -12643,7 +12643,7 @@ int lua_cocos2dx_studio_ComAudio_playBackgroundMusic(lua_State* tolua_S) do{ if (argc == 1) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "ccs.ComAudio:playBackgroundMusic"); arg0 = arg0_tmp.c_str(); if (!ok) { break; } cobj->playBackgroundMusic(arg0); @@ -12654,11 +12654,11 @@ int lua_cocos2dx_studio_ComAudio_playBackgroundMusic(lua_State* tolua_S) do{ if (argc == 2) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "ccs.ComAudio:playBackgroundMusic"); arg0 = arg0_tmp.c_str(); if (!ok) { break; } bool arg1; - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "ccs.ComAudio:playBackgroundMusic"); if (!ok) { break; } cobj->playBackgroundMusic(arg0, arg1); @@ -12673,7 +12673,7 @@ int lua_cocos2dx_studio_ComAudio_playBackgroundMusic(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "playBackgroundMusic",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComAudio:playBackgroundMusic",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -12707,7 +12707,7 @@ int lua_cocos2dx_studio_ComAudio_playEffect(lua_State* tolua_S) do{ if (argc == 1) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "ccs.ComAudio:playEffect"); arg0 = arg0_tmp.c_str(); if (!ok) { break; } unsigned int ret = cobj->playEffect(arg0); @@ -12719,11 +12719,11 @@ int lua_cocos2dx_studio_ComAudio_playEffect(lua_State* tolua_S) do{ if (argc == 2) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "ccs.ComAudio:playEffect"); arg0 = arg0_tmp.c_str(); if (!ok) { break; } bool arg1; - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "ccs.ComAudio:playEffect"); if (!ok) { break; } unsigned int ret = cobj->playEffect(arg0, arg1); @@ -12740,7 +12740,7 @@ int lua_cocos2dx_studio_ComAudio_playEffect(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "playEffect",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComAudio:playEffect",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -12780,13 +12780,13 @@ int lua_cocos2dx_studio_ComAudio_preloadEffect(lua_State* tolua_S) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "ccs.ComAudio:preloadEffect"); arg0 = arg0_tmp.c_str(); if(!ok) return 0; cobj->preloadEffect(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "preloadEffect",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComAudio:preloadEffect",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -12826,13 +12826,13 @@ int lua_cocos2dx_studio_ComAudio_setLoop(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccs.ComAudio:setLoop"); if(!ok) return 0; cobj->setLoop(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setLoop",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComAudio:setLoop",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -12872,13 +12872,13 @@ int lua_cocos2dx_studio_ComAudio_unloadEffect(lua_State* tolua_S) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "ccs.ComAudio:unloadEffect"); arg0 = arg0_tmp.c_str(); if(!ok) return 0; cobj->unloadEffect(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "unloadEffect",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComAudio:unloadEffect",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -12921,7 +12921,7 @@ int lua_cocos2dx_studio_ComAudio_rewindBackgroundMusic(lua_State* tolua_S) cobj->rewindBackgroundMusic(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "rewindBackgroundMusic",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComAudio:rewindBackgroundMusic",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -12961,13 +12961,13 @@ int lua_cocos2dx_studio_ComAudio_pauseEffect(lua_State* tolua_S) { unsigned int arg0; - ok &= luaval_to_uint32(tolua_S, 2,&arg0); + ok &= luaval_to_uint32(tolua_S, 2,&arg0, "ccs.ComAudio:pauseEffect"); if(!ok) return 0; cobj->pauseEffect(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "pauseEffect",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComAudio:pauseEffect",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -13010,7 +13010,7 @@ int lua_cocos2dx_studio_ComAudio_resumeBackgroundMusic(lua_State* tolua_S) cobj->resumeBackgroundMusic(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "resumeBackgroundMusic",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComAudio:resumeBackgroundMusic",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13050,13 +13050,13 @@ int lua_cocos2dx_studio_ComAudio_setFile(lua_State* tolua_S) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "ccs.ComAudio:setFile"); arg0 = arg0_tmp.c_str(); if(!ok) return 0; cobj->setFile(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setFile",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComAudio:setFile",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -13096,13 +13096,13 @@ int lua_cocos2dx_studio_ComAudio_setEffectsVolume(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccs.ComAudio:setEffectsVolume"); if(!ok) return 0; cobj->setEffectsVolume(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setEffectsVolume",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComAudio:setEffectsVolume",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -13146,7 +13146,7 @@ int lua_cocos2dx_studio_ComAudio_getFile(lua_State* tolua_S) tolua_pushstring(tolua_S,(const char*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getFile",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComAudio:getFile",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13186,13 +13186,13 @@ int lua_cocos2dx_studio_ComAudio_resumeEffect(lua_State* tolua_S) { unsigned int arg0; - ok &= luaval_to_uint32(tolua_S, 2,&arg0); + ok &= luaval_to_uint32(tolua_S, 2,&arg0, "ccs.ComAudio:resumeEffect"); if(!ok) return 0; cobj->resumeEffect(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "resumeEffect",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComAudio:resumeEffect",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -13225,7 +13225,7 @@ int lua_cocos2dx_studio_ComAudio_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.ComAudio",(cocostudio::ComAudio*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.ComAudio:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -13256,7 +13256,7 @@ int lua_cocos2dx_studio_ComAudio_createInstance(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Ref",(cocos2d::Ref*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createInstance",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.ComAudio:createInstance",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -13334,7 +13334,7 @@ int lua_cocos2dx_studio_ComController_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.ComController",(cocostudio::ComController*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.ComController:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -13365,7 +13365,7 @@ int lua_cocos2dx_studio_ComController_createInstance(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Ref",(cocos2d::Ref*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createInstance",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.ComController:createInstance",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -13397,7 +13397,7 @@ int lua_cocos2dx_studio_ComController_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.ComController"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ComController",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComController:ComController",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13465,7 +13465,7 @@ int lua_cocos2dx_studio_ComRender_setNode(lua_State* tolua_S) cobj->setNode(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setNode",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComRender:setNode",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -13509,7 +13509,7 @@ int lua_cocos2dx_studio_ComRender_getNode(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Node",(cocos2d::Node*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getNode",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ComRender:getNode",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13541,7 +13541,7 @@ int lua_cocos2dx_studio_ComRender_create(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 2, "cc.Node",&arg0); if (!ok) { break; } const char* arg1; - std::string arg1_tmp; ok &= luaval_to_std_string(tolua_S, 3, &arg1_tmp); arg1 = arg1_tmp.c_str(); + std::string arg1_tmp; ok &= luaval_to_std_string(tolua_S, 3, &arg1_tmp, "ccs.ComRender:create"); arg1 = arg1_tmp.c_str(); if (!ok) { break; } cocostudio::ComRender* ret = cocostudio::ComRender::create(arg0, arg1); object_to_luaval(tolua_S, "ccs.ComRender",(cocostudio::ComRender*)ret); @@ -13559,7 +13559,7 @@ int lua_cocos2dx_studio_ComRender_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "ccs.ComRender:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -13590,7 +13590,7 @@ int lua_cocos2dx_studio_ComRender_createInstance(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Ref",(cocos2d::Ref*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createInstance",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.ComRender:createInstance",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -13651,13 +13651,13 @@ int lua_cocos2dx_studio_GUIReader_setFilePath(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.GUIReader:setFilePath"); if(!ok) return 0; cobj->setFilePath(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setFilePath",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.GUIReader:setFilePath",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -13697,14 +13697,14 @@ int lua_cocos2dx_studio_GUIReader_widgetFromJsonFile(lua_State* tolua_S) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "ccs.GUIReader:widgetFromJsonFile"); arg0 = arg0_tmp.c_str(); if(!ok) return 0; cocos2d::ui::Widget* ret = cobj->widgetFromJsonFile(arg0); object_to_luaval(tolua_S, "ccui.Widget",(cocos2d::ui::Widget*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "widgetFromJsonFile",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.GUIReader:widgetFromJsonFile",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -13748,7 +13748,7 @@ int lua_cocos2dx_studio_GUIReader_getFilePath(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getFilePath",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.GUIReader:getFilePath",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13788,14 +13788,14 @@ int lua_cocos2dx_studio_GUIReader_widgetFromBinaryFile(lua_State* tolua_S) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "ccs.GUIReader:widgetFromBinaryFile"); arg0 = arg0_tmp.c_str(); if(!ok) return 0; cocos2d::ui::Widget* ret = cobj->widgetFromBinaryFile(arg0); object_to_luaval(tolua_S, "ccui.Widget",(cocos2d::ui::Widget*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "widgetFromBinaryFile",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.GUIReader:widgetFromBinaryFile",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -13835,14 +13835,14 @@ int lua_cocos2dx_studio_GUIReader_getVersionInteger(lua_State* tolua_S) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "ccs.GUIReader:getVersionInteger"); arg0 = arg0_tmp.c_str(); if(!ok) return 0; int ret = cobj->getVersionInteger(arg0); tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getVersionInteger",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.GUIReader:getVersionInteger",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -13874,7 +13874,7 @@ int lua_cocos2dx_studio_GUIReader_destroyInstance(lua_State* tolua_S) cocostudio::GUIReader::destroyInstance(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "destroyInstance",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.GUIReader:destroyInstance",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -13905,7 +13905,7 @@ int lua_cocos2dx_studio_GUIReader_getInstance(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.GUIReader",(cocostudio::GUIReader*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "getInstance",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.GUIReader:getInstance",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -13979,7 +13979,7 @@ int lua_cocos2dx_studio_SceneReader_setTarget(lua_State* tolua_S) cobj->setTarget(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTarget",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.SceneReader:setTarget",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -14019,7 +14019,7 @@ int lua_cocos2dx_studio_SceneReader_createNodeWithSceneFile(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.SceneReader:createNodeWithSceneFile"); if(!ok) return 0; cocos2d::Node* ret = cobj->createNodeWithSceneFile(arg0); @@ -14031,16 +14031,16 @@ int lua_cocos2dx_studio_SceneReader_createNodeWithSceneFile(lua_State* tolua_S) std::string arg0; cocostudio::SceneReader::AttachComponentType arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.SceneReader:createNodeWithSceneFile"); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccs.SceneReader:createNodeWithSceneFile"); if(!ok) return 0; cocos2d::Node* ret = cobj->createNodeWithSceneFile(arg0, arg1); object_to_luaval(tolua_S, "cc.Node",(cocos2d::Node*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "createNodeWithSceneFile",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.SceneReader:createNodeWithSceneFile",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -14084,7 +14084,7 @@ int lua_cocos2dx_studio_SceneReader_getAttachComponentType(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAttachComponentType",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.SceneReader:getAttachComponentType",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -14124,14 +14124,14 @@ int lua_cocos2dx_studio_SceneReader_getNodeByTag(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccs.SceneReader:getNodeByTag"); if(!ok) return 0; cocos2d::Node* ret = cobj->getNodeByTag(arg0); object_to_luaval(tolua_S, "cc.Node",(cocos2d::Node*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getNodeByTag",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.SceneReader:getNodeByTag",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -14163,7 +14163,7 @@ int lua_cocos2dx_studio_SceneReader_destroyInstance(lua_State* tolua_S) cocostudio::SceneReader::destroyInstance(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "destroyInstance",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.SceneReader:destroyInstance",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -14194,7 +14194,7 @@ int lua_cocos2dx_studio_SceneReader_sceneReaderVersion(lua_State* tolua_S) tolua_pushstring(tolua_S,(const char*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "sceneReaderVersion",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.SceneReader:sceneReaderVersion",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -14225,7 +14225,7 @@ int lua_cocos2dx_studio_SceneReader_getInstance(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.SceneReader",(cocostudio::SceneReader*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "getInstance",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.SceneReader:getInstance",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -14289,13 +14289,13 @@ int lua_cocos2dx_studio_NodeReader_setJsonPath(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.NodeReader:setJsonPath"); if(!ok) return 0; cobj->setJsonPath(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setJsonPath",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.NodeReader:setJsonPath",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -14335,14 +14335,14 @@ int lua_cocos2dx_studio_NodeReader_createNode(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.NodeReader:createNode"); if(!ok) return 0; cocos2d::Node* ret = cobj->createNode(arg0); object_to_luaval(tolua_S, "cc.Node",(cocos2d::Node*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "createNode",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.NodeReader:createNode",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -14382,14 +14382,14 @@ int lua_cocos2dx_studio_NodeReader_loadNodeWithFile(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.NodeReader:loadNodeWithFile"); if(!ok) return 0; cocos2d::Node* ret = cobj->loadNodeWithFile(arg0); object_to_luaval(tolua_S, "cc.Node",(cocos2d::Node*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "loadNodeWithFile",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.NodeReader:loadNodeWithFile",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -14432,7 +14432,7 @@ int lua_cocos2dx_studio_NodeReader_purge(lua_State* tolua_S) cobj->purge(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "purge",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.NodeReader:purge",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -14475,7 +14475,7 @@ int lua_cocos2dx_studio_NodeReader_init(lua_State* tolua_S) cobj->init(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "init",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.NodeReader:init",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -14515,14 +14515,14 @@ int lua_cocos2dx_studio_NodeReader_loadNodeWithContent(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.NodeReader:loadNodeWithContent"); if(!ok) return 0; cocos2d::Node* ret = cobj->loadNodeWithContent(arg0); object_to_luaval(tolua_S, "cc.Node",(cocos2d::Node*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "loadNodeWithContent",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.NodeReader:loadNodeWithContent",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -14566,7 +14566,7 @@ int lua_cocos2dx_studio_NodeReader_isRecordJsonPath(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isRecordJsonPath",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.NodeReader:isRecordJsonPath",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -14610,7 +14610,7 @@ int lua_cocos2dx_studio_NodeReader_getJsonPath(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getJsonPath",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.NodeReader:getJsonPath",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -14650,13 +14650,13 @@ int lua_cocos2dx_studio_NodeReader_setRecordJsonPath(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccs.NodeReader:setRecordJsonPath"); if(!ok) return 0; cobj->setRecordJsonPath(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setRecordJsonPath",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.NodeReader:setRecordJsonPath",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -14688,7 +14688,7 @@ int lua_cocos2dx_studio_NodeReader_destroyInstance(lua_State* tolua_S) cocostudio::timeline::NodeReader::destroyInstance(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "destroyInstance",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.NodeReader:destroyInstance",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -14718,7 +14718,7 @@ int lua_cocos2dx_studio_NodeReader_constructor(lua_State* tolua_S) tolua_register_gc(tolua_S,lua_gettop(tolua_S)); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "NodeReader",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.NodeReader:NodeReader",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -14788,14 +14788,14 @@ int lua_cocos2dx_studio_ActionTimelineCache_createAction(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.ActionTimelineCache:createAction"); if(!ok) return 0; cocostudio::timeline::ActionTimeline* ret = cobj->createAction(arg0); object_to_luaval(tolua_S, "ccs.ActionTimeline",(cocostudio::timeline::ActionTimeline*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "createAction",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionTimelineCache:createAction",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -14838,7 +14838,7 @@ int lua_cocos2dx_studio_ActionTimelineCache_purge(lua_State* tolua_S) cobj->purge(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "purge",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionTimelineCache:purge",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -14881,7 +14881,7 @@ int lua_cocos2dx_studio_ActionTimelineCache_init(lua_State* tolua_S) cobj->init(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "init",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionTimelineCache:init",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -14922,16 +14922,16 @@ int lua_cocos2dx_studio_ActionTimelineCache_loadAnimationActionWithContent(lua_S std::string arg0; std::string arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.ActionTimelineCache:loadAnimationActionWithContent"); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "ccs.ActionTimelineCache:loadAnimationActionWithContent"); if(!ok) return 0; cocostudio::timeline::ActionTimeline* ret = cobj->loadAnimationActionWithContent(arg0, arg1); object_to_luaval(tolua_S, "ccs.ActionTimeline",(cocostudio::timeline::ActionTimeline*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "loadAnimationActionWithContent",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionTimelineCache:loadAnimationActionWithContent",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -14971,14 +14971,14 @@ int lua_cocos2dx_studio_ActionTimelineCache_loadAnimationActionWithFile(lua_Stat { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.ActionTimelineCache:loadAnimationActionWithFile"); if(!ok) return 0; cocostudio::timeline::ActionTimeline* ret = cobj->loadAnimationActionWithFile(arg0); object_to_luaval(tolua_S, "ccs.ActionTimeline",(cocostudio::timeline::ActionTimeline*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "loadAnimationActionWithFile",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionTimelineCache:loadAnimationActionWithFile",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -15018,13 +15018,13 @@ int lua_cocos2dx_studio_ActionTimelineCache_removeAction(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.ActionTimelineCache:removeAction"); if(!ok) return 0; cobj->removeAction(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeAction",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionTimelineCache:removeAction",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -15056,7 +15056,7 @@ int lua_cocos2dx_studio_ActionTimelineCache_destroyInstance(lua_State* tolua_S) cocostudio::timeline::ActionTimelineCache::destroyInstance(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "destroyInstance",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.ActionTimelineCache:destroyInstance",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -15124,7 +15124,7 @@ int lua_cocos2dx_studio_Frame_clone(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.Frame",(cocostudio::timeline::Frame*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "clone",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Frame:clone",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -15170,7 +15170,7 @@ int lua_cocos2dx_studio_Frame_setNode(lua_State* tolua_S) cobj->setNode(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setNode",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Frame:setNode",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -15216,7 +15216,7 @@ int lua_cocos2dx_studio_Frame_setTimeline(lua_State* tolua_S) cobj->setTimeline(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTimeline",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Frame:setTimeline",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -15260,7 +15260,7 @@ int lua_cocos2dx_studio_Frame_getFrameIndex(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getFrameIndex",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Frame:getFrameIndex",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -15300,13 +15300,13 @@ int lua_cocos2dx_studio_Frame_apply(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccs.Frame:apply"); if(!ok) return 0; cobj->apply(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "apply",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Frame:apply",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -15350,7 +15350,7 @@ int lua_cocos2dx_studio_Frame_isTween(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isTween",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Frame:isTween",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -15390,13 +15390,13 @@ int lua_cocos2dx_studio_Frame_setFrameIndex(lua_State* tolua_S) { unsigned int arg0; - ok &= luaval_to_uint32(tolua_S, 2,&arg0); + ok &= luaval_to_uint32(tolua_S, 2,&arg0, "ccs.Frame:setFrameIndex"); if(!ok) return 0; cobj->setFrameIndex(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setFrameIndex",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Frame:setFrameIndex",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -15436,13 +15436,13 @@ int lua_cocos2dx_studio_Frame_setTween(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccs.Frame:setTween"); if(!ok) return 0; cobj->setTween(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTween",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Frame:setTween",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -15486,7 +15486,7 @@ int lua_cocos2dx_studio_Frame_getTimeline(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.Timeline",(cocostudio::timeline::Timeline*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTimeline",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Frame:getTimeline",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -15530,7 +15530,7 @@ int lua_cocos2dx_studio_Frame_getNode(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Node",(cocos2d::Node*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getNode",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Frame:getNode",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -15603,7 +15603,7 @@ int lua_cocos2dx_studio_VisibleFrame_isVisible(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isVisible",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.VisibleFrame:isVisible",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -15643,13 +15643,13 @@ int lua_cocos2dx_studio_VisibleFrame_setVisible(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccs.VisibleFrame:setVisible"); if(!ok) return 0; cobj->setVisible(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setVisible",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.VisibleFrame:setVisible",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -15682,7 +15682,7 @@ int lua_cocos2dx_studio_VisibleFrame_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.VisibleFrame",(cocostudio::timeline::VisibleFrame*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.VisibleFrame:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -15714,7 +15714,7 @@ int lua_cocos2dx_studio_VisibleFrame_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.VisibleFrame"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "VisibleFrame",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.VisibleFrame:VisibleFrame",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -15781,7 +15781,7 @@ int lua_cocos2dx_studio_TextureFrame_getTextureName(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTextureName",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.TextureFrame:getTextureName",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -15827,7 +15827,7 @@ int lua_cocos2dx_studio_TextureFrame_setNode(lua_State* tolua_S) cobj->setNode(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setNode",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.TextureFrame:setNode",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -15867,13 +15867,13 @@ int lua_cocos2dx_studio_TextureFrame_setTextureName(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.TextureFrame:setTextureName"); if(!ok) return 0; cobj->setTextureName(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTextureName",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.TextureFrame:setTextureName",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -15906,7 +15906,7 @@ int lua_cocos2dx_studio_TextureFrame_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.TextureFrame",(cocostudio::timeline::TextureFrame*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.TextureFrame:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -15938,7 +15938,7 @@ int lua_cocos2dx_studio_TextureFrame_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.TextureFrame"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "TextureFrame",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.TextureFrame:TextureFrame",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -16002,13 +16002,13 @@ int lua_cocos2dx_studio_RotationFrame_setRotation(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccs.RotationFrame:setRotation"); if(!ok) return 0; cobj->setRotation(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setRotation",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.RotationFrame:setRotation",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -16052,7 +16052,7 @@ int lua_cocos2dx_studio_RotationFrame_getRotation(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getRotation",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.RotationFrame:getRotation",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -16085,7 +16085,7 @@ int lua_cocos2dx_studio_RotationFrame_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.RotationFrame",(cocostudio::timeline::RotationFrame*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.RotationFrame:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -16117,7 +16117,7 @@ int lua_cocos2dx_studio_RotationFrame_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.RotationFrame"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "RotationFrame",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.RotationFrame:RotationFrame",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -16184,7 +16184,7 @@ int lua_cocos2dx_studio_SkewFrame_getSkewY(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getSkewY",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.SkewFrame:getSkewY",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -16224,13 +16224,13 @@ int lua_cocos2dx_studio_SkewFrame_setSkewX(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccs.SkewFrame:setSkewX"); if(!ok) return 0; cobj->setSkewX(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setSkewX",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.SkewFrame:setSkewX",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -16270,13 +16270,13 @@ int lua_cocos2dx_studio_SkewFrame_setSkewY(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccs.SkewFrame:setSkewY"); if(!ok) return 0; cobj->setSkewY(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setSkewY",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.SkewFrame:setSkewY",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -16320,7 +16320,7 @@ int lua_cocos2dx_studio_SkewFrame_getSkewX(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getSkewX",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.SkewFrame:getSkewX",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -16353,7 +16353,7 @@ int lua_cocos2dx_studio_SkewFrame_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.SkewFrame",(cocostudio::timeline::SkewFrame*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.SkewFrame:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -16385,7 +16385,7 @@ int lua_cocos2dx_studio_SkewFrame_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.SkewFrame"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "SkewFrame",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.SkewFrame:SkewFrame",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -16443,7 +16443,7 @@ int lua_cocos2dx_studio_RotationSkewFrame_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.RotationSkewFrame",(cocostudio::timeline::RotationSkewFrame*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.RotationSkewFrame:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -16475,7 +16475,7 @@ int lua_cocos2dx_studio_RotationSkewFrame_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.RotationSkewFrame"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "RotationSkewFrame",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.RotationSkewFrame:RotationSkewFrame",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -16540,7 +16540,7 @@ int lua_cocos2dx_studio_PositionFrame_getX(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getX",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.PositionFrame:getX",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -16584,7 +16584,7 @@ int lua_cocos2dx_studio_PositionFrame_getY(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getY",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.PositionFrame:getY",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -16624,13 +16624,13 @@ int lua_cocos2dx_studio_PositionFrame_setPosition(lua_State* tolua_S) { cocos2d::Point arg0; - ok &= luaval_to_point(tolua_S, 2, &arg0); + ok &= luaval_to_point(tolua_S, 2, &arg0, "ccs.PositionFrame:setPosition"); if(!ok) return 0; cobj->setPosition(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setPosition",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.PositionFrame:setPosition",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -16670,13 +16670,13 @@ int lua_cocos2dx_studio_PositionFrame_setX(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccs.PositionFrame:setX"); if(!ok) return 0; cobj->setX(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setX",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.PositionFrame:setX",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -16716,13 +16716,13 @@ int lua_cocos2dx_studio_PositionFrame_setY(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccs.PositionFrame:setY"); if(!ok) return 0; cobj->setY(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setY",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.PositionFrame:setY",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -16766,7 +16766,7 @@ int lua_cocos2dx_studio_PositionFrame_getPosition(lua_State* tolua_S) point_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPosition",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.PositionFrame:getPosition",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -16799,7 +16799,7 @@ int lua_cocos2dx_studio_PositionFrame_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.PositionFrame",(cocostudio::timeline::PositionFrame*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.PositionFrame:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -16831,7 +16831,7 @@ int lua_cocos2dx_studio_PositionFrame_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.PositionFrame"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "PositionFrame",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.PositionFrame:PositionFrame",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -16898,13 +16898,13 @@ int lua_cocos2dx_studio_ScaleFrame_setScaleY(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccs.ScaleFrame:setScaleY"); if(!ok) return 0; cobj->setScaleY(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setScaleY",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ScaleFrame:setScaleY",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -16944,13 +16944,13 @@ int lua_cocos2dx_studio_ScaleFrame_setScaleX(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccs.ScaleFrame:setScaleX"); if(!ok) return 0; cobj->setScaleX(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setScaleX",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ScaleFrame:setScaleX",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -16994,7 +16994,7 @@ int lua_cocos2dx_studio_ScaleFrame_getScaleY(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getScaleY",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ScaleFrame:getScaleY",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -17038,7 +17038,7 @@ int lua_cocos2dx_studio_ScaleFrame_getScaleX(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getScaleX",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ScaleFrame:getScaleX",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -17078,13 +17078,13 @@ int lua_cocos2dx_studio_ScaleFrame_setScale(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccs.ScaleFrame:setScale"); if(!ok) return 0; cobj->setScale(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setScale",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ScaleFrame:setScale",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -17117,7 +17117,7 @@ int lua_cocos2dx_studio_ScaleFrame_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.ScaleFrame",(cocostudio::timeline::ScaleFrame*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.ScaleFrame:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -17149,7 +17149,7 @@ int lua_cocos2dx_studio_ScaleFrame_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.ScaleFrame"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ScaleFrame",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ScaleFrame:ScaleFrame",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -17215,13 +17215,13 @@ int lua_cocos2dx_studio_AnchorPointFrame_setAnchorPoint(lua_State* tolua_S) { cocos2d::Point arg0; - ok &= luaval_to_point(tolua_S, 2, &arg0); + ok &= luaval_to_point(tolua_S, 2, &arg0, "ccs.AnchorPointFrame:setAnchorPoint"); if(!ok) return 0; cobj->setAnchorPoint(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAnchorPoint",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.AnchorPointFrame:setAnchorPoint",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -17265,7 +17265,7 @@ int lua_cocos2dx_studio_AnchorPointFrame_getAnchorPoint(lua_State* tolua_S) point_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAnchorPoint",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.AnchorPointFrame:getAnchorPoint",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -17298,7 +17298,7 @@ int lua_cocos2dx_studio_AnchorPointFrame_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.AnchorPointFrame",(cocostudio::timeline::AnchorPointFrame*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.AnchorPointFrame:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -17330,7 +17330,7 @@ int lua_cocos2dx_studio_AnchorPointFrame_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.AnchorPointFrame"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "AnchorPointFrame",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.AnchorPointFrame:AnchorPointFrame",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -17397,7 +17397,7 @@ int lua_cocos2dx_studio_InnerActionFrame_getInnerActionType(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getInnerActionType",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.InnerActionFrame:getInnerActionType",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -17437,13 +17437,13 @@ int lua_cocos2dx_studio_InnerActionFrame_setStartFrameIndex(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccs.InnerActionFrame:setStartFrameIndex"); if(!ok) return 0; cobj->setStartFrameIndex(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setStartFrameIndex",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.InnerActionFrame:setStartFrameIndex",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -17483,13 +17483,13 @@ int lua_cocos2dx_studio_InnerActionFrame_setInnerActionType(lua_State* tolua_S) { cocostudio::timeline::InnerActionType arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccs.InnerActionFrame:setInnerActionType"); if(!ok) return 0; cobj->setInnerActionType(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setInnerActionType",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.InnerActionFrame:setInnerActionType",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -17533,7 +17533,7 @@ int lua_cocos2dx_studio_InnerActionFrame_getStartFrameIndex(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getStartFrameIndex",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.InnerActionFrame:getStartFrameIndex",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -17566,7 +17566,7 @@ int lua_cocos2dx_studio_InnerActionFrame_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.InnerActionFrame",(cocostudio::timeline::InnerActionFrame*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.InnerActionFrame:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -17598,7 +17598,7 @@ int lua_cocos2dx_studio_InnerActionFrame_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.InnerActionFrame"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "InnerActionFrame",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.InnerActionFrame:InnerActionFrame",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -17667,7 +17667,7 @@ int lua_cocos2dx_studio_ColorFrame_getAlpha(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAlpha",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ColorFrame:getAlpha",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -17711,7 +17711,7 @@ int lua_cocos2dx_studio_ColorFrame_getColor(lua_State* tolua_S) color3b_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getColor",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ColorFrame:getColor",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -17751,13 +17751,13 @@ int lua_cocos2dx_studio_ColorFrame_setAlpha(lua_State* tolua_S) { uint16_t arg0; - ok &= luaval_to_uint16(tolua_S, 2,&arg0); + ok &= luaval_to_uint16(tolua_S, 2,&arg0, "ccs.ColorFrame:setAlpha"); if(!ok) return 0; cobj->setAlpha(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAlpha",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ColorFrame:setAlpha",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -17797,13 +17797,13 @@ int lua_cocos2dx_studio_ColorFrame_setColor(lua_State* tolua_S) { cocos2d::Color3B arg0; - ok &= luaval_to_color3b(tolua_S, 2, &arg0); + ok &= luaval_to_color3b(tolua_S, 2, &arg0, "ccs.ColorFrame:setColor"); if(!ok) return 0; cobj->setColor(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setColor",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ColorFrame:setColor",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -17836,7 +17836,7 @@ int lua_cocos2dx_studio_ColorFrame_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.ColorFrame",(cocostudio::timeline::ColorFrame*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.ColorFrame:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -17868,7 +17868,7 @@ int lua_cocos2dx_studio_ColorFrame_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.ColorFrame"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ColorFrame",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ColorFrame:ColorFrame",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -17933,13 +17933,13 @@ int lua_cocos2dx_studio_EventFrame_setEvent(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccs.EventFrame:setEvent"); if(!ok) return 0; cobj->setEvent(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setEvent",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.EventFrame:setEvent",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -17983,7 +17983,7 @@ int lua_cocos2dx_studio_EventFrame_getEvent(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getEvent",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.EventFrame:getEvent",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -18016,7 +18016,7 @@ int lua_cocos2dx_studio_EventFrame_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.EventFrame",(cocostudio::timeline::EventFrame*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.EventFrame:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -18048,7 +18048,7 @@ int lua_cocos2dx_studio_EventFrame_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.EventFrame"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "EventFrame",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.EventFrame:EventFrame",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -18115,7 +18115,7 @@ int lua_cocos2dx_studio_ZOrderFrame_getZOrder(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getZOrder",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ZOrderFrame:getZOrder",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -18155,13 +18155,13 @@ int lua_cocos2dx_studio_ZOrderFrame_setZOrder(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccs.ZOrderFrame:setZOrder"); if(!ok) return 0; cobj->setZOrder(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setZOrder",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ZOrderFrame:setZOrder",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -18194,7 +18194,7 @@ int lua_cocos2dx_studio_ZOrderFrame_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.ZOrderFrame",(cocostudio::timeline::ZOrderFrame*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.ZOrderFrame:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -18226,7 +18226,7 @@ int lua_cocos2dx_studio_ZOrderFrame_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.ZOrderFrame"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ZOrderFrame",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ZOrderFrame:ZOrderFrame",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -18293,7 +18293,7 @@ int lua_cocos2dx_studio_Timeline_clone(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.Timeline",(cocostudio::timeline::Timeline*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "clone",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Timeline:clone",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -18333,13 +18333,13 @@ int lua_cocos2dx_studio_Timeline_gotoFrame(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccs.Timeline:gotoFrame"); if(!ok) return 0; cobj->gotoFrame(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "gotoFrame",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Timeline:gotoFrame",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -18385,7 +18385,7 @@ int lua_cocos2dx_studio_Timeline_setNode(lua_State* tolua_S) cobj->setNode(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setNode",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Timeline:setNode",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -18429,7 +18429,7 @@ int lua_cocos2dx_studio_Timeline_getActionTimeline(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.ActionTimeline",(cocostudio::timeline::ActionTimeline*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getActionTimeline",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Timeline:getActionTimeline",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -18472,13 +18472,13 @@ int lua_cocos2dx_studio_Timeline_insertFrame(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 2, "ccs.Frame",&arg0); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccs.Timeline:insertFrame"); if(!ok) return 0; cobj->insertFrame(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "insertFrame",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Timeline:insertFrame",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -18518,13 +18518,13 @@ int lua_cocos2dx_studio_Timeline_setActionTag(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccs.Timeline:setActionTag"); if(!ok) return 0; cobj->setActionTag(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setActionTag",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Timeline:setActionTag",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -18570,7 +18570,7 @@ int lua_cocos2dx_studio_Timeline_addFrame(lua_State* tolua_S) cobj->addFrame(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addFrame",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Timeline:addFrame",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -18614,7 +18614,7 @@ int lua_cocos2dx_studio_Timeline_getFrames(lua_State* tolua_S) ccvector_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getFrames",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Timeline:getFrames",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -18658,7 +18658,7 @@ int lua_cocos2dx_studio_Timeline_getActionTag(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getActionTag",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Timeline:getActionTag",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -18702,7 +18702,7 @@ int lua_cocos2dx_studio_Timeline_getNode(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Node",(cocos2d::Node*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getNode",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Timeline:getNode",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -18748,7 +18748,7 @@ int lua_cocos2dx_studio_Timeline_removeFrame(lua_State* tolua_S) cobj->removeFrame(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeFrame",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Timeline:removeFrame",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -18794,7 +18794,7 @@ int lua_cocos2dx_studio_Timeline_setActionTimeline(lua_State* tolua_S) cobj->setActionTimeline(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setActionTimeline",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Timeline:setActionTimeline",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -18834,13 +18834,13 @@ int lua_cocos2dx_studio_Timeline_stepToFrame(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccs.Timeline:stepToFrame"); if(!ok) return 0; cobj->stepToFrame(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "stepToFrame",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Timeline:stepToFrame",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -18873,7 +18873,7 @@ int lua_cocos2dx_studio_Timeline_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.Timeline",(cocostudio::timeline::Timeline*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.Timeline:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -18905,7 +18905,7 @@ int lua_cocos2dx_studio_Timeline_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.Timeline"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "Timeline",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.Timeline:Timeline",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -18979,13 +18979,13 @@ int lua_cocos2dx_studio_ActionTimelineData_setActionTag(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccs.ActionTimelineData:setActionTag"); if(!ok) return 0; cobj->setActionTag(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setActionTag",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionTimelineData:setActionTag",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -19029,7 +19029,7 @@ int lua_cocos2dx_studio_ActionTimelineData_getActionTag(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getActionTag",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionTimelineData:getActionTag",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -19057,14 +19057,14 @@ int lua_cocos2dx_studio_ActionTimelineData_create(lua_State* tolua_S) if (argc == 1) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccs.ActionTimelineData:create"); if(!ok) return 0; cocostudio::timeline::ActionTimelineData* ret = cocostudio::timeline::ActionTimelineData::create(arg0); object_to_luaval(tolua_S, "ccs.ActionTimelineData",(cocostudio::timeline::ActionTimelineData*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.ActionTimelineData:create",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -19128,7 +19128,7 @@ int lua_cocos2dx_studio_ActionTimeline_getTimelines(lua_State* tolua_S) ccvector_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTimelines",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionTimeline:getTimelines",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -19172,7 +19172,7 @@ int lua_cocos2dx_studio_ActionTimeline_getCurrentFrame(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getCurrentFrame",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionTimeline:getCurrentFrame",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -19216,7 +19216,7 @@ int lua_cocos2dx_studio_ActionTimeline_getStartFrame(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getStartFrame",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionTimeline:getStartFrame",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -19259,7 +19259,7 @@ int lua_cocos2dx_studio_ActionTimeline_pause(lua_State* tolua_S) cobj->pause(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "pause",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionTimeline:pause",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -19309,7 +19309,7 @@ int lua_cocos2dx_studio_ActionTimeline_setFrameEventCallFunc(lua_State* tolua_S) cobj->setFrameEventCallFunc(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setFrameEventCallFunc",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionTimeline:setFrameEventCallFunc",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -19352,7 +19352,7 @@ int lua_cocos2dx_studio_ActionTimeline_resume(lua_State* tolua_S) cobj->resume(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "resume",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionTimeline:resume",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -19396,7 +19396,7 @@ int lua_cocos2dx_studio_ActionTimeline_getDuration(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDuration",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionTimeline:getDuration",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -19442,7 +19442,7 @@ int lua_cocos2dx_studio_ActionTimeline_addTimeline(lua_State* tolua_S) cobj->addTimeline(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addTimeline",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionTimeline:addTimeline",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -19486,7 +19486,7 @@ int lua_cocos2dx_studio_ActionTimeline_getEndFrame(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getEndFrame",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionTimeline:getEndFrame",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -19526,13 +19526,13 @@ int lua_cocos2dx_studio_ActionTimeline_setCurrentFrame(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccs.ActionTimeline:setCurrentFrame"); if(!ok) return 0; cobj->setCurrentFrame(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setCurrentFrame",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionTimeline:setCurrentFrame",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -19572,13 +19572,13 @@ int lua_cocos2dx_studio_ActionTimeline_setTimeSpeed(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccs.ActionTimeline:setTimeSpeed"); if(!ok) return 0; cobj->setTimeSpeed(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTimeSpeed",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionTimeline:setTimeSpeed",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -19622,7 +19622,7 @@ int lua_cocos2dx_studio_ActionTimeline_init(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "init",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionTimeline:init",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -19662,13 +19662,13 @@ int lua_cocos2dx_studio_ActionTimeline_setDuration(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccs.ActionTimeline:setDuration"); if(!ok) return 0; cobj->setDuration(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setDuration",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionTimeline:setDuration",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -19712,7 +19712,7 @@ int lua_cocos2dx_studio_ActionTimeline_getTimeSpeed(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTimeSpeed",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionTimeline:getTimeSpeed",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -19752,13 +19752,13 @@ int lua_cocos2dx_studio_ActionTimeline_gotoFrameAndPause(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccs.ActionTimeline:gotoFrameAndPause"); if(!ok) return 0; cobj->gotoFrameAndPause(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "gotoFrameAndPause",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionTimeline:gotoFrameAndPause",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -19802,7 +19802,7 @@ int lua_cocos2dx_studio_ActionTimeline_isPlaying(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isPlaying",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionTimeline:isPlaying",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -19836,11 +19836,11 @@ int lua_cocos2dx_studio_ActionTimeline_gotoFrameAndPlay(lua_State* tolua_S) do{ if (argc == 2) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccs.ActionTimeline:gotoFrameAndPlay"); if (!ok) { break; } bool arg1; - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "ccs.ActionTimeline:gotoFrameAndPlay"); if (!ok) { break; } cobj->gotoFrameAndPlay(arg0, arg1); @@ -19851,7 +19851,7 @@ int lua_cocos2dx_studio_ActionTimeline_gotoFrameAndPlay(lua_State* tolua_S) do{ if (argc == 1) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccs.ActionTimeline:gotoFrameAndPlay"); if (!ok) { break; } cobj->gotoFrameAndPlay(arg0); @@ -19862,15 +19862,15 @@ int lua_cocos2dx_studio_ActionTimeline_gotoFrameAndPlay(lua_State* tolua_S) do{ if (argc == 3) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccs.ActionTimeline:gotoFrameAndPlay"); if (!ok) { break; } int arg1; - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccs.ActionTimeline:gotoFrameAndPlay"); if (!ok) { break; } bool arg2; - ok &= luaval_to_boolean(tolua_S, 4,&arg2); + ok &= luaval_to_boolean(tolua_S, 4,&arg2, "ccs.ActionTimeline:gotoFrameAndPlay"); if (!ok) { break; } cobj->gotoFrameAndPlay(arg0, arg1, arg2); @@ -19881,19 +19881,19 @@ int lua_cocos2dx_studio_ActionTimeline_gotoFrameAndPlay(lua_State* tolua_S) do{ if (argc == 4) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccs.ActionTimeline:gotoFrameAndPlay"); if (!ok) { break; } int arg1; - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccs.ActionTimeline:gotoFrameAndPlay"); if (!ok) { break; } int arg2; - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "ccs.ActionTimeline:gotoFrameAndPlay"); if (!ok) { break; } bool arg3; - ok &= luaval_to_boolean(tolua_S, 5,&arg3); + ok &= luaval_to_boolean(tolua_S, 5,&arg3, "ccs.ActionTimeline:gotoFrameAndPlay"); if (!ok) { break; } cobj->gotoFrameAndPlay(arg0, arg1, arg2, arg3); @@ -19901,7 +19901,7 @@ int lua_cocos2dx_studio_ActionTimeline_gotoFrameAndPlay(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "gotoFrameAndPlay",argc, 4); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionTimeline:gotoFrameAndPlay",argc, 4); return 0; #if COCOS2D_DEBUG >= 1 @@ -19947,7 +19947,7 @@ int lua_cocos2dx_studio_ActionTimeline_removeTimeline(lua_State* tolua_S) cobj->removeTimeline(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeTimeline",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionTimeline:removeTimeline",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -19990,7 +19990,7 @@ int lua_cocos2dx_studio_ActionTimeline_clearFrameEventCallFunc(lua_State* tolua_ cobj->clearFrameEventCallFunc(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "clearFrameEventCallFunc",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionTimeline:clearFrameEventCallFunc",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -20023,7 +20023,7 @@ int lua_cocos2dx_studio_ActionTimeline_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccs.ActionTimeline",(cocostudio::timeline::ActionTimeline*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccs.ActionTimeline:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -20055,7 +20055,7 @@ int lua_cocos2dx_studio_ActionTimeline_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccs.ActionTimeline"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ActionTimeline",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccs.ActionTimeline:ActionTimeline",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_ui_auto.cpp b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_ui_auto.cpp index d604eeb923..5f5c7f0e32 100644 --- a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_ui_auto.cpp +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_ui_auto.cpp @@ -39,7 +39,7 @@ int lua_cocos2dx_ui_LayoutParameter_clone(lua_State* tolua_S) object_to_luaval(tolua_S, "ccui.LayoutParameter",(cocos2d::ui::LayoutParameter*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "clone",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.LayoutParameter:clone",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -83,7 +83,7 @@ int lua_cocos2dx_ui_LayoutParameter_getLayoutType(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getLayoutType",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.LayoutParameter:getLayoutType",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -127,7 +127,7 @@ int lua_cocos2dx_ui_LayoutParameter_createCloneInstance(lua_State* tolua_S) object_to_luaval(tolua_S, "ccui.LayoutParameter",(cocos2d::ui::LayoutParameter*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "createCloneInstance",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.LayoutParameter:createCloneInstance",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -173,7 +173,7 @@ int lua_cocos2dx_ui_LayoutParameter_copyProperties(lua_State* tolua_S) cobj->copyProperties(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "copyProperties",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.LayoutParameter:copyProperties",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -206,7 +206,7 @@ int lua_cocos2dx_ui_LayoutParameter_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccui.LayoutParameter",(cocos2d::ui::LayoutParameter*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccui.LayoutParameter:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -238,7 +238,7 @@ int lua_cocos2dx_ui_LayoutParameter_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccui.LayoutParameter"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "LayoutParameter",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.LayoutParameter:LayoutParameter",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -303,13 +303,13 @@ int lua_cocos2dx_ui_LinearLayoutParameter_setGravity(lua_State* tolua_S) { cocos2d::ui::LinearLayoutParameter::LinearGravity arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccui.LinearLayoutParameter:setGravity"); if(!ok) return 0; cobj->setGravity(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setGravity",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.LinearLayoutParameter:setGravity",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -353,7 +353,7 @@ int lua_cocos2dx_ui_LinearLayoutParameter_getGravity(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getGravity",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.LinearLayoutParameter:getGravity",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -386,7 +386,7 @@ int lua_cocos2dx_ui_LinearLayoutParameter_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccui.LinearLayoutParameter",(cocos2d::ui::LinearLayoutParameter*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccui.LinearLayoutParameter:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -418,7 +418,7 @@ int lua_cocos2dx_ui_LinearLayoutParameter_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccui.LinearLayoutParameter"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "LinearLayoutParameter",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.LinearLayoutParameter:LinearLayoutParameter",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -481,13 +481,13 @@ int lua_cocos2dx_ui_RelativeLayoutParameter_setAlign(lua_State* tolua_S) { cocos2d::ui::RelativeLayoutParameter::RelativeAlign arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccui.RelativeLayoutParameter:setAlign"); if(!ok) return 0; cobj->setAlign(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAlign",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.RelativeLayoutParameter:setAlign",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -527,13 +527,13 @@ int lua_cocos2dx_ui_RelativeLayoutParameter_setRelativeToWidgetName(lua_State* t { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.RelativeLayoutParameter:setRelativeToWidgetName"); if(!ok) return 0; cobj->setRelativeToWidgetName(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setRelativeToWidgetName",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.RelativeLayoutParameter:setRelativeToWidgetName",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -577,7 +577,7 @@ int lua_cocos2dx_ui_RelativeLayoutParameter_getRelativeName(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getRelativeName",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.RelativeLayoutParameter:getRelativeName",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -621,7 +621,7 @@ int lua_cocos2dx_ui_RelativeLayoutParameter_getRelativeToWidgetName(lua_State* t tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getRelativeToWidgetName",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.RelativeLayoutParameter:getRelativeToWidgetName",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -661,13 +661,13 @@ int lua_cocos2dx_ui_RelativeLayoutParameter_setRelativeName(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.RelativeLayoutParameter:setRelativeName"); if(!ok) return 0; cobj->setRelativeName(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setRelativeName",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.RelativeLayoutParameter:setRelativeName",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -711,7 +711,7 @@ int lua_cocos2dx_ui_RelativeLayoutParameter_getAlign(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAlign",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.RelativeLayoutParameter:getAlign",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -744,7 +744,7 @@ int lua_cocos2dx_ui_RelativeLayoutParameter_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccui.RelativeLayoutParameter",(cocos2d::ui::RelativeLayoutParameter*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccui.RelativeLayoutParameter:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -776,7 +776,7 @@ int lua_cocos2dx_ui_RelativeLayoutParameter_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccui.RelativeLayoutParameter"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "RelativeLayoutParameter",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.RelativeLayoutParameter:RelativeLayoutParameter",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -843,13 +843,13 @@ int lua_cocos2dx_ui_Widget_setSizePercent(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "ccui.Widget:setSizePercent"); if(!ok) return 0; cobj->setSizePercent(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setSizePercent",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:setSizePercent",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -893,7 +893,7 @@ int lua_cocos2dx_ui_Widget_getCustomSize(lua_State* tolua_S) size_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getCustomSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:getCustomSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -933,13 +933,13 @@ int lua_cocos2dx_ui_Widget_setFlippedY(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccui.Widget:setFlippedY"); if(!ok) return 0; cobj->setFlippedY(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setFlippedY",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:setFlippedY",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -979,13 +979,13 @@ int lua_cocos2dx_ui_Widget_setFlippedX(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccui.Widget:setFlippedX"); if(!ok) return 0; cobj->setFlippedX(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setFlippedX",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:setFlippedX",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1029,7 +1029,7 @@ int lua_cocos2dx_ui_Widget_getVirtualRenderer(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Node",(cocos2d::Node*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getVirtualRenderer",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:getVirtualRenderer",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1073,7 +1073,7 @@ int lua_cocos2dx_ui_Widget_getSizePercent(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getSizePercent",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:getSizePercent",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1113,13 +1113,13 @@ int lua_cocos2dx_ui_Widget_setPositionPercent(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "ccui.Widget:setPositionPercent"); if(!ok) return 0; cobj->setPositionPercent(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setPositionPercent",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:setPositionPercent",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1163,7 +1163,7 @@ int lua_cocos2dx_ui_Widget_getLayoutSize(lua_State* tolua_S) size_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getLayoutSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:getLayoutSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1203,13 +1203,13 @@ int lua_cocos2dx_ui_Widget_setHighlighted(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccui.Widget:setHighlighted"); if(!ok) return 0; cobj->setHighlighted(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setHighlighted",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:setHighlighted",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1249,13 +1249,13 @@ int lua_cocos2dx_ui_Widget_setPositionType(lua_State* tolua_S) { cocos2d::ui::Widget::PositionType arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccui.Widget:setPositionType"); if(!ok) return 0; cobj->setPositionType(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setPositionType",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:setPositionType",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1299,7 +1299,7 @@ int lua_cocos2dx_ui_Widget_isIgnoreContentAdaptWithSize(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isIgnoreContentAdaptWithSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:isIgnoreContentAdaptWithSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1343,7 +1343,7 @@ int lua_cocos2dx_ui_Widget_getVirtualRendererSize(lua_State* tolua_S) size_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getVirtualRendererSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:getVirtualRendererSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1387,7 +1387,7 @@ int lua_cocos2dx_ui_Widget_isHighlighted(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isHighlighted",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:isHighlighted",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1431,7 +1431,7 @@ int lua_cocos2dx_ui_Widget_getLayoutParameter(lua_State* tolua_S) object_to_luaval(tolua_S, "ccui.LayoutParameter",(cocos2d::ui::LayoutParameter*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getLayoutParameter",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:getLayoutParameter",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1472,7 +1472,7 @@ int lua_cocos2dx_ui_Widget_findNextFocusedWidget(lua_State* tolua_S) cocos2d::ui::Widget::FocusDirection arg0; cocos2d::ui::Widget* arg1; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccui.Widget:findNextFocusedWidget"); ok &= luaval_to_object(tolua_S, 3, "ccui.Widget",&arg1); if(!ok) @@ -1481,7 +1481,7 @@ int lua_cocos2dx_ui_Widget_findNextFocusedWidget(lua_State* tolua_S) object_to_luaval(tolua_S, "ccui.Widget",(cocos2d::ui::Widget*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "findNextFocusedWidget",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:findNextFocusedWidget",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -1525,7 +1525,7 @@ int lua_cocos2dx_ui_Widget_getPositionType(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPositionType",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:getPositionType",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1569,7 +1569,7 @@ int lua_cocos2dx_ui_Widget_getTopBoundary(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTopBoundary",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:getTopBoundary",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1609,13 +1609,13 @@ int lua_cocos2dx_ui_Widget_ignoreContentAdaptWithSize(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccui.Widget:ignoreContentAdaptWithSize"); if(!ok) return 0; cobj->ignoreContentAdaptWithSize(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ignoreContentAdaptWithSize",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:ignoreContentAdaptWithSize",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1659,7 +1659,7 @@ int lua_cocos2dx_ui_Widget_isEnabled(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isEnabled",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:isEnabled",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1703,7 +1703,7 @@ int lua_cocos2dx_ui_Widget_isFocused(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isFocused",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:isFocused",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1747,7 +1747,7 @@ int lua_cocos2dx_ui_Widget_getTouchBeganPosition(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTouchBeganPosition",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:getTouchBeganPosition",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1791,7 +1791,7 @@ int lua_cocos2dx_ui_Widget_isTouchEnabled(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isTouchEnabled",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:isTouchEnabled",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1835,7 +1835,7 @@ int lua_cocos2dx_ui_Widget_getActionTag(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getActionTag",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:getActionTag",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1879,7 +1879,7 @@ int lua_cocos2dx_ui_Widget_getWorldPosition(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getWorldPosition",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:getWorldPosition",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -1919,13 +1919,13 @@ int lua_cocos2dx_ui_Widget_setFocused(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccui.Widget:setFocused"); if(!ok) return 0; cobj->setFocused(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setFocused",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:setFocused",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -1965,13 +1965,13 @@ int lua_cocos2dx_ui_Widget_setActionTag(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccui.Widget:setActionTag"); if(!ok) return 0; cobj->setActionTag(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setActionTag",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:setActionTag",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -2011,13 +2011,13 @@ int lua_cocos2dx_ui_Widget_setTouchEnabled(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccui.Widget:setTouchEnabled"); if(!ok) return 0; cobj->setTouchEnabled(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTouchEnabled",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:setTouchEnabled",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -2061,7 +2061,7 @@ int lua_cocos2dx_ui_Widget_getLeftBoundary(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getLeftBoundary",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:getLeftBoundary",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2101,13 +2101,13 @@ int lua_cocos2dx_ui_Widget_setEnabled(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccui.Widget:setEnabled"); if(!ok) return 0; cobj->setEnabled(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setEnabled",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:setEnabled",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -2151,7 +2151,7 @@ int lua_cocos2dx_ui_Widget_getRightBoundary(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getRightBoundary",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:getRightBoundary",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2191,13 +2191,13 @@ int lua_cocos2dx_ui_Widget_setBrightStyle(lua_State* tolua_S) { cocos2d::ui::Widget::BrightStyle arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccui.Widget:setBrightStyle"); if(!ok) return 0; cobj->setBrightStyle(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setBrightStyle",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:setBrightStyle",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -2243,7 +2243,7 @@ int lua_cocos2dx_ui_Widget_setLayoutParameter(lua_State* tolua_S) cobj->setLayoutParameter(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setLayoutParameter",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:setLayoutParameter",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -2287,7 +2287,7 @@ int lua_cocos2dx_ui_Widget_clone(lua_State* tolua_S) object_to_luaval(tolua_S, "ccui.Widget",(cocos2d::ui::Widget*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "clone",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:clone",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2327,13 +2327,13 @@ int lua_cocos2dx_ui_Widget_setFocusEnabled(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccui.Widget:setFocusEnabled"); if(!ok) return 0; cobj->setFocusEnabled(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setFocusEnabled",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:setFocusEnabled",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -2377,7 +2377,7 @@ int lua_cocos2dx_ui_Widget_getBottomBoundary(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBottomBoundary",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:getBottomBoundary",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2421,7 +2421,7 @@ int lua_cocos2dx_ui_Widget_isBright(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isBright",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:isBright",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2465,7 +2465,7 @@ int lua_cocos2dx_ui_Widget_getCurrentFocusedWidget(lua_State* tolua_S) object_to_luaval(tolua_S, "ccui.Widget",(cocos2d::ui::Widget*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getCurrentFocusedWidget",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:getCurrentFocusedWidget",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2508,7 +2508,7 @@ int lua_cocos2dx_ui_Widget_requestFocus(lua_State* tolua_S) cobj->requestFocus(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "requestFocus",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:requestFocus",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2542,7 +2542,7 @@ int lua_cocos2dx_ui_Widget_updateSizeAndPosition(lua_State* tolua_S) do{ if (argc == 1) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "ccui.Widget:updateSizeAndPosition"); if (!ok) { break; } cobj->updateSizeAndPosition(arg0); @@ -2557,7 +2557,7 @@ int lua_cocos2dx_ui_Widget_updateSizeAndPosition(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "updateSizeAndPosition",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:updateSizeAndPosition",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2601,7 +2601,7 @@ int lua_cocos2dx_ui_Widget_getTouchMovePosition(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTouchMovePosition",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:getTouchMovePosition",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2645,7 +2645,7 @@ int lua_cocos2dx_ui_Widget_getSizeType(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getSizeType",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:getSizeType",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2695,7 +2695,7 @@ int lua_cocos2dx_ui_Widget_addTouchEventListener(lua_State* tolua_S) cobj->addTouchEventListener(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addTouchEventListener",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:addTouchEventListener",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -2739,7 +2739,7 @@ int lua_cocos2dx_ui_Widget_getTouchEndPosition(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTouchEndPosition",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:getTouchEndPosition",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2783,7 +2783,7 @@ int lua_cocos2dx_ui_Widget_getPositionPercent(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPositionPercent",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:getPositionPercent",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2823,14 +2823,14 @@ int lua_cocos2dx_ui_Widget_hitTest(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "ccui.Widget:hitTest"); if(!ok) return 0; bool ret = cobj->hitTest(arg0); tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "hitTest",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:hitTest",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -2874,7 +2874,7 @@ int lua_cocos2dx_ui_Widget_isFlippedX(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isFlippedX",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:isFlippedX",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2918,7 +2918,7 @@ int lua_cocos2dx_ui_Widget_isFlippedY(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isFlippedY",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:isFlippedY",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -2958,14 +2958,14 @@ int lua_cocos2dx_ui_Widget_isClippingParentContainsPoint(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "ccui.Widget:isClippingParentContainsPoint"); if(!ok) return 0; bool ret = cobj->isClippingParentContainsPoint(arg0); tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isClippingParentContainsPoint",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:isClippingParentContainsPoint",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -3005,13 +3005,13 @@ int lua_cocos2dx_ui_Widget_setSizeType(lua_State* tolua_S) { cocos2d::ui::Widget::SizeType arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccui.Widget:setSizeType"); if(!ok) return 0; cobj->setSizeType(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setSizeType",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:setSizeType",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -3051,13 +3051,13 @@ int lua_cocos2dx_ui_Widget_setBright(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccui.Widget:setBright"); if(!ok) return 0; cobj->setBright(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setBright",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:setBright",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -3101,7 +3101,7 @@ int lua_cocos2dx_ui_Widget_isFocusEnabled(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isFocusEnabled",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:isFocusEnabled",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3129,13 +3129,13 @@ int lua_cocos2dx_ui_Widget_enableDpadNavigation(lua_State* tolua_S) if (argc == 1) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccui.Widget:enableDpadNavigation"); if(!ok) return 0; cocos2d::ui::Widget::enableDpadNavigation(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "enableDpadNavigation",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccui.Widget:enableDpadNavigation",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -3166,7 +3166,7 @@ int lua_cocos2dx_ui_Widget_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccui.Widget",(cocos2d::ui::Widget*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccui.Widget:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -3198,7 +3198,7 @@ int lua_cocos2dx_ui_Widget_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccui.Widget"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "Widget",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Widget:Widget",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3311,13 +3311,13 @@ int lua_cocos2dx_ui_Layout_setBackGroundColorVector(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "ccui.Layout:setBackGroundColorVector"); if(!ok) return 0; cobj->setBackGroundColorVector(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setBackGroundColorVector",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Layout:setBackGroundColorVector",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -3357,13 +3357,13 @@ int lua_cocos2dx_ui_Layout_setClippingType(lua_State* tolua_S) { cocos2d::ui::Layout::ClippingType arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccui.Layout:setClippingType"); if(!ok) return 0; cobj->setClippingType(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setClippingType",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Layout:setClippingType",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -3403,13 +3403,13 @@ int lua_cocos2dx_ui_Layout_setBackGroundColorType(lua_State* tolua_S) { cocos2d::ui::Layout::BackGroundColorType arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccui.Layout:setBackGroundColorType"); if(!ok) return 0; cobj->setBackGroundColorType(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setBackGroundColorType",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Layout:setBackGroundColorType",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -3449,13 +3449,13 @@ int lua_cocos2dx_ui_Layout_setLoopFocus(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccui.Layout:setLoopFocus"); if(!ok) return 0; cobj->setLoopFocus(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setLoopFocus",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Layout:setLoopFocus",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -3495,13 +3495,13 @@ int lua_cocos2dx_ui_Layout_setBackGroundImageColor(lua_State* tolua_S) { cocos2d::Color3B arg0; - ok &= luaval_to_color3b(tolua_S, 2, &arg0); + ok &= luaval_to_color3b(tolua_S, 2, &arg0, "ccui.Layout:setBackGroundImageColor"); if(!ok) return 0; cobj->setBackGroundImageColor(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setBackGroundImageColor",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Layout:setBackGroundImageColor",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -3545,7 +3545,7 @@ int lua_cocos2dx_ui_Layout_getBackGroundColorVector(lua_State* tolua_S) vec2_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBackGroundColorVector",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Layout:getBackGroundColorVector",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3589,7 +3589,7 @@ int lua_cocos2dx_ui_Layout_getClippingType(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getClippingType",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Layout:getClippingType",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3633,7 +3633,7 @@ int lua_cocos2dx_ui_Layout_isLoopFocus(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isLoopFocus",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Layout:isLoopFocus",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3676,7 +3676,7 @@ int lua_cocos2dx_ui_Layout_removeBackGroundImage(lua_State* tolua_S) cobj->removeBackGroundImage(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeBackGroundImage",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Layout:removeBackGroundImage",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3720,7 +3720,7 @@ int lua_cocos2dx_ui_Layout_getBackGroundColorOpacity(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBackGroundColorOpacity",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Layout:getBackGroundColorOpacity",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3764,7 +3764,7 @@ int lua_cocos2dx_ui_Layout_isClippingEnabled(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isClippingEnabled",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Layout:isClippingEnabled",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -3804,13 +3804,13 @@ int lua_cocos2dx_ui_Layout_setBackGroundImageOpacity(lua_State* tolua_S) { uint16_t arg0; - ok &= luaval_to_uint16(tolua_S, 2,&arg0); + ok &= luaval_to_uint16(tolua_S, 2,&arg0, "ccui.Layout:setBackGroundImageOpacity"); if(!ok) return 0; cobj->setBackGroundImageOpacity(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setBackGroundImageOpacity",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Layout:setBackGroundImageOpacity",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -3850,7 +3850,7 @@ int lua_cocos2dx_ui_Layout_setBackGroundImage(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.Layout:setBackGroundImage"); if(!ok) return 0; cobj->setBackGroundImage(arg0); @@ -3861,15 +3861,15 @@ int lua_cocos2dx_ui_Layout_setBackGroundImage(lua_State* tolua_S) std::string arg0; cocos2d::ui::Widget::TextureResType arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.Layout:setBackGroundImage"); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccui.Layout:setBackGroundImage"); if(!ok) return 0; cobj->setBackGroundImage(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setBackGroundImage",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Layout:setBackGroundImage",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -3903,11 +3903,11 @@ int lua_cocos2dx_ui_Layout_setBackGroundColor(lua_State* tolua_S) do{ if (argc == 2) { cocos2d::Color3B arg0; - ok &= luaval_to_color3b(tolua_S, 2, &arg0); + ok &= luaval_to_color3b(tolua_S, 2, &arg0, "ccui.Layout:setBackGroundColor"); if (!ok) { break; } cocos2d::Color3B arg1; - ok &= luaval_to_color3b(tolua_S, 3, &arg1); + ok &= luaval_to_color3b(tolua_S, 3, &arg1, "ccui.Layout:setBackGroundColor"); if (!ok) { break; } cobj->setBackGroundColor(arg0, arg1); @@ -3918,7 +3918,7 @@ int lua_cocos2dx_ui_Layout_setBackGroundColor(lua_State* tolua_S) do{ if (argc == 1) { cocos2d::Color3B arg0; - ok &= luaval_to_color3b(tolua_S, 2, &arg0); + ok &= luaval_to_color3b(tolua_S, 2, &arg0, "ccui.Layout:setBackGroundColor"); if (!ok) { break; } cobj->setBackGroundColor(arg0); @@ -3926,7 +3926,7 @@ int lua_cocos2dx_ui_Layout_setBackGroundColor(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setBackGroundColor",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Layout:setBackGroundColor",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -3969,7 +3969,7 @@ int lua_cocos2dx_ui_Layout_requestDoLayout(lua_State* tolua_S) cobj->requestDoLayout(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "requestDoLayout",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Layout:requestDoLayout",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4013,7 +4013,7 @@ int lua_cocos2dx_ui_Layout_getBackGroundImageCapInsets(lua_State* tolua_S) rect_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBackGroundImageCapInsets",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Layout:getBackGroundImageCapInsets",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4057,7 +4057,7 @@ int lua_cocos2dx_ui_Layout_getBackGroundColor(lua_State* tolua_S) color3b_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBackGroundColor",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Layout:getBackGroundColor",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4097,13 +4097,13 @@ int lua_cocos2dx_ui_Layout_setClippingEnabled(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccui.Layout:setClippingEnabled"); if(!ok) return 0; cobj->setClippingEnabled(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setClippingEnabled",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Layout:setClippingEnabled",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4147,7 +4147,7 @@ int lua_cocos2dx_ui_Layout_getBackGroundImageColor(lua_State* tolua_S) color3b_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBackGroundImageColor",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Layout:getBackGroundImageColor",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4191,7 +4191,7 @@ int lua_cocos2dx_ui_Layout_isBackGroundImageScale9Enabled(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isBackGroundImageScale9Enabled",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Layout:isBackGroundImageScale9Enabled",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4235,7 +4235,7 @@ int lua_cocos2dx_ui_Layout_getBackGroundColorType(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBackGroundColorType",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Layout:getBackGroundColorType",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4279,7 +4279,7 @@ int lua_cocos2dx_ui_Layout_getBackGroundEndColor(lua_State* tolua_S) color3b_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBackGroundEndColor",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Layout:getBackGroundEndColor",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4319,13 +4319,13 @@ int lua_cocos2dx_ui_Layout_setBackGroundColorOpacity(lua_State* tolua_S) { uint16_t arg0; - ok &= luaval_to_uint16(tolua_S, 2,&arg0); + ok &= luaval_to_uint16(tolua_S, 2,&arg0, "ccui.Layout:setBackGroundColorOpacity"); if(!ok) return 0; cobj->setBackGroundColorOpacity(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setBackGroundColorOpacity",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Layout:setBackGroundColorOpacity",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4369,7 +4369,7 @@ int lua_cocos2dx_ui_Layout_getBackGroundImageOpacity(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBackGroundImageOpacity",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Layout:getBackGroundImageOpacity",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4413,7 +4413,7 @@ int lua_cocos2dx_ui_Layout_isPassFocusToChild(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isPassFocusToChild",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Layout:isPassFocusToChild",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4453,13 +4453,13 @@ int lua_cocos2dx_ui_Layout_setBackGroundImageCapInsets(lua_State* tolua_S) { cocos2d::Rect arg0; - ok &= luaval_to_rect(tolua_S, 2, &arg0); + ok &= luaval_to_rect(tolua_S, 2, &arg0, "ccui.Layout:setBackGroundImageCapInsets"); if(!ok) return 0; cobj->setBackGroundImageCapInsets(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setBackGroundImageCapInsets",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Layout:setBackGroundImageCapInsets",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4503,7 +4503,7 @@ int lua_cocos2dx_ui_Layout_getBackGroundImageTextureSize(lua_State* tolua_S) size_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBackGroundImageTextureSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Layout:getBackGroundImageTextureSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4546,7 +4546,7 @@ int lua_cocos2dx_ui_Layout_forceDoLayout(lua_State* tolua_S) cobj->forceDoLayout(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "forceDoLayout",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Layout:forceDoLayout",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4590,7 +4590,7 @@ int lua_cocos2dx_ui_Layout_getLayoutType(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getLayoutType",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Layout:getLayoutType",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4630,13 +4630,13 @@ int lua_cocos2dx_ui_Layout_setPassFocusToChild(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccui.Layout:setPassFocusToChild"); if(!ok) return 0; cobj->setPassFocusToChild(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setPassFocusToChild",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Layout:setPassFocusToChild",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4680,7 +4680,7 @@ int lua_cocos2dx_ui_Layout_getBackGroundStartColor(lua_State* tolua_S) color3b_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getBackGroundStartColor",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Layout:getBackGroundStartColor",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4720,13 +4720,13 @@ int lua_cocos2dx_ui_Layout_setBackGroundImageScale9Enabled(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccui.Layout:setBackGroundImageScale9Enabled"); if(!ok) return 0; cobj->setBackGroundImageScale9Enabled(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setBackGroundImageScale9Enabled",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Layout:setBackGroundImageScale9Enabled",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4766,13 +4766,13 @@ int lua_cocos2dx_ui_Layout_setLayoutType(lua_State* tolua_S) { cocos2d::ui::Layout::Type arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccui.Layout:setLayoutType"); if(!ok) return 0; cobj->setLayoutType(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setLayoutType",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Layout:setLayoutType",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -4805,7 +4805,7 @@ int lua_cocos2dx_ui_Layout_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccui.Layout",(cocos2d::ui::Layout*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccui.Layout:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -4836,7 +4836,7 @@ int lua_cocos2dx_ui_Layout_createInstance(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Ref",(cocos2d::Ref*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createInstance",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccui.Layout:createInstance",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -4868,7 +4868,7 @@ int lua_cocos2dx_ui_Layout_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccui.Layout"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "Layout",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Layout:Layout",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -4967,7 +4967,7 @@ int lua_cocos2dx_ui_Button_getTitleText(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTitleText",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Button:getTitleText",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5007,13 +5007,13 @@ int lua_cocos2dx_ui_Button_setTitleFontSize(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccui.Button:setTitleFontSize"); if(!ok) return 0; cobj->setTitleFontSize(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTitleFontSize",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Button:setTitleFontSize",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5053,13 +5053,13 @@ int lua_cocos2dx_ui_Button_setScale9Enabled(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccui.Button:setScale9Enabled"); if(!ok) return 0; cobj->setScale9Enabled(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setScale9Enabled",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Button:setScale9Enabled",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5103,7 +5103,7 @@ int lua_cocos2dx_ui_Button_getCapInsetsDisabledRenderer(lua_State* tolua_S) rect_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getCapInsetsDisabledRenderer",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Button:getCapInsetsDisabledRenderer",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5143,13 +5143,13 @@ int lua_cocos2dx_ui_Button_setTitleColor(lua_State* tolua_S) { cocos2d::Color3B arg0; - ok &= luaval_to_color3b(tolua_S, 2, &arg0); + ok &= luaval_to_color3b(tolua_S, 2, &arg0, "ccui.Button:setTitleColor"); if(!ok) return 0; cobj->setTitleColor(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTitleColor",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Button:setTitleColor",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5189,13 +5189,13 @@ int lua_cocos2dx_ui_Button_setCapInsetsDisabledRenderer(lua_State* tolua_S) { cocos2d::Rect arg0; - ok &= luaval_to_rect(tolua_S, 2, &arg0); + ok &= luaval_to_rect(tolua_S, 2, &arg0, "ccui.Button:setCapInsetsDisabledRenderer"); if(!ok) return 0; cobj->setCapInsetsDisabledRenderer(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setCapInsetsDisabledRenderer",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Button:setCapInsetsDisabledRenderer",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5235,13 +5235,13 @@ int lua_cocos2dx_ui_Button_setCapInsets(lua_State* tolua_S) { cocos2d::Rect arg0; - ok &= luaval_to_rect(tolua_S, 2, &arg0); + ok &= luaval_to_rect(tolua_S, 2, &arg0, "ccui.Button:setCapInsets"); if(!ok) return 0; cobj->setCapInsets(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setCapInsets",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Button:setCapInsets",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5281,7 +5281,7 @@ int lua_cocos2dx_ui_Button_loadTextureDisabled(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.Button:loadTextureDisabled"); if(!ok) return 0; cobj->loadTextureDisabled(arg0); @@ -5292,15 +5292,15 @@ int lua_cocos2dx_ui_Button_loadTextureDisabled(lua_State* tolua_S) std::string arg0; cocos2d::ui::Widget::TextureResType arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.Button:loadTextureDisabled"); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccui.Button:loadTextureDisabled"); if(!ok) return 0; cobj->loadTextureDisabled(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "loadTextureDisabled",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Button:loadTextureDisabled",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5340,13 +5340,13 @@ int lua_cocos2dx_ui_Button_setTitleText(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.Button:setTitleText"); if(!ok) return 0; cobj->setTitleText(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTitleText",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Button:setTitleText",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5386,13 +5386,13 @@ int lua_cocos2dx_ui_Button_setCapInsetsNormalRenderer(lua_State* tolua_S) { cocos2d::Rect arg0; - ok &= luaval_to_rect(tolua_S, 2, &arg0); + ok &= luaval_to_rect(tolua_S, 2, &arg0, "ccui.Button:setCapInsetsNormalRenderer"); if(!ok) return 0; cobj->setCapInsetsNormalRenderer(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setCapInsetsNormalRenderer",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Button:setCapInsetsNormalRenderer",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5432,7 +5432,7 @@ int lua_cocos2dx_ui_Button_loadTexturePressed(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.Button:loadTexturePressed"); if(!ok) return 0; cobj->loadTexturePressed(arg0); @@ -5443,15 +5443,15 @@ int lua_cocos2dx_ui_Button_loadTexturePressed(lua_State* tolua_S) std::string arg0; cocos2d::ui::Widget::TextureResType arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.Button:loadTexturePressed"); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccui.Button:loadTexturePressed"); if(!ok) return 0; cobj->loadTexturePressed(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "loadTexturePressed",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Button:loadTexturePressed",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5491,13 +5491,13 @@ int lua_cocos2dx_ui_Button_setTitleFontName(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.Button:setTitleFontName"); if(!ok) return 0; cobj->setTitleFontName(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTitleFontName",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Button:setTitleFontName",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5541,7 +5541,7 @@ int lua_cocos2dx_ui_Button_getCapInsetsNormalRenderer(lua_State* tolua_S) rect_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getCapInsetsNormalRenderer",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Button:getCapInsetsNormalRenderer",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5585,7 +5585,7 @@ int lua_cocos2dx_ui_Button_getCapInsetsPressedRenderer(lua_State* tolua_S) rect_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getCapInsetsPressedRenderer",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Button:getCapInsetsPressedRenderer",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5626,9 +5626,9 @@ int lua_cocos2dx_ui_Button_loadTextures(lua_State* tolua_S) std::string arg0; std::string arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.Button:loadTextures"); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "ccui.Button:loadTextures"); if(!ok) return 0; cobj->loadTextures(arg0, arg1); @@ -5640,11 +5640,11 @@ int lua_cocos2dx_ui_Button_loadTextures(lua_State* tolua_S) std::string arg1; std::string arg2; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.Button:loadTextures"); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "ccui.Button:loadTextures"); - ok &= luaval_to_std_string(tolua_S, 4,&arg2); + ok &= luaval_to_std_string(tolua_S, 4,&arg2, "ccui.Button:loadTextures"); if(!ok) return 0; cobj->loadTextures(arg0, arg1, arg2); @@ -5657,19 +5657,19 @@ int lua_cocos2dx_ui_Button_loadTextures(lua_State* tolua_S) std::string arg2; cocos2d::ui::Widget::TextureResType arg3; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.Button:loadTextures"); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "ccui.Button:loadTextures"); - ok &= luaval_to_std_string(tolua_S, 4,&arg2); + ok &= luaval_to_std_string(tolua_S, 4,&arg2, "ccui.Button:loadTextures"); - ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3); + ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3, "ccui.Button:loadTextures"); if(!ok) return 0; cobj->loadTextures(arg0, arg1, arg2, arg3); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "loadTextures",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Button:loadTextures",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -5713,7 +5713,7 @@ int lua_cocos2dx_ui_Button_isScale9Enabled(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isScale9Enabled",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Button:isScale9Enabled",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5753,7 +5753,7 @@ int lua_cocos2dx_ui_Button_loadTextureNormal(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.Button:loadTextureNormal"); if(!ok) return 0; cobj->loadTextureNormal(arg0); @@ -5764,15 +5764,15 @@ int lua_cocos2dx_ui_Button_loadTextureNormal(lua_State* tolua_S) std::string arg0; cocos2d::ui::Widget::TextureResType arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.Button:loadTextureNormal"); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccui.Button:loadTextureNormal"); if(!ok) return 0; cobj->loadTextureNormal(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "loadTextureNormal",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Button:loadTextureNormal",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5812,13 +5812,13 @@ int lua_cocos2dx_ui_Button_setCapInsetsPressedRenderer(lua_State* tolua_S) { cocos2d::Rect arg0; - ok &= luaval_to_rect(tolua_S, 2, &arg0); + ok &= luaval_to_rect(tolua_S, 2, &arg0, "ccui.Button:setCapInsetsPressedRenderer"); if(!ok) return 0; cobj->setCapInsetsPressedRenderer(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setCapInsetsPressedRenderer",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Button:setCapInsetsPressedRenderer",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -5862,7 +5862,7 @@ int lua_cocos2dx_ui_Button_getTitleFontSize(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTitleFontSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Button:getTitleFontSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5906,7 +5906,7 @@ int lua_cocos2dx_ui_Button_getTitleFontName(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTitleFontName",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Button:getTitleFontName",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5950,7 +5950,7 @@ int lua_cocos2dx_ui_Button_getTitleColor(lua_State* tolua_S) color3b_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTitleColor",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Button:getTitleColor",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -5990,13 +5990,13 @@ int lua_cocos2dx_ui_Button_setPressedActionEnabled(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccui.Button:setPressedActionEnabled"); if(!ok) return 0; cobj->setPressedActionEnabled(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setPressedActionEnabled",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Button:setPressedActionEnabled",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6025,7 +6025,7 @@ int lua_cocos2dx_ui_Button_create(lua_State* tolua_S) if (argc == 1) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.Button:create"); if (!ok) { break; } cocos2d::ui::Button* ret = cocos2d::ui::Button::create(arg0); object_to_luaval(tolua_S, "ccui.Button",(cocos2d::ui::Button*)ret); @@ -6038,10 +6038,10 @@ int lua_cocos2dx_ui_Button_create(lua_State* tolua_S) if (argc == 2) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.Button:create"); if (!ok) { break; } std::string arg1; - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "ccui.Button:create"); if (!ok) { break; } cocos2d::ui::Button* ret = cocos2d::ui::Button::create(arg0, arg1); object_to_luaval(tolua_S, "ccui.Button",(cocos2d::ui::Button*)ret); @@ -6054,13 +6054,13 @@ int lua_cocos2dx_ui_Button_create(lua_State* tolua_S) if (argc == 3) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.Button:create"); if (!ok) { break; } std::string arg1; - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "ccui.Button:create"); if (!ok) { break; } std::string arg2; - ok &= luaval_to_std_string(tolua_S, 4,&arg2); + ok &= luaval_to_std_string(tolua_S, 4,&arg2, "ccui.Button:create"); if (!ok) { break; } cocos2d::ui::Button* ret = cocos2d::ui::Button::create(arg0, arg1, arg2); object_to_luaval(tolua_S, "ccui.Button",(cocos2d::ui::Button*)ret); @@ -6073,16 +6073,16 @@ int lua_cocos2dx_ui_Button_create(lua_State* tolua_S) if (argc == 4) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.Button:create"); if (!ok) { break; } std::string arg1; - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "ccui.Button:create"); if (!ok) { break; } std::string arg2; - ok &= luaval_to_std_string(tolua_S, 4,&arg2); + ok &= luaval_to_std_string(tolua_S, 4,&arg2, "ccui.Button:create"); if (!ok) { break; } cocos2d::ui::Widget::TextureResType arg3; - ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3); + ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3, "ccui.Button:create"); if (!ok) { break; } cocos2d::ui::Button* ret = cocos2d::ui::Button::create(arg0, arg1, arg2, arg3); object_to_luaval(tolua_S, "ccui.Button",(cocos2d::ui::Button*)ret); @@ -6100,7 +6100,7 @@ int lua_cocos2dx_ui_Button_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "ccui.Button:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -6131,7 +6131,7 @@ int lua_cocos2dx_ui_Button_createInstance(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Ref",(cocos2d::Ref*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createInstance",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccui.Button:createInstance",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -6163,7 +6163,7 @@ int lua_cocos2dx_ui_Button_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccui.Button"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "Button",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Button:Button",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6251,7 +6251,7 @@ int lua_cocos2dx_ui_CheckBox_getSelectedState(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getSelectedState",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.CheckBox:getSelectedState",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6291,7 +6291,7 @@ int lua_cocos2dx_ui_CheckBox_loadTextureBackGroundSelected(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.CheckBox:loadTextureBackGroundSelected"); if(!ok) return 0; cobj->loadTextureBackGroundSelected(arg0); @@ -6302,15 +6302,15 @@ int lua_cocos2dx_ui_CheckBox_loadTextureBackGroundSelected(lua_State* tolua_S) std::string arg0; cocos2d::ui::Widget::TextureResType arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.CheckBox:loadTextureBackGroundSelected"); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccui.CheckBox:loadTextureBackGroundSelected"); if(!ok) return 0; cobj->loadTextureBackGroundSelected(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "loadTextureBackGroundSelected",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.CheckBox:loadTextureBackGroundSelected",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6350,7 +6350,7 @@ int lua_cocos2dx_ui_CheckBox_loadTextureBackGroundDisabled(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.CheckBox:loadTextureBackGroundDisabled"); if(!ok) return 0; cobj->loadTextureBackGroundDisabled(arg0); @@ -6361,15 +6361,15 @@ int lua_cocos2dx_ui_CheckBox_loadTextureBackGroundDisabled(lua_State* tolua_S) std::string arg0; cocos2d::ui::Widget::TextureResType arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.CheckBox:loadTextureBackGroundDisabled"); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccui.CheckBox:loadTextureBackGroundDisabled"); if(!ok) return 0; cobj->loadTextureBackGroundDisabled(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "loadTextureBackGroundDisabled",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.CheckBox:loadTextureBackGroundDisabled",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6419,7 +6419,7 @@ int lua_cocos2dx_ui_CheckBox_addEventListener(lua_State* tolua_S) cobj->addEventListener(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addEventListener",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.CheckBox:addEventListener",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6459,7 +6459,7 @@ int lua_cocos2dx_ui_CheckBox_loadTextureFrontCross(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.CheckBox:loadTextureFrontCross"); if(!ok) return 0; cobj->loadTextureFrontCross(arg0); @@ -6470,15 +6470,15 @@ int lua_cocos2dx_ui_CheckBox_loadTextureFrontCross(lua_State* tolua_S) std::string arg0; cocos2d::ui::Widget::TextureResType arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.CheckBox:loadTextureFrontCross"); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccui.CheckBox:loadTextureFrontCross"); if(!ok) return 0; cobj->loadTextureFrontCross(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "loadTextureFrontCross",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.CheckBox:loadTextureFrontCross",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6522,15 +6522,15 @@ int lua_cocos2dx_ui_CheckBox_loadTextures(lua_State* tolua_S) std::string arg3; std::string arg4; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.CheckBox:loadTextures"); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "ccui.CheckBox:loadTextures"); - ok &= luaval_to_std_string(tolua_S, 4,&arg2); + ok &= luaval_to_std_string(tolua_S, 4,&arg2, "ccui.CheckBox:loadTextures"); - ok &= luaval_to_std_string(tolua_S, 5,&arg3); + ok &= luaval_to_std_string(tolua_S, 5,&arg3, "ccui.CheckBox:loadTextures"); - ok &= luaval_to_std_string(tolua_S, 6,&arg4); + ok &= luaval_to_std_string(tolua_S, 6,&arg4, "ccui.CheckBox:loadTextures"); if(!ok) return 0; cobj->loadTextures(arg0, arg1, arg2, arg3, arg4); @@ -6545,23 +6545,23 @@ int lua_cocos2dx_ui_CheckBox_loadTextures(lua_State* tolua_S) std::string arg4; cocos2d::ui::Widget::TextureResType arg5; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.CheckBox:loadTextures"); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "ccui.CheckBox:loadTextures"); - ok &= luaval_to_std_string(tolua_S, 4,&arg2); + ok &= luaval_to_std_string(tolua_S, 4,&arg2, "ccui.CheckBox:loadTextures"); - ok &= luaval_to_std_string(tolua_S, 5,&arg3); + ok &= luaval_to_std_string(tolua_S, 5,&arg3, "ccui.CheckBox:loadTextures"); - ok &= luaval_to_std_string(tolua_S, 6,&arg4); + ok &= luaval_to_std_string(tolua_S, 6,&arg4, "ccui.CheckBox:loadTextures"); - ok &= luaval_to_int32(tolua_S, 7,(int *)&arg5); + ok &= luaval_to_int32(tolua_S, 7,(int *)&arg5, "ccui.CheckBox:loadTextures"); if(!ok) return 0; cobj->loadTextures(arg0, arg1, arg2, arg3, arg4, arg5); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "loadTextures",argc, 5); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.CheckBox:loadTextures",argc, 5); return 0; #if COCOS2D_DEBUG >= 1 @@ -6601,7 +6601,7 @@ int lua_cocos2dx_ui_CheckBox_loadTextureBackGround(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.CheckBox:loadTextureBackGround"); if(!ok) return 0; cobj->loadTextureBackGround(arg0); @@ -6612,15 +6612,15 @@ int lua_cocos2dx_ui_CheckBox_loadTextureBackGround(lua_State* tolua_S) std::string arg0; cocos2d::ui::Widget::TextureResType arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.CheckBox:loadTextureBackGround"); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccui.CheckBox:loadTextureBackGround"); if(!ok) return 0; cobj->loadTextureBackGround(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "loadTextureBackGround",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.CheckBox:loadTextureBackGround",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6660,13 +6660,13 @@ int lua_cocos2dx_ui_CheckBox_setSelectedState(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccui.CheckBox:setSelectedState"); if(!ok) return 0; cobj->setSelectedState(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setSelectedState",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.CheckBox:setSelectedState",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6706,7 +6706,7 @@ int lua_cocos2dx_ui_CheckBox_loadTextureFrontCrossDisabled(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.CheckBox:loadTextureFrontCrossDisabled"); if(!ok) return 0; cobj->loadTextureFrontCrossDisabled(arg0); @@ -6717,15 +6717,15 @@ int lua_cocos2dx_ui_CheckBox_loadTextureFrontCrossDisabled(lua_State* tolua_S) std::string arg0; cocos2d::ui::Widget::TextureResType arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.CheckBox:loadTextureFrontCrossDisabled"); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccui.CheckBox:loadTextureFrontCrossDisabled"); if(!ok) return 0; cobj->loadTextureFrontCrossDisabled(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "loadTextureFrontCrossDisabled",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.CheckBox:loadTextureFrontCrossDisabled",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -6754,19 +6754,19 @@ int lua_cocos2dx_ui_CheckBox_create(lua_State* tolua_S) if (argc == 5) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.CheckBox:create"); if (!ok) { break; } std::string arg1; - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "ccui.CheckBox:create"); if (!ok) { break; } std::string arg2; - ok &= luaval_to_std_string(tolua_S, 4,&arg2); + ok &= luaval_to_std_string(tolua_S, 4,&arg2, "ccui.CheckBox:create"); if (!ok) { break; } std::string arg3; - ok &= luaval_to_std_string(tolua_S, 5,&arg3); + ok &= luaval_to_std_string(tolua_S, 5,&arg3, "ccui.CheckBox:create"); if (!ok) { break; } std::string arg4; - ok &= luaval_to_std_string(tolua_S, 6,&arg4); + ok &= luaval_to_std_string(tolua_S, 6,&arg4, "ccui.CheckBox:create"); if (!ok) { break; } cocos2d::ui::CheckBox* ret = cocos2d::ui::CheckBox::create(arg0, arg1, arg2, arg3, arg4); object_to_luaval(tolua_S, "ccui.CheckBox",(cocos2d::ui::CheckBox*)ret); @@ -6779,22 +6779,22 @@ int lua_cocos2dx_ui_CheckBox_create(lua_State* tolua_S) if (argc == 6) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.CheckBox:create"); if (!ok) { break; } std::string arg1; - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "ccui.CheckBox:create"); if (!ok) { break; } std::string arg2; - ok &= luaval_to_std_string(tolua_S, 4,&arg2); + ok &= luaval_to_std_string(tolua_S, 4,&arg2, "ccui.CheckBox:create"); if (!ok) { break; } std::string arg3; - ok &= luaval_to_std_string(tolua_S, 5,&arg3); + ok &= luaval_to_std_string(tolua_S, 5,&arg3, "ccui.CheckBox:create"); if (!ok) { break; } std::string arg4; - ok &= luaval_to_std_string(tolua_S, 6,&arg4); + ok &= luaval_to_std_string(tolua_S, 6,&arg4, "ccui.CheckBox:create"); if (!ok) { break; } cocos2d::ui::Widget::TextureResType arg5; - ok &= luaval_to_int32(tolua_S, 7,(int *)&arg5); + ok &= luaval_to_int32(tolua_S, 7,(int *)&arg5, "ccui.CheckBox:create"); if (!ok) { break; } cocos2d::ui::CheckBox* ret = cocos2d::ui::CheckBox::create(arg0, arg1, arg2, arg3, arg4, arg5); object_to_luaval(tolua_S, "ccui.CheckBox",(cocos2d::ui::CheckBox*)ret); @@ -6812,7 +6812,7 @@ int lua_cocos2dx_ui_CheckBox_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "ccui.CheckBox:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -6843,7 +6843,7 @@ int lua_cocos2dx_ui_CheckBox_createInstance(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Ref",(cocos2d::Ref*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createInstance",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccui.CheckBox:createInstance",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -6875,7 +6875,7 @@ int lua_cocos2dx_ui_CheckBox_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccui.CheckBox"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "CheckBox",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.CheckBox:CheckBox",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -6946,7 +6946,7 @@ int lua_cocos2dx_ui_ImageView_loadTexture(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.ImageView:loadTexture"); if(!ok) return 0; cobj->loadTexture(arg0); @@ -6957,15 +6957,15 @@ int lua_cocos2dx_ui_ImageView_loadTexture(lua_State* tolua_S) std::string arg0; cocos2d::ui::Widget::TextureResType arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.ImageView:loadTexture"); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccui.ImageView:loadTexture"); if(!ok) return 0; cobj->loadTexture(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "loadTexture",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ImageView:loadTexture",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -7005,13 +7005,13 @@ int lua_cocos2dx_ui_ImageView_setScale9Enabled(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccui.ImageView:setScale9Enabled"); if(!ok) return 0; cobj->setScale9Enabled(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setScale9Enabled",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ImageView:setScale9Enabled",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -7051,13 +7051,13 @@ int lua_cocos2dx_ui_ImageView_setTextureRect(lua_State* tolua_S) { cocos2d::Rect arg0; - ok &= luaval_to_rect(tolua_S, 2, &arg0); + ok &= luaval_to_rect(tolua_S, 2, &arg0, "ccui.ImageView:setTextureRect"); if(!ok) return 0; cobj->setTextureRect(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTextureRect",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ImageView:setTextureRect",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -7097,13 +7097,13 @@ int lua_cocos2dx_ui_ImageView_setCapInsets(lua_State* tolua_S) { cocos2d::Rect arg0; - ok &= luaval_to_rect(tolua_S, 2, &arg0); + ok &= luaval_to_rect(tolua_S, 2, &arg0, "ccui.ImageView:setCapInsets"); if(!ok) return 0; cobj->setCapInsets(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setCapInsets",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ImageView:setCapInsets",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -7147,7 +7147,7 @@ int lua_cocos2dx_ui_ImageView_getCapInsets(lua_State* tolua_S) rect_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getCapInsets",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ImageView:getCapInsets",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7191,7 +7191,7 @@ int lua_cocos2dx_ui_ImageView_isScale9Enabled(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isScale9Enabled",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ImageView:isScale9Enabled",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7220,7 +7220,7 @@ int lua_cocos2dx_ui_ImageView_create(lua_State* tolua_S) if (argc == 1) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.ImageView:create"); if (!ok) { break; } cocos2d::ui::ImageView* ret = cocos2d::ui::ImageView::create(arg0); object_to_luaval(tolua_S, "ccui.ImageView",(cocos2d::ui::ImageView*)ret); @@ -7233,10 +7233,10 @@ int lua_cocos2dx_ui_ImageView_create(lua_State* tolua_S) if (argc == 2) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.ImageView:create"); if (!ok) { break; } cocos2d::ui::Widget::TextureResType arg1; - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccui.ImageView:create"); if (!ok) { break; } cocos2d::ui::ImageView* ret = cocos2d::ui::ImageView::create(arg0, arg1); object_to_luaval(tolua_S, "ccui.ImageView",(cocos2d::ui::ImageView*)ret); @@ -7254,7 +7254,7 @@ int lua_cocos2dx_ui_ImageView_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "ccui.ImageView:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -7285,7 +7285,7 @@ int lua_cocos2dx_ui_ImageView_createInstance(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Ref",(cocos2d::Ref*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createInstance",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccui.ImageView:createInstance",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -7317,7 +7317,7 @@ int lua_cocos2dx_ui_ImageView_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccui.ImageView"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ImageView",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ImageView:ImageView",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7389,7 +7389,7 @@ int lua_cocos2dx_ui_Text_getStringLength(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getStringLength",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Text:getStringLength",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7429,13 +7429,13 @@ int lua_cocos2dx_ui_Text_setFontName(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.Text:setFontName"); if(!ok) return 0; cobj->setFontName(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setFontName",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Text:setFontName",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -7475,13 +7475,13 @@ int lua_cocos2dx_ui_Text_setTouchScaleChangeEnabled(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccui.Text:setTouchScaleChangeEnabled"); if(!ok) return 0; cobj->setTouchScaleChangeEnabled(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTouchScaleChangeEnabled",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Text:setTouchScaleChangeEnabled",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -7525,7 +7525,7 @@ int lua_cocos2dx_ui_Text_getFontSize(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getFontSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Text:getFontSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7565,7 +7565,7 @@ int lua_cocos2dx_ui_Text_enableOutline(lua_State* tolua_S) { cocos2d::Color4B arg0; - ok &=luaval_to_color4b(tolua_S, 2, &arg0); + ok &=luaval_to_color4b(tolua_S, 2, &arg0, "ccui.Text:enableOutline"); if(!ok) return 0; cobj->enableOutline(arg0); @@ -7576,15 +7576,15 @@ int lua_cocos2dx_ui_Text_enableOutline(lua_State* tolua_S) cocos2d::Color4B arg0; int arg1; - ok &=luaval_to_color4b(tolua_S, 2, &arg0); + ok &=luaval_to_color4b(tolua_S, 2, &arg0, "ccui.Text:enableOutline"); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccui.Text:enableOutline"); if(!ok) return 0; cobj->enableOutline(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "enableOutline",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Text:enableOutline",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -7628,7 +7628,7 @@ int lua_cocos2dx_ui_Text_getTextVerticalAlignment(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTextVerticalAlignment",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Text:getTextVerticalAlignment",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7672,7 +7672,7 @@ int lua_cocos2dx_ui_Text_getString(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getString",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Text:getString",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7719,7 +7719,7 @@ int lua_cocos2dx_ui_Text_enableShadow(lua_State* tolua_S) { cocos2d::Color4B arg0; - ok &=luaval_to_color4b(tolua_S, 2, &arg0); + ok &=luaval_to_color4b(tolua_S, 2, &arg0, "ccui.Text:enableShadow"); if(!ok) return 0; cobj->enableShadow(arg0); @@ -7730,9 +7730,9 @@ int lua_cocos2dx_ui_Text_enableShadow(lua_State* tolua_S) cocos2d::Color4B arg0; cocos2d::Size arg1; - ok &=luaval_to_color4b(tolua_S, 2, &arg0); + ok &=luaval_to_color4b(tolua_S, 2, &arg0, "ccui.Text:enableShadow"); - ok &= luaval_to_size(tolua_S, 3, &arg1); + ok &= luaval_to_size(tolua_S, 3, &arg1, "ccui.Text:enableShadow"); if(!ok) return 0; cobj->enableShadow(arg0, arg1); @@ -7744,17 +7744,17 @@ int lua_cocos2dx_ui_Text_enableShadow(lua_State* tolua_S) cocos2d::Size arg1; int arg2; - ok &=luaval_to_color4b(tolua_S, 2, &arg0); + ok &=luaval_to_color4b(tolua_S, 2, &arg0, "ccui.Text:enableShadow"); - ok &= luaval_to_size(tolua_S, 3, &arg1); + ok &= luaval_to_size(tolua_S, 3, &arg1, "ccui.Text:enableShadow"); - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "ccui.Text:enableShadow"); if(!ok) return 0; cobj->enableShadow(arg0, arg1, arg2); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "enableShadow",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Text:enableShadow",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7794,13 +7794,13 @@ int lua_cocos2dx_ui_Text_setString(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.Text:setString"); if(!ok) return 0; cobj->setString(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setString",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Text:setString",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -7844,7 +7844,7 @@ int lua_cocos2dx_ui_Text_getTextHorizontalAlignment(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTextHorizontalAlignment",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Text:getTextHorizontalAlignment",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -7884,13 +7884,13 @@ int lua_cocos2dx_ui_Text_setTextVerticalAlignment(lua_State* tolua_S) { cocos2d::TextVAlignment arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccui.Text:setTextVerticalAlignment"); if(!ok) return 0; cobj->setTextVerticalAlignment(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTextVerticalAlignment",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Text:setTextVerticalAlignment",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -7930,13 +7930,13 @@ int lua_cocos2dx_ui_Text_enableGlow(lua_State* tolua_S) { cocos2d::Color4B arg0; - ok &=luaval_to_color4b(tolua_S, 2, &arg0); + ok &=luaval_to_color4b(tolua_S, 2, &arg0, "ccui.Text:enableGlow"); if(!ok) return 0; cobj->enableGlow(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "enableGlow",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Text:enableGlow",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -7980,7 +7980,7 @@ int lua_cocos2dx_ui_Text_getTextAreaSize(lua_State* tolua_S) size_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTextAreaSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Text:getTextAreaSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8020,13 +8020,13 @@ int lua_cocos2dx_ui_Text_setTextHorizontalAlignment(lua_State* tolua_S) { cocos2d::TextHAlignment arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccui.Text:setTextHorizontalAlignment"); if(!ok) return 0; cobj->setTextHorizontalAlignment(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTextHorizontalAlignment",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Text:setTextHorizontalAlignment",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8066,13 +8066,13 @@ int lua_cocos2dx_ui_Text_setFontSize(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccui.Text:setFontSize"); if(!ok) return 0; cobj->setFontSize(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setFontSize",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Text:setFontSize",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8116,7 +8116,7 @@ int lua_cocos2dx_ui_Text_isTouchScaleChangeEnabled(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isTouchScaleChangeEnabled",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Text:isTouchScaleChangeEnabled",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8160,7 +8160,7 @@ int lua_cocos2dx_ui_Text_getType(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getType",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Text:getType",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8203,7 +8203,7 @@ int lua_cocos2dx_ui_Text_disableEffect(lua_State* tolua_S) cobj->disableEffect(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "disableEffect",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Text:disableEffect",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8247,7 +8247,7 @@ int lua_cocos2dx_ui_Text_getFontName(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getFontName",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Text:getFontName",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8287,13 +8287,13 @@ int lua_cocos2dx_ui_Text_setTextAreaSize(lua_State* tolua_S) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "ccui.Text:setTextAreaSize"); if(!ok) return 0; cobj->setTextAreaSize(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTextAreaSize",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Text:setTextAreaSize",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8322,13 +8322,13 @@ int lua_cocos2dx_ui_Text_create(lua_State* tolua_S) if (argc == 3) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.Text:create"); if (!ok) { break; } std::string arg1; - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "ccui.Text:create"); if (!ok) { break; } int arg2; - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "ccui.Text:create"); if (!ok) { break; } cocos2d::ui::Text* ret = cocos2d::ui::Text::create(arg0, arg1, arg2); object_to_luaval(tolua_S, "ccui.Text",(cocos2d::ui::Text*)ret); @@ -8346,7 +8346,7 @@ int lua_cocos2dx_ui_Text_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "ccui.Text:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -8377,7 +8377,7 @@ int lua_cocos2dx_ui_Text_createInstance(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Ref",(cocos2d::Ref*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createInstance",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccui.Text:createInstance",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -8409,7 +8409,7 @@ int lua_cocos2dx_ui_Text_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccui.Text"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "Text",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Text:Text",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8495,7 +8495,7 @@ int lua_cocos2dx_ui_TextAtlas_getStringLength(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getStringLength",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextAtlas:getStringLength",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8539,7 +8539,7 @@ int lua_cocos2dx_ui_TextAtlas_getString(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getString",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextAtlas:getString",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8579,13 +8579,13 @@ int lua_cocos2dx_ui_TextAtlas_setString(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.TextAtlas:setString"); if(!ok) return 0; cobj->setString(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setString",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextAtlas:setString",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8629,21 +8629,21 @@ int lua_cocos2dx_ui_TextAtlas_setProperty(lua_State* tolua_S) int arg3; std::string arg4; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.TextAtlas:setProperty"); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "ccui.TextAtlas:setProperty"); - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "ccui.TextAtlas:setProperty"); - ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3); + ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3, "ccui.TextAtlas:setProperty"); - ok &= luaval_to_std_string(tolua_S, 6,&arg4); + ok &= luaval_to_std_string(tolua_S, 6,&arg4, "ccui.TextAtlas:setProperty"); if(!ok) return 0; cobj->setProperty(arg0, arg1, arg2, arg3, arg4); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setProperty",argc, 5); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextAtlas:setProperty",argc, 5); return 0; #if COCOS2D_DEBUG >= 1 @@ -8686,7 +8686,7 @@ int lua_cocos2dx_ui_TextAtlas_adaptRenderers(lua_State* tolua_S) cobj->adaptRenderers(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "adaptRenderers",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextAtlas:adaptRenderers",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8715,19 +8715,19 @@ int lua_cocos2dx_ui_TextAtlas_create(lua_State* tolua_S) if (argc == 5) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.TextAtlas:create"); if (!ok) { break; } std::string arg1; - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "ccui.TextAtlas:create"); if (!ok) { break; } int arg2; - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "ccui.TextAtlas:create"); if (!ok) { break; } int arg3; - ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3); + ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3, "ccui.TextAtlas:create"); if (!ok) { break; } std::string arg4; - ok &= luaval_to_std_string(tolua_S, 6,&arg4); + ok &= luaval_to_std_string(tolua_S, 6,&arg4, "ccui.TextAtlas:create"); if (!ok) { break; } cocos2d::ui::TextAtlas* ret = cocos2d::ui::TextAtlas::create(arg0, arg1, arg2, arg3, arg4); object_to_luaval(tolua_S, "ccui.TextAtlas",(cocos2d::ui::TextAtlas*)ret); @@ -8745,7 +8745,7 @@ int lua_cocos2dx_ui_TextAtlas_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "ccui.TextAtlas:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -8776,7 +8776,7 @@ int lua_cocos2dx_ui_TextAtlas_createInstance(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Ref",(cocos2d::Ref*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createInstance",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccui.TextAtlas:createInstance",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -8808,7 +8808,7 @@ int lua_cocos2dx_ui_TextAtlas_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccui.TextAtlas"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "TextAtlas",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextAtlas:TextAtlas",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -8875,13 +8875,13 @@ int lua_cocos2dx_ui_LoadingBar_setPercent(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccui.LoadingBar:setPercent"); if(!ok) return 0; cobj->setPercent(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setPercent",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.LoadingBar:setPercent",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8921,7 +8921,7 @@ int lua_cocos2dx_ui_LoadingBar_loadTexture(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.LoadingBar:loadTexture"); if(!ok) return 0; cobj->loadTexture(arg0); @@ -8932,15 +8932,15 @@ int lua_cocos2dx_ui_LoadingBar_loadTexture(lua_State* tolua_S) std::string arg0; cocos2d::ui::Widget::TextureResType arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.LoadingBar:loadTexture"); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccui.LoadingBar:loadTexture"); if(!ok) return 0; cobj->loadTexture(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "loadTexture",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.LoadingBar:loadTexture",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -8980,13 +8980,13 @@ int lua_cocos2dx_ui_LoadingBar_setDirection(lua_State* tolua_S) { cocos2d::ui::LoadingBar::Direction arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccui.LoadingBar:setDirection"); if(!ok) return 0; cobj->setDirection(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setDirection",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.LoadingBar:setDirection",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -9026,13 +9026,13 @@ int lua_cocos2dx_ui_LoadingBar_setScale9Enabled(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccui.LoadingBar:setScale9Enabled"); if(!ok) return 0; cobj->setScale9Enabled(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setScale9Enabled",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.LoadingBar:setScale9Enabled",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -9072,13 +9072,13 @@ int lua_cocos2dx_ui_LoadingBar_setCapInsets(lua_State* tolua_S) { cocos2d::Rect arg0; - ok &= luaval_to_rect(tolua_S, 2, &arg0); + ok &= luaval_to_rect(tolua_S, 2, &arg0, "ccui.LoadingBar:setCapInsets"); if(!ok) return 0; cobj->setCapInsets(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setCapInsets",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.LoadingBar:setCapInsets",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -9122,7 +9122,7 @@ int lua_cocos2dx_ui_LoadingBar_getDirection(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDirection",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.LoadingBar:getDirection",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9166,7 +9166,7 @@ int lua_cocos2dx_ui_LoadingBar_getCapInsets(lua_State* tolua_S) rect_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getCapInsets",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.LoadingBar:getCapInsets",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9210,7 +9210,7 @@ int lua_cocos2dx_ui_LoadingBar_isScale9Enabled(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isScale9Enabled",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.LoadingBar:isScale9Enabled",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9254,7 +9254,7 @@ int lua_cocos2dx_ui_LoadingBar_getPercent(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPercent",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.LoadingBar:getPercent",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9283,7 +9283,7 @@ int lua_cocos2dx_ui_LoadingBar_create(lua_State* tolua_S) if (argc == 1) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.LoadingBar:create"); if (!ok) { break; } cocos2d::ui::LoadingBar* ret = cocos2d::ui::LoadingBar::create(arg0); object_to_luaval(tolua_S, "ccui.LoadingBar",(cocos2d::ui::LoadingBar*)ret); @@ -9296,10 +9296,10 @@ int lua_cocos2dx_ui_LoadingBar_create(lua_State* tolua_S) if (argc == 2) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.LoadingBar:create"); if (!ok) { break; } double arg1; - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "ccui.LoadingBar:create"); if (!ok) { break; } cocos2d::ui::LoadingBar* ret = cocos2d::ui::LoadingBar::create(arg0, arg1); object_to_luaval(tolua_S, "ccui.LoadingBar",(cocos2d::ui::LoadingBar*)ret); @@ -9317,7 +9317,7 @@ int lua_cocos2dx_ui_LoadingBar_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "ccui.LoadingBar:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -9348,7 +9348,7 @@ int lua_cocos2dx_ui_LoadingBar_createInstance(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Ref",(cocos2d::Ref*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createInstance",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccui.LoadingBar:createInstance",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -9380,7 +9380,7 @@ int lua_cocos2dx_ui_LoadingBar_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccui.LoadingBar"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "LoadingBar",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.LoadingBar:LoadingBar",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9452,15 +9452,15 @@ int lua_cocos2dx_ui_ScrollView_scrollToTop(lua_State* tolua_S) double arg0; bool arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccui.ScrollView:scrollToTop"); - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "ccui.ScrollView:scrollToTop"); if(!ok) return 0; cobj->scrollToTop(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "scrollToTop",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ScrollView:scrollToTop",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -9502,17 +9502,17 @@ int lua_cocos2dx_ui_ScrollView_scrollToPercentHorizontal(lua_State* tolua_S) double arg1; bool arg2; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccui.ScrollView:scrollToPercentHorizontal"); - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "ccui.ScrollView:scrollToPercentHorizontal"); - ok &= luaval_to_boolean(tolua_S, 4,&arg2); + ok &= luaval_to_boolean(tolua_S, 4,&arg2, "ccui.ScrollView:scrollToPercentHorizontal"); if(!ok) return 0; cobj->scrollToPercentHorizontal(arg0, arg1, arg2); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "scrollToPercentHorizontal",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ScrollView:scrollToPercentHorizontal",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 @@ -9556,7 +9556,7 @@ int lua_cocos2dx_ui_ScrollView_isInertiaScrollEnabled(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isInertiaScrollEnabled",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ScrollView:isInertiaScrollEnabled",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9598,17 +9598,17 @@ int lua_cocos2dx_ui_ScrollView_scrollToPercentBothDirection(lua_State* tolua_S) double arg1; bool arg2; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "ccui.ScrollView:scrollToPercentBothDirection"); - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "ccui.ScrollView:scrollToPercentBothDirection"); - ok &= luaval_to_boolean(tolua_S, 4,&arg2); + ok &= luaval_to_boolean(tolua_S, 4,&arg2, "ccui.ScrollView:scrollToPercentBothDirection"); if(!ok) return 0; cobj->scrollToPercentBothDirection(arg0, arg1, arg2); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "scrollToPercentBothDirection",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ScrollView:scrollToPercentBothDirection",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 @@ -9652,7 +9652,7 @@ int lua_cocos2dx_ui_ScrollView_getDirection(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDirection",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ScrollView:getDirection",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9693,15 +9693,15 @@ int lua_cocos2dx_ui_ScrollView_scrollToBottomLeft(lua_State* tolua_S) double arg0; bool arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccui.ScrollView:scrollToBottomLeft"); - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "ccui.ScrollView:scrollToBottomLeft"); if(!ok) return 0; cobj->scrollToBottomLeft(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "scrollToBottomLeft",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ScrollView:scrollToBottomLeft",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -9745,7 +9745,7 @@ int lua_cocos2dx_ui_ScrollView_getInnerContainer(lua_State* tolua_S) object_to_luaval(tolua_S, "ccui.Layout",(cocos2d::ui::Layout*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getInnerContainer",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ScrollView:getInnerContainer",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9788,7 +9788,7 @@ int lua_cocos2dx_ui_ScrollView_jumpToBottom(lua_State* tolua_S) cobj->jumpToBottom(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "jumpToBottom",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ScrollView:jumpToBottom",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9828,13 +9828,13 @@ int lua_cocos2dx_ui_ScrollView_setDirection(lua_State* tolua_S) { cocos2d::ui::ScrollView::Direction arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccui.ScrollView:setDirection"); if(!ok) return 0; cobj->setDirection(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setDirection",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ScrollView:setDirection",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -9875,15 +9875,15 @@ int lua_cocos2dx_ui_ScrollView_scrollToTopLeft(lua_State* tolua_S) double arg0; bool arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccui.ScrollView:scrollToTopLeft"); - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "ccui.ScrollView:scrollToTopLeft"); if(!ok) return 0; cobj->scrollToTopLeft(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "scrollToTopLeft",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ScrollView:scrollToTopLeft",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -9926,7 +9926,7 @@ int lua_cocos2dx_ui_ScrollView_jumpToTopRight(lua_State* tolua_S) cobj->jumpToTopRight(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "jumpToTopRight",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ScrollView:jumpToTopRight",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -9969,7 +9969,7 @@ int lua_cocos2dx_ui_ScrollView_jumpToBottomLeft(lua_State* tolua_S) cobj->jumpToBottomLeft(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "jumpToBottomLeft",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ScrollView:jumpToBottomLeft",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10009,13 +10009,13 @@ int lua_cocos2dx_ui_ScrollView_setInnerContainerSize(lua_State* tolua_S) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "ccui.ScrollView:setInnerContainerSize"); if(!ok) return 0; cobj->setInnerContainerSize(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setInnerContainerSize",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ScrollView:setInnerContainerSize",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -10059,7 +10059,7 @@ int lua_cocos2dx_ui_ScrollView_getInnerContainerSize(lua_State* tolua_S) size_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getInnerContainerSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ScrollView:getInnerContainerSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10103,7 +10103,7 @@ int lua_cocos2dx_ui_ScrollView_isBounceEnabled(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isBounceEnabled",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ScrollView:isBounceEnabled",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10143,13 +10143,13 @@ int lua_cocos2dx_ui_ScrollView_jumpToPercentVertical(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccui.ScrollView:jumpToPercentVertical"); if(!ok) return 0; cobj->jumpToPercentVertical(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "jumpToPercentVertical",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ScrollView:jumpToPercentVertical",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -10199,7 +10199,7 @@ int lua_cocos2dx_ui_ScrollView_addEventListener(lua_State* tolua_S) cobj->addEventListener(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addEventListener",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ScrollView:addEventListener",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -10239,13 +10239,13 @@ int lua_cocos2dx_ui_ScrollView_setInertiaScrollEnabled(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccui.ScrollView:setInertiaScrollEnabled"); if(!ok) return 0; cobj->setInertiaScrollEnabled(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setInertiaScrollEnabled",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ScrollView:setInertiaScrollEnabled",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -10288,7 +10288,7 @@ int lua_cocos2dx_ui_ScrollView_jumpToTopLeft(lua_State* tolua_S) cobj->jumpToTopLeft(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "jumpToTopLeft",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ScrollView:jumpToTopLeft",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10328,13 +10328,13 @@ int lua_cocos2dx_ui_ScrollView_jumpToPercentHorizontal(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccui.ScrollView:jumpToPercentHorizontal"); if(!ok) return 0; cobj->jumpToPercentHorizontal(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "jumpToPercentHorizontal",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ScrollView:jumpToPercentHorizontal",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -10377,7 +10377,7 @@ int lua_cocos2dx_ui_ScrollView_jumpToBottomRight(lua_State* tolua_S) cobj->jumpToBottomRight(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "jumpToBottomRight",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ScrollView:jumpToBottomRight",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10417,13 +10417,13 @@ int lua_cocos2dx_ui_ScrollView_setBounceEnabled(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccui.ScrollView:setBounceEnabled"); if(!ok) return 0; cobj->setBounceEnabled(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setBounceEnabled",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ScrollView:setBounceEnabled",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -10466,7 +10466,7 @@ int lua_cocos2dx_ui_ScrollView_jumpToTop(lua_State* tolua_S) cobj->jumpToTop(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "jumpToTop",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ScrollView:jumpToTop",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10507,15 +10507,15 @@ int lua_cocos2dx_ui_ScrollView_scrollToLeft(lua_State* tolua_S) double arg0; bool arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccui.ScrollView:scrollToLeft"); - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "ccui.ScrollView:scrollToLeft"); if(!ok) return 0; cobj->scrollToLeft(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "scrollToLeft",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ScrollView:scrollToLeft",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -10555,13 +10555,13 @@ int lua_cocos2dx_ui_ScrollView_jumpToPercentBothDirection(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "ccui.ScrollView:jumpToPercentBothDirection"); if(!ok) return 0; cobj->jumpToPercentBothDirection(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "jumpToPercentBothDirection",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ScrollView:jumpToPercentBothDirection",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -10603,17 +10603,17 @@ int lua_cocos2dx_ui_ScrollView_scrollToPercentVertical(lua_State* tolua_S) double arg1; bool arg2; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccui.ScrollView:scrollToPercentVertical"); - ok &= luaval_to_number(tolua_S, 3,&arg1); + ok &= luaval_to_number(tolua_S, 3,&arg1, "ccui.ScrollView:scrollToPercentVertical"); - ok &= luaval_to_boolean(tolua_S, 4,&arg2); + ok &= luaval_to_boolean(tolua_S, 4,&arg2, "ccui.ScrollView:scrollToPercentVertical"); if(!ok) return 0; cobj->scrollToPercentVertical(arg0, arg1, arg2); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "scrollToPercentVertical",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ScrollView:scrollToPercentVertical",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 @@ -10654,15 +10654,15 @@ int lua_cocos2dx_ui_ScrollView_scrollToBottom(lua_State* tolua_S) double arg0; bool arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccui.ScrollView:scrollToBottom"); - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "ccui.ScrollView:scrollToBottom"); if(!ok) return 0; cobj->scrollToBottom(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "scrollToBottom",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ScrollView:scrollToBottom",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -10703,15 +10703,15 @@ int lua_cocos2dx_ui_ScrollView_scrollToBottomRight(lua_State* tolua_S) double arg0; bool arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccui.ScrollView:scrollToBottomRight"); - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "ccui.ScrollView:scrollToBottomRight"); if(!ok) return 0; cobj->scrollToBottomRight(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "scrollToBottomRight",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ScrollView:scrollToBottomRight",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -10754,7 +10754,7 @@ int lua_cocos2dx_ui_ScrollView_jumpToLeft(lua_State* tolua_S) cobj->jumpToLeft(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "jumpToLeft",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ScrollView:jumpToLeft",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10795,15 +10795,15 @@ int lua_cocos2dx_ui_ScrollView_scrollToRight(lua_State* tolua_S) double arg0; bool arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccui.ScrollView:scrollToRight"); - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "ccui.ScrollView:scrollToRight"); if(!ok) return 0; cobj->scrollToRight(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "scrollToRight",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ScrollView:scrollToRight",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -10846,7 +10846,7 @@ int lua_cocos2dx_ui_ScrollView_jumpToRight(lua_State* tolua_S) cobj->jumpToRight(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "jumpToRight",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ScrollView:jumpToRight",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -10887,15 +10887,15 @@ int lua_cocos2dx_ui_ScrollView_scrollToTopRight(lua_State* tolua_S) double arg0; bool arg1; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccui.ScrollView:scrollToTopRight"); - ok &= luaval_to_boolean(tolua_S, 3,&arg1); + ok &= luaval_to_boolean(tolua_S, 3,&arg1, "ccui.ScrollView:scrollToTopRight"); if(!ok) return 0; cobj->scrollToTopRight(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "scrollToTopRight",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ScrollView:scrollToTopRight",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -10928,7 +10928,7 @@ int lua_cocos2dx_ui_ScrollView_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccui.ScrollView",(cocos2d::ui::ScrollView*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccui.ScrollView:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -10959,7 +10959,7 @@ int lua_cocos2dx_ui_ScrollView_createInstance(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Ref",(cocos2d::Ref*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createInstance",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccui.ScrollView:createInstance",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -10991,7 +10991,7 @@ int lua_cocos2dx_ui_ScrollView_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccui.ScrollView"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ScrollView",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ScrollView:ScrollView",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -11092,7 +11092,7 @@ int lua_cocos2dx_ui_ListView_getIndex(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getIndex",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ListView:getIndex",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -11135,7 +11135,7 @@ int lua_cocos2dx_ui_ListView_removeAllItems(lua_State* tolua_S) cobj->removeAllItems(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeAllItems",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ListView:removeAllItems",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -11175,13 +11175,13 @@ int lua_cocos2dx_ui_ListView_setGravity(lua_State* tolua_S) { cocos2d::ui::ListView::Gravity arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccui.ListView:setGravity"); if(!ok) return 0; cobj->setGravity(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setGravity",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ListView:setGravity",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -11227,7 +11227,7 @@ int lua_cocos2dx_ui_ListView_pushBackCustomItem(lua_State* tolua_S) cobj->pushBackCustomItem(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "pushBackCustomItem",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ListView:pushBackCustomItem",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -11271,7 +11271,7 @@ int lua_cocos2dx_ui_ListView_getItems(lua_State* tolua_S) ccvector_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getItems",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ListView:getItems",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -11311,13 +11311,13 @@ int lua_cocos2dx_ui_ListView_removeItem(lua_State* tolua_S) { ssize_t arg0; - ok &= luaval_to_ssize(tolua_S, 2, &arg0); + ok &= luaval_to_ssize(tolua_S, 2, &arg0, "ccui.ListView:removeItem"); if(!ok) return 0; cobj->removeItem(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeItem",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ListView:removeItem",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -11361,7 +11361,7 @@ int lua_cocos2dx_ui_ListView_getCurSelectedIndex(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getCurSelectedIndex",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ListView:getCurSelectedIndex",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -11401,13 +11401,13 @@ int lua_cocos2dx_ui_ListView_insertDefaultItem(lua_State* tolua_S) { ssize_t arg0; - ok &= luaval_to_ssize(tolua_S, 2, &arg0); + ok &= luaval_to_ssize(tolua_S, 2, &arg0, "ccui.ListView:insertDefaultItem"); if(!ok) return 0; cobj->insertDefaultItem(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "insertDefaultItem",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ListView:insertDefaultItem",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -11450,7 +11450,7 @@ int lua_cocos2dx_ui_ListView_requestRefreshView(lua_State* tolua_S) cobj->requestRefreshView(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "requestRefreshView",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ListView:requestRefreshView",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -11490,13 +11490,13 @@ int lua_cocos2dx_ui_ListView_setItemsMargin(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccui.ListView:setItemsMargin"); if(!ok) return 0; cobj->setItemsMargin(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setItemsMargin",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ListView:setItemsMargin",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -11539,7 +11539,7 @@ int lua_cocos2dx_ui_ListView_refreshView(lua_State* tolua_S) cobj->refreshView(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "refreshView",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ListView:refreshView",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -11582,7 +11582,7 @@ int lua_cocos2dx_ui_ListView_removeLastItem(lua_State* tolua_S) cobj->removeLastItem(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeLastItem",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ListView:removeLastItem",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -11626,7 +11626,7 @@ int lua_cocos2dx_ui_ListView_getItemsMargin(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getItemsMargin",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ListView:getItemsMargin",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -11676,7 +11676,7 @@ int lua_cocos2dx_ui_ListView_addEventListener(lua_State* tolua_S) cobj->addEventListener(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addEventListener",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ListView:addEventListener",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -11716,14 +11716,14 @@ int lua_cocos2dx_ui_ListView_getItem(lua_State* tolua_S) { ssize_t arg0; - ok &= luaval_to_ssize(tolua_S, 2, &arg0); + ok &= luaval_to_ssize(tolua_S, 2, &arg0, "ccui.ListView:getItem"); if(!ok) return 0; cocos2d::ui::Widget* ret = cobj->getItem(arg0); object_to_luaval(tolua_S, "ccui.Widget",(cocos2d::ui::Widget*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getItem",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ListView:getItem",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -11769,7 +11769,7 @@ int lua_cocos2dx_ui_ListView_setItemModel(lua_State* tolua_S) cobj->setItemModel(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setItemModel",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ListView:setItemModel",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -11812,7 +11812,7 @@ int lua_cocos2dx_ui_ListView_doLayout(lua_State* tolua_S) cobj->doLayout(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "doLayout",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ListView:doLayout",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -11855,7 +11855,7 @@ int lua_cocos2dx_ui_ListView_pushBackDefaultItem(lua_State* tolua_S) cobj->pushBackDefaultItem(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "pushBackDefaultItem",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ListView:pushBackDefaultItem",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -11898,13 +11898,13 @@ int lua_cocos2dx_ui_ListView_insertCustomItem(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 2, "ccui.Widget",&arg0); - ok &= luaval_to_ssize(tolua_S, 3, &arg1); + ok &= luaval_to_ssize(tolua_S, 3, &arg1, "ccui.ListView:insertCustomItem"); if(!ok) return 0; cobj->insertCustomItem(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "insertCustomItem",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ListView:insertCustomItem",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -11937,7 +11937,7 @@ int lua_cocos2dx_ui_ListView_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccui.ListView",(cocos2d::ui::ListView*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccui.ListView:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -11968,7 +11968,7 @@ int lua_cocos2dx_ui_ListView_createInstance(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Ref",(cocos2d::Ref*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createInstance",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccui.ListView:createInstance",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -12000,7 +12000,7 @@ int lua_cocos2dx_ui_ListView_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccui.ListView"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ListView",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.ListView:ListView",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -12081,13 +12081,13 @@ int lua_cocos2dx_ui_Slider_setPercent(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccui.Slider:setPercent"); if(!ok) return 0; cobj->setPercent(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setPercent",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Slider:setPercent",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -12127,7 +12127,7 @@ int lua_cocos2dx_ui_Slider_loadSlidBallTextureDisabled(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.Slider:loadSlidBallTextureDisabled"); if(!ok) return 0; cobj->loadSlidBallTextureDisabled(arg0); @@ -12138,15 +12138,15 @@ int lua_cocos2dx_ui_Slider_loadSlidBallTextureDisabled(lua_State* tolua_S) std::string arg0; cocos2d::ui::Widget::TextureResType arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.Slider:loadSlidBallTextureDisabled"); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccui.Slider:loadSlidBallTextureDisabled"); if(!ok) return 0; cobj->loadSlidBallTextureDisabled(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "loadSlidBallTextureDisabled",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Slider:loadSlidBallTextureDisabled",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -12186,7 +12186,7 @@ int lua_cocos2dx_ui_Slider_loadSlidBallTextureNormal(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.Slider:loadSlidBallTextureNormal"); if(!ok) return 0; cobj->loadSlidBallTextureNormal(arg0); @@ -12197,15 +12197,15 @@ int lua_cocos2dx_ui_Slider_loadSlidBallTextureNormal(lua_State* tolua_S) std::string arg0; cocos2d::ui::Widget::TextureResType arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.Slider:loadSlidBallTextureNormal"); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccui.Slider:loadSlidBallTextureNormal"); if(!ok) return 0; cobj->loadSlidBallTextureNormal(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "loadSlidBallTextureNormal",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Slider:loadSlidBallTextureNormal",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -12245,7 +12245,7 @@ int lua_cocos2dx_ui_Slider_loadBarTexture(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.Slider:loadBarTexture"); if(!ok) return 0; cobj->loadBarTexture(arg0); @@ -12256,15 +12256,15 @@ int lua_cocos2dx_ui_Slider_loadBarTexture(lua_State* tolua_S) std::string arg0; cocos2d::ui::Widget::TextureResType arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.Slider:loadBarTexture"); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccui.Slider:loadBarTexture"); if(!ok) return 0; cobj->loadBarTexture(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "loadBarTexture",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Slider:loadBarTexture",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -12304,7 +12304,7 @@ int lua_cocos2dx_ui_Slider_loadProgressBarTexture(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.Slider:loadProgressBarTexture"); if(!ok) return 0; cobj->loadProgressBarTexture(arg0); @@ -12315,15 +12315,15 @@ int lua_cocos2dx_ui_Slider_loadProgressBarTexture(lua_State* tolua_S) std::string arg0; cocos2d::ui::Widget::TextureResType arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.Slider:loadProgressBarTexture"); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccui.Slider:loadProgressBarTexture"); if(!ok) return 0; cobj->loadProgressBarTexture(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "loadProgressBarTexture",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Slider:loadProgressBarTexture",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -12365,11 +12365,11 @@ int lua_cocos2dx_ui_Slider_loadSlidBallTextures(lua_State* tolua_S) std::string arg1; std::string arg2; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.Slider:loadSlidBallTextures"); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "ccui.Slider:loadSlidBallTextures"); - ok &= luaval_to_std_string(tolua_S, 4,&arg2); + ok &= luaval_to_std_string(tolua_S, 4,&arg2, "ccui.Slider:loadSlidBallTextures"); if(!ok) return 0; cobj->loadSlidBallTextures(arg0, arg1, arg2); @@ -12382,19 +12382,19 @@ int lua_cocos2dx_ui_Slider_loadSlidBallTextures(lua_State* tolua_S) std::string arg2; cocos2d::ui::Widget::TextureResType arg3; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.Slider:loadSlidBallTextures"); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "ccui.Slider:loadSlidBallTextures"); - ok &= luaval_to_std_string(tolua_S, 4,&arg2); + ok &= luaval_to_std_string(tolua_S, 4,&arg2, "ccui.Slider:loadSlidBallTextures"); - ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3); + ok &= luaval_to_int32(tolua_S, 5,(int *)&arg3, "ccui.Slider:loadSlidBallTextures"); if(!ok) return 0; cobj->loadSlidBallTextures(arg0, arg1, arg2, arg3); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "loadSlidBallTextures",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Slider:loadSlidBallTextures",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 @@ -12434,13 +12434,13 @@ int lua_cocos2dx_ui_Slider_setCapInsetProgressBarRebderer(lua_State* tolua_S) { cocos2d::Rect arg0; - ok &= luaval_to_rect(tolua_S, 2, &arg0); + ok &= luaval_to_rect(tolua_S, 2, &arg0, "ccui.Slider:setCapInsetProgressBarRebderer"); if(!ok) return 0; cobj->setCapInsetProgressBarRebderer(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setCapInsetProgressBarRebderer",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Slider:setCapInsetProgressBarRebderer",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -12480,13 +12480,13 @@ int lua_cocos2dx_ui_Slider_setCapInsetsBarRenderer(lua_State* tolua_S) { cocos2d::Rect arg0; - ok &= luaval_to_rect(tolua_S, 2, &arg0); + ok &= luaval_to_rect(tolua_S, 2, &arg0, "ccui.Slider:setCapInsetsBarRenderer"); if(!ok) return 0; cobj->setCapInsetsBarRenderer(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setCapInsetsBarRenderer",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Slider:setCapInsetsBarRenderer",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -12530,7 +12530,7 @@ int lua_cocos2dx_ui_Slider_getCapInsetsProgressBarRebderer(lua_State* tolua_S) rect_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getCapInsetsProgressBarRebderer",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Slider:getCapInsetsProgressBarRebderer",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -12570,13 +12570,13 @@ int lua_cocos2dx_ui_Slider_setScale9Enabled(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccui.Slider:setScale9Enabled"); if(!ok) return 0; cobj->setScale9Enabled(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setScale9Enabled",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Slider:setScale9Enabled",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -12616,13 +12616,13 @@ int lua_cocos2dx_ui_Slider_setCapInsets(lua_State* tolua_S) { cocos2d::Rect arg0; - ok &= luaval_to_rect(tolua_S, 2, &arg0); + ok &= luaval_to_rect(tolua_S, 2, &arg0, "ccui.Slider:setCapInsets"); if(!ok) return 0; cobj->setCapInsets(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setCapInsets",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Slider:setCapInsets",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -12672,7 +12672,7 @@ int lua_cocos2dx_ui_Slider_addEventListener(lua_State* tolua_S) cobj->addEventListener(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addEventListener",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Slider:addEventListener",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -12712,7 +12712,7 @@ int lua_cocos2dx_ui_Slider_loadSlidBallTexturePressed(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.Slider:loadSlidBallTexturePressed"); if(!ok) return 0; cobj->loadSlidBallTexturePressed(arg0); @@ -12723,15 +12723,15 @@ int lua_cocos2dx_ui_Slider_loadSlidBallTexturePressed(lua_State* tolua_S) std::string arg0; cocos2d::ui::Widget::TextureResType arg1; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.Slider:loadSlidBallTexturePressed"); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccui.Slider:loadSlidBallTexturePressed"); if(!ok) return 0; cobj->loadSlidBallTexturePressed(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "loadSlidBallTexturePressed",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Slider:loadSlidBallTexturePressed",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -12775,7 +12775,7 @@ int lua_cocos2dx_ui_Slider_isScale9Enabled(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isScale9Enabled",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Slider:isScale9Enabled",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -12819,7 +12819,7 @@ int lua_cocos2dx_ui_Slider_getCapInsetsBarRenderer(lua_State* tolua_S) rect_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getCapInsetsBarRenderer",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Slider:getCapInsetsBarRenderer",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -12863,7 +12863,7 @@ int lua_cocos2dx_ui_Slider_getPercent(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPercent",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Slider:getPercent",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -12896,7 +12896,7 @@ int lua_cocos2dx_ui_Slider_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccui.Slider",(cocos2d::ui::Slider*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccui.Slider:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -12927,7 +12927,7 @@ int lua_cocos2dx_ui_Slider_createInstance(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Ref",(cocos2d::Ref*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createInstance",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccui.Slider:createInstance",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -12959,7 +12959,7 @@ int lua_cocos2dx_ui_Slider_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccui.Slider"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "Slider",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.Slider:Slider",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13037,13 +13037,13 @@ int lua_cocos2dx_ui_TextField_setAttachWithIME(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccui.TextField:setAttachWithIME"); if(!ok) return 0; cobj->setAttachWithIME(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAttachWithIME",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextField:setAttachWithIME",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -13087,7 +13087,7 @@ int lua_cocos2dx_ui_TextField_getFontSize(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getFontSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextField:getFontSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13131,7 +13131,7 @@ int lua_cocos2dx_ui_TextField_getStringValue(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getStringValue",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextField:getStringValue",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13175,7 +13175,7 @@ int lua_cocos2dx_ui_TextField_getDeleteBackward(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDeleteBackward",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextField:getDeleteBackward",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13219,7 +13219,7 @@ int lua_cocos2dx_ui_TextField_getPlaceHolder(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPlaceHolder",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextField:getPlaceHolder",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13263,7 +13263,7 @@ int lua_cocos2dx_ui_TextField_getAttachWithIME(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getAttachWithIME",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextField:getAttachWithIME",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13303,13 +13303,13 @@ int lua_cocos2dx_ui_TextField_setFontName(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.TextField:setFontName"); if(!ok) return 0; cobj->setFontName(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setFontName",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextField:setFontName",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -13353,7 +13353,7 @@ int lua_cocos2dx_ui_TextField_getInsertText(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getInsertText",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextField:getInsertText",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13393,13 +13393,13 @@ int lua_cocos2dx_ui_TextField_setInsertText(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccui.TextField:setInsertText"); if(!ok) return 0; cobj->setInsertText(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setInsertText",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextField:setInsertText",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -13443,7 +13443,7 @@ int lua_cocos2dx_ui_TextField_getDetachWithIME(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getDetachWithIME",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextField:getDetachWithIME",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13483,13 +13483,13 @@ int lua_cocos2dx_ui_TextField_setTextVerticalAlignment(lua_State* tolua_S) { cocos2d::TextVAlignment arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccui.TextField:setTextVerticalAlignment"); if(!ok) return 0; cobj->setTextVerticalAlignment(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTextVerticalAlignment",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextField:setTextVerticalAlignment",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -13539,7 +13539,7 @@ int lua_cocos2dx_ui_TextField_addEventListener(lua_State* tolua_S) cobj->addEventListener(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addEventListener",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextField:addEventListener",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -13582,7 +13582,7 @@ int lua_cocos2dx_ui_TextField_didNotSelectSelf(lua_State* tolua_S) cobj->didNotSelectSelf(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "didNotSelectSelf",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextField:didNotSelectSelf",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13626,7 +13626,7 @@ int lua_cocos2dx_ui_TextField_getFontName(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getFontName",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextField:getFontName",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13666,13 +13666,13 @@ int lua_cocos2dx_ui_TextField_setTextAreaSize(lua_State* tolua_S) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "ccui.TextField:setTextAreaSize"); if(!ok) return 0; cobj->setTextAreaSize(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTextAreaSize",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextField:setTextAreaSize",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -13715,7 +13715,7 @@ int lua_cocos2dx_ui_TextField_attachWithIME(lua_State* tolua_S) cobj->attachWithIME(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "attachWithIME",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextField:attachWithIME",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13759,7 +13759,7 @@ int lua_cocos2dx_ui_TextField_getStringLength(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getStringLength",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextField:getStringLength",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13799,13 +13799,13 @@ int lua_cocos2dx_ui_TextField_setPasswordEnabled(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccui.TextField:setPasswordEnabled"); if(!ok) return 0; cobj->setPasswordEnabled(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setPasswordEnabled",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextField:setPasswordEnabled",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -13849,7 +13849,7 @@ int lua_cocos2dx_ui_TextField_getPasswordStyleText(lua_State* tolua_S) tolua_pushstring(tolua_S,(const char*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPasswordStyleText",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextField:getPasswordStyleText",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -13889,13 +13889,13 @@ int lua_cocos2dx_ui_TextField_setMaxLengthEnabled(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccui.TextField:setMaxLengthEnabled"); if(!ok) return 0; cobj->setMaxLengthEnabled(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setMaxLengthEnabled",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextField:setMaxLengthEnabled",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -13935,13 +13935,13 @@ int lua_cocos2dx_ui_TextField_setPasswordStyleText(lua_State* tolua_S) { const char* arg0; - std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp); arg0 = arg0_tmp.c_str(); + std::string arg0_tmp; ok &= luaval_to_std_string(tolua_S, 2, &arg0_tmp, "ccui.TextField:setPasswordStyleText"); arg0 = arg0_tmp.c_str(); if(!ok) return 0; cobj->setPasswordStyleText(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setPasswordStyleText",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextField:setPasswordStyleText",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -13981,13 +13981,13 @@ int lua_cocos2dx_ui_TextField_setDeleteBackward(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccui.TextField:setDeleteBackward"); if(!ok) return 0; cobj->setDeleteBackward(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setDeleteBackward",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextField:setDeleteBackward",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -14027,13 +14027,13 @@ int lua_cocos2dx_ui_TextField_setFontSize(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccui.TextField:setFontSize"); if(!ok) return 0; cobj->setFontSize(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setFontSize",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextField:setFontSize",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -14073,13 +14073,13 @@ int lua_cocos2dx_ui_TextField_setPlaceHolder(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.TextField:setPlaceHolder"); if(!ok) return 0; cobj->setPlaceHolder(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setPlaceHolder",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextField:setPlaceHolder",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -14123,7 +14123,7 @@ int lua_cocos2dx_ui_TextField_isPasswordEnabled(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isPasswordEnabled",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextField:isPasswordEnabled",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -14163,13 +14163,13 @@ int lua_cocos2dx_ui_TextField_setTextHorizontalAlignment(lua_State* tolua_S) { cocos2d::TextHAlignment arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccui.TextField:setTextHorizontalAlignment"); if(!ok) return 0; cobj->setTextHorizontalAlignment(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTextHorizontalAlignment",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextField:setTextHorizontalAlignment",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -14213,7 +14213,7 @@ int lua_cocos2dx_ui_TextField_getMaxLength(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getMaxLength",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextField:getMaxLength",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -14257,7 +14257,7 @@ int lua_cocos2dx_ui_TextField_isMaxLengthEnabled(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "isMaxLengthEnabled",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextField:isMaxLengthEnabled",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -14297,13 +14297,13 @@ int lua_cocos2dx_ui_TextField_setDetachWithIME(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccui.TextField:setDetachWithIME"); if(!ok) return 0; cobj->setDetachWithIME(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setDetachWithIME",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextField:setDetachWithIME",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -14343,13 +14343,13 @@ int lua_cocos2dx_ui_TextField_setText(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.TextField:setText"); if(!ok) return 0; cobj->setText(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setText",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextField:setText",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -14389,13 +14389,13 @@ int lua_cocos2dx_ui_TextField_setTouchAreaEnabled(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccui.TextField:setTouchAreaEnabled"); if(!ok) return 0; cobj->setTouchAreaEnabled(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTouchAreaEnabled",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextField:setTouchAreaEnabled",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -14435,14 +14435,14 @@ int lua_cocos2dx_ui_TextField_hitTest(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "ccui.TextField:hitTest"); if(!ok) return 0; bool ret = cobj->hitTest(arg0); tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "hitTest",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextField:hitTest",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -14482,13 +14482,13 @@ int lua_cocos2dx_ui_TextField_setMaxLength(lua_State* tolua_S) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccui.TextField:setMaxLength"); if(!ok) return 0; cobj->setMaxLength(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setMaxLength",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextField:setMaxLength",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -14528,13 +14528,13 @@ int lua_cocos2dx_ui_TextField_setTouchSize(lua_State* tolua_S) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "ccui.TextField:setTouchSize"); if(!ok) return 0; cobj->setTouchSize(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setTouchSize",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextField:setTouchSize",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -14578,7 +14578,7 @@ int lua_cocos2dx_ui_TextField_getTouchSize(lua_State* tolua_S) size_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getTouchSize",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextField:getTouchSize",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -14607,13 +14607,13 @@ int lua_cocos2dx_ui_TextField_create(lua_State* tolua_S) if (argc == 3) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.TextField:create"); if (!ok) { break; } std::string arg1; - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "ccui.TextField:create"); if (!ok) { break; } int arg2; - ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2); + ok &= luaval_to_int32(tolua_S, 4,(int *)&arg2, "ccui.TextField:create"); if (!ok) { break; } cocos2d::ui::TextField* ret = cocos2d::ui::TextField::create(arg0, arg1, arg2); object_to_luaval(tolua_S, "ccui.TextField",(cocos2d::ui::TextField*)ret); @@ -14631,7 +14631,7 @@ int lua_cocos2dx_ui_TextField_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "ccui.TextField:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -14662,7 +14662,7 @@ int lua_cocos2dx_ui_TextField_createInstance(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Ref",(cocos2d::Ref*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createInstance",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccui.TextField:createInstance",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -14694,7 +14694,7 @@ int lua_cocos2dx_ui_TextField_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccui.TextField"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "TextField",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextField:TextField",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -14791,13 +14791,13 @@ int lua_cocos2dx_ui_TextBMFont_setFntFile(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.TextBMFont:setFntFile"); if(!ok) return 0; cobj->setFntFile(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setFntFile",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextBMFont:setFntFile",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -14841,7 +14841,7 @@ int lua_cocos2dx_ui_TextBMFont_getStringLength(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getStringLength",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextBMFont:getStringLength",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -14881,13 +14881,13 @@ int lua_cocos2dx_ui_TextBMFont_setString(lua_State* tolua_S) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.TextBMFont:setString"); if(!ok) return 0; cobj->setString(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setString",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextBMFont:setString",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -14931,7 +14931,7 @@ int lua_cocos2dx_ui_TextBMFont_getString(lua_State* tolua_S) tolua_pushcppstring(tolua_S,ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getString",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextBMFont:getString",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -14960,10 +14960,10 @@ int lua_cocos2dx_ui_TextBMFont_create(lua_State* tolua_S) if (argc == 2) { std::string arg0; - ok &= luaval_to_std_string(tolua_S, 2,&arg0); + ok &= luaval_to_std_string(tolua_S, 2,&arg0, "ccui.TextBMFont:create"); if (!ok) { break; } std::string arg1; - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "ccui.TextBMFont:create"); if (!ok) { break; } cocos2d::ui::TextBMFont* ret = cocos2d::ui::TextBMFont::create(arg0, arg1); object_to_luaval(tolua_S, "ccui.TextBMFont",(cocos2d::ui::TextBMFont*)ret); @@ -14981,7 +14981,7 @@ int lua_cocos2dx_ui_TextBMFont_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "ccui.TextBMFont:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -15012,7 +15012,7 @@ int lua_cocos2dx_ui_TextBMFont_createInstance(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Ref",(cocos2d::Ref*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createInstance",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccui.TextBMFont:createInstance",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -15044,7 +15044,7 @@ int lua_cocos2dx_ui_TextBMFont_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccui.TextBMFont"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "TextBMFont",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.TextBMFont:TextBMFont",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -15114,7 +15114,7 @@ int lua_cocos2dx_ui_PageView_getCurPageIndex(lua_State* tolua_S) tolua_pushnumber(tolua_S,(lua_Number)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getCurPageIndex",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.PageView:getCurPageIndex",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -15158,15 +15158,15 @@ int lua_cocos2dx_ui_PageView_addWidgetToPage(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 2, "ccui.Widget",&arg0); - ok &= luaval_to_ssize(tolua_S, 3, &arg1); + ok &= luaval_to_ssize(tolua_S, 3, &arg1, "ccui.PageView:addWidgetToPage"); - ok &= luaval_to_boolean(tolua_S, 4,&arg2); + ok &= luaval_to_boolean(tolua_S, 4,&arg2, "ccui.PageView:addWidgetToPage"); if(!ok) return 0; cobj->addWidgetToPage(arg0, arg1, arg2); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addWidgetToPage",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.PageView:addWidgetToPage",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 @@ -15206,14 +15206,14 @@ int lua_cocos2dx_ui_PageView_getPage(lua_State* tolua_S) { ssize_t arg0; - ok &= luaval_to_ssize(tolua_S, 2, &arg0); + ok &= luaval_to_ssize(tolua_S, 2, &arg0, "ccui.PageView:getPage"); if(!ok) return 0; cocos2d::ui::Layout* ret = cobj->getPage(arg0); object_to_luaval(tolua_S, "ccui.Layout",(cocos2d::ui::Layout*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPage",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.PageView:getPage",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -15259,7 +15259,7 @@ int lua_cocos2dx_ui_PageView_removePage(lua_State* tolua_S) cobj->removePage(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removePage",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.PageView:removePage",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -15309,7 +15309,7 @@ int lua_cocos2dx_ui_PageView_addEventListener(lua_State* tolua_S) cobj->addEventListener(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addEventListener",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.PageView:addEventListener",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -15352,13 +15352,13 @@ int lua_cocos2dx_ui_PageView_insertPage(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 2, "ccui.Layout",&arg0); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccui.PageView:insertPage"); if(!ok) return 0; cobj->insertPage(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "insertPage",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.PageView:insertPage",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -15398,13 +15398,13 @@ int lua_cocos2dx_ui_PageView_scrollToPage(lua_State* tolua_S) { ssize_t arg0; - ok &= luaval_to_ssize(tolua_S, 2, &arg0); + ok &= luaval_to_ssize(tolua_S, 2, &arg0, "ccui.PageView:scrollToPage"); if(!ok) return 0; cobj->scrollToPage(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "scrollToPage",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.PageView:scrollToPage",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -15444,13 +15444,13 @@ int lua_cocos2dx_ui_PageView_removePageAtIndex(lua_State* tolua_S) { ssize_t arg0; - ok &= luaval_to_ssize(tolua_S, 2, &arg0); + ok &= luaval_to_ssize(tolua_S, 2, &arg0, "ccui.PageView:removePageAtIndex"); if(!ok) return 0; cobj->removePageAtIndex(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removePageAtIndex",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.PageView:removePageAtIndex",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -15494,7 +15494,7 @@ int lua_cocos2dx_ui_PageView_getPages(lua_State* tolua_S) ccvector_to_luaval(tolua_S, ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "getPages",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.PageView:getPages",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -15537,7 +15537,7 @@ int lua_cocos2dx_ui_PageView_removeAllPages(lua_State* tolua_S) cobj->removeAllPages(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeAllPages",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.PageView:removeAllPages",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -15583,7 +15583,7 @@ int lua_cocos2dx_ui_PageView_addPage(lua_State* tolua_S) cobj->addPage(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "addPage",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.PageView:addPage",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -15616,7 +15616,7 @@ int lua_cocos2dx_ui_PageView_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccui.PageView",(cocos2d::ui::PageView*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccui.PageView:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -15647,7 +15647,7 @@ int lua_cocos2dx_ui_PageView_createInstance(lua_State* tolua_S) object_to_luaval(tolua_S, "cc.Ref",(cocos2d::Ref*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "createInstance",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccui.PageView:createInstance",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -15679,7 +15679,7 @@ int lua_cocos2dx_ui_PageView_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccui.PageView"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "PageView",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.PageView:PageView",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -15742,14 +15742,14 @@ int lua_cocos2dx_ui_Helper_seekWidgetByTag(lua_State* tolua_S) cocos2d::ui::Widget* arg0; int arg1; ok &= luaval_to_object(tolua_S, 2, "ccui.Widget",&arg0); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccui.Helper:seekWidgetByTag"); if(!ok) return 0; cocos2d::ui::Widget* ret = cocos2d::ui::Helper::seekWidgetByTag(arg0, arg1); object_to_luaval(tolua_S, "ccui.Widget",(cocos2d::ui::Widget*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "seekWidgetByTag",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccui.Helper:seekWidgetByTag",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -15777,14 +15777,14 @@ int lua_cocos2dx_ui_Helper_seekActionWidgetByActionTag(lua_State* tolua_S) cocos2d::ui::Widget* arg0; int arg1; ok &= luaval_to_object(tolua_S, 2, "ccui.Widget",&arg0); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccui.Helper:seekActionWidgetByActionTag"); if(!ok) return 0; cocos2d::ui::Widget* ret = cocos2d::ui::Helper::seekActionWidgetByActionTag(arg0, arg1); object_to_luaval(tolua_S, "ccui.Widget",(cocos2d::ui::Widget*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "seekActionWidgetByActionTag",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccui.Helper:seekActionWidgetByActionTag",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -15812,14 +15812,14 @@ int lua_cocos2dx_ui_Helper_seekWidgetByName(lua_State* tolua_S) cocos2d::ui::Widget* arg0; std::string arg1; ok &= luaval_to_object(tolua_S, 2, "ccui.Widget",&arg0); - ok &= luaval_to_std_string(tolua_S, 3,&arg1); + ok &= luaval_to_std_string(tolua_S, 3,&arg1, "ccui.Helper:seekWidgetByName"); if(!ok) return 0; cocos2d::ui::Widget* ret = cocos2d::ui::Helper::seekWidgetByName(arg0, arg1); object_to_luaval(tolua_S, "ccui.Widget",(cocos2d::ui::Widget*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "seekWidgetByName",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccui.Helper:seekWidgetByName",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -15881,18 +15881,18 @@ int lua_cocos2dx_ui_RichElement_init(lua_State* tolua_S) cocos2d::Color3B arg1; uint16_t arg2; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccui.RichElement:init"); - ok &= luaval_to_color3b(tolua_S, 3, &arg1); + ok &= luaval_to_color3b(tolua_S, 3, &arg1, "ccui.RichElement:init"); - ok &= luaval_to_uint16(tolua_S, 4,&arg2); + ok &= luaval_to_uint16(tolua_S, 4,&arg2, "ccui.RichElement:init"); if(!ok) return 0; bool ret = cobj->init(arg0, arg1, arg2); tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "init",argc, 3); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.RichElement:init",argc, 3); return 0; #if COCOS2D_DEBUG >= 1 @@ -15926,7 +15926,7 @@ int lua_cocos2dx_ui_RichElement_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccui.RichElement"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "RichElement",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.RichElement:RichElement",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -15992,24 +15992,24 @@ int lua_cocos2dx_ui_RichElementText_init(lua_State* tolua_S) std::string arg4; double arg5; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccui.RichElementText:init"); - ok &= luaval_to_color3b(tolua_S, 3, &arg1); + ok &= luaval_to_color3b(tolua_S, 3, &arg1, "ccui.RichElementText:init"); - ok &= luaval_to_uint16(tolua_S, 4,&arg2); + ok &= luaval_to_uint16(tolua_S, 4,&arg2, "ccui.RichElementText:init"); - ok &= luaval_to_std_string(tolua_S, 5,&arg3); + ok &= luaval_to_std_string(tolua_S, 5,&arg3, "ccui.RichElementText:init"); - ok &= luaval_to_std_string(tolua_S, 6,&arg4); + ok &= luaval_to_std_string(tolua_S, 6,&arg4, "ccui.RichElementText:init"); - ok &= luaval_to_number(tolua_S, 7,&arg5); + ok &= luaval_to_number(tolua_S, 7,&arg5, "ccui.RichElementText:init"); if(!ok) return 0; bool ret = cobj->init(arg0, arg1, arg2, arg3, arg4, arg5); tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "init",argc, 6); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.RichElementText:init",argc, 6); return 0; #if COCOS2D_DEBUG >= 1 @@ -16042,19 +16042,19 @@ int lua_cocos2dx_ui_RichElementText_create(lua_State* tolua_S) std::string arg3; std::string arg4; double arg5; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); - ok &= luaval_to_color3b(tolua_S, 3, &arg1); - ok &= luaval_to_uint16(tolua_S, 4,&arg2); - ok &= luaval_to_std_string(tolua_S, 5,&arg3); - ok &= luaval_to_std_string(tolua_S, 6,&arg4); - ok &= luaval_to_number(tolua_S, 7,&arg5); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccui.RichElementText:create"); + ok &= luaval_to_color3b(tolua_S, 3, &arg1, "ccui.RichElementText:create"); + ok &= luaval_to_uint16(tolua_S, 4,&arg2, "ccui.RichElementText:create"); + ok &= luaval_to_std_string(tolua_S, 5,&arg3, "ccui.RichElementText:create"); + ok &= luaval_to_std_string(tolua_S, 6,&arg4, "ccui.RichElementText:create"); + ok &= luaval_to_number(tolua_S, 7,&arg5, "ccui.RichElementText:create"); if(!ok) return 0; cocos2d::ui::RichElementText* ret = cocos2d::ui::RichElementText::create(arg0, arg1, arg2, arg3, arg4, arg5); object_to_luaval(tolua_S, "ccui.RichElementText",(cocos2d::ui::RichElementText*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 6); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccui.RichElementText:create",argc, 6); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -16086,7 +16086,7 @@ int lua_cocos2dx_ui_RichElementText_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccui.RichElementText"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "RichElementText",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.RichElementText:RichElementText",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -16151,20 +16151,20 @@ int lua_cocos2dx_ui_RichElementImage_init(lua_State* tolua_S) uint16_t arg2; std::string arg3; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccui.RichElementImage:init"); - ok &= luaval_to_color3b(tolua_S, 3, &arg1); + ok &= luaval_to_color3b(tolua_S, 3, &arg1, "ccui.RichElementImage:init"); - ok &= luaval_to_uint16(tolua_S, 4,&arg2); + ok &= luaval_to_uint16(tolua_S, 4,&arg2, "ccui.RichElementImage:init"); - ok &= luaval_to_std_string(tolua_S, 5,&arg3); + ok &= luaval_to_std_string(tolua_S, 5,&arg3, "ccui.RichElementImage:init"); if(!ok) return 0; bool ret = cobj->init(arg0, arg1, arg2, arg3); tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "init",argc, 4); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.RichElementImage:init",argc, 4); return 0; #if COCOS2D_DEBUG >= 1 @@ -16195,17 +16195,17 @@ int lua_cocos2dx_ui_RichElementImage_create(lua_State* tolua_S) cocos2d::Color3B arg1; uint16_t arg2; std::string arg3; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); - ok &= luaval_to_color3b(tolua_S, 3, &arg1); - ok &= luaval_to_uint16(tolua_S, 4,&arg2); - ok &= luaval_to_std_string(tolua_S, 5,&arg3); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccui.RichElementImage:create"); + ok &= luaval_to_color3b(tolua_S, 3, &arg1, "ccui.RichElementImage:create"); + ok &= luaval_to_uint16(tolua_S, 4,&arg2, "ccui.RichElementImage:create"); + ok &= luaval_to_std_string(tolua_S, 5,&arg3, "ccui.RichElementImage:create"); if(!ok) return 0; cocos2d::ui::RichElementImage* ret = cocos2d::ui::RichElementImage::create(arg0, arg1, arg2, arg3); object_to_luaval(tolua_S, "ccui.RichElementImage",(cocos2d::ui::RichElementImage*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 4); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccui.RichElementImage:create",argc, 4); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -16237,7 +16237,7 @@ int lua_cocos2dx_ui_RichElementImage_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccui.RichElementImage"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "RichElementImage",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.RichElementImage:RichElementImage",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -16302,11 +16302,11 @@ int lua_cocos2dx_ui_RichElementCustomNode_init(lua_State* tolua_S) uint16_t arg2; cocos2d::Node* arg3; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccui.RichElementCustomNode:init"); - ok &= luaval_to_color3b(tolua_S, 3, &arg1); + ok &= luaval_to_color3b(tolua_S, 3, &arg1, "ccui.RichElementCustomNode:init"); - ok &= luaval_to_uint16(tolua_S, 4,&arg2); + ok &= luaval_to_uint16(tolua_S, 4,&arg2, "ccui.RichElementCustomNode:init"); ok &= luaval_to_object(tolua_S, 5, "cc.Node",&arg3); if(!ok) @@ -16315,7 +16315,7 @@ int lua_cocos2dx_ui_RichElementCustomNode_init(lua_State* tolua_S) tolua_pushboolean(tolua_S,(bool)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "init",argc, 4); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.RichElementCustomNode:init",argc, 4); return 0; #if COCOS2D_DEBUG >= 1 @@ -16346,9 +16346,9 @@ int lua_cocos2dx_ui_RichElementCustomNode_create(lua_State* tolua_S) cocos2d::Color3B arg1; uint16_t arg2; cocos2d::Node* arg3; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); - ok &= luaval_to_color3b(tolua_S, 3, &arg1); - ok &= luaval_to_uint16(tolua_S, 4,&arg2); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccui.RichElementCustomNode:create"); + ok &= luaval_to_color3b(tolua_S, 3, &arg1, "ccui.RichElementCustomNode:create"); + ok &= luaval_to_uint16(tolua_S, 4,&arg2, "ccui.RichElementCustomNode:create"); ok &= luaval_to_object(tolua_S, 5, "cc.Node",&arg3); if(!ok) return 0; @@ -16356,7 +16356,7 @@ int lua_cocos2dx_ui_RichElementCustomNode_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccui.RichElementCustomNode",(cocos2d::ui::RichElementCustomNode*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 4); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccui.RichElementCustomNode:create",argc, 4); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -16388,7 +16388,7 @@ int lua_cocos2dx_ui_RichElementCustomNode_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccui.RichElementCustomNode"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "RichElementCustomNode",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.RichElementCustomNode:RichElementCustomNode",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -16453,13 +16453,13 @@ int lua_cocos2dx_ui_RichText_insertElement(lua_State* tolua_S) ok &= luaval_to_object(tolua_S, 2, "ccui.RichElement",&arg0); - ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1); + ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccui.RichText:insertElement"); if(!ok) return 0; cobj->insertElement(arg0, arg1); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "insertElement",argc, 2); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.RichText:insertElement",argc, 2); return 0; #if COCOS2D_DEBUG >= 1 @@ -16499,13 +16499,13 @@ int lua_cocos2dx_ui_RichText_setAnchorPoint(lua_State* tolua_S) { cocos2d::Vec2 arg0; - ok &= luaval_to_vec2(tolua_S, 2, &arg0); + ok &= luaval_to_vec2(tolua_S, 2, &arg0, "ccui.RichText:setAnchorPoint"); if(!ok) return 0; cobj->setAnchorPoint(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setAnchorPoint",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.RichText:setAnchorPoint",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -16551,7 +16551,7 @@ int lua_cocos2dx_ui_RichText_pushBackElement(lua_State* tolua_S) cobj->pushBackElement(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "pushBackElement",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.RichText:pushBackElement",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -16591,13 +16591,13 @@ int lua_cocos2dx_ui_RichText_ignoreContentAdaptWithSize(lua_State* tolua_S) { bool arg0; - ok &= luaval_to_boolean(tolua_S, 2,&arg0); + ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccui.RichText:ignoreContentAdaptWithSize"); if(!ok) return 0; cobj->ignoreContentAdaptWithSize(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ignoreContentAdaptWithSize",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.RichText:ignoreContentAdaptWithSize",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -16637,13 +16637,13 @@ int lua_cocos2dx_ui_RichText_setVerticalSpace(lua_State* tolua_S) { double arg0; - ok &= luaval_to_number(tolua_S, 2,&arg0); + ok &= luaval_to_number(tolua_S, 2,&arg0, "ccui.RichText:setVerticalSpace"); if(!ok) return 0; cobj->setVerticalSpace(arg0); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "setVerticalSpace",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.RichText:setVerticalSpace",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -16686,7 +16686,7 @@ int lua_cocos2dx_ui_RichText_formatText(lua_State* tolua_S) cobj->formatText(); return 0; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "formatText",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.RichText:formatText",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -16731,7 +16731,7 @@ int lua_cocos2dx_ui_RichText_removeElement(lua_State* tolua_S) do{ if (argc == 1) { int arg0; - ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0); + ok &= luaval_to_int32(tolua_S, 2,(int *)&arg0, "ccui.RichText:removeElement"); if (!ok) { break; } cobj->removeElement(arg0); @@ -16739,7 +16739,7 @@ int lua_cocos2dx_ui_RichText_removeElement(lua_State* tolua_S) } }while(0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "removeElement",argc, 1); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.RichText:removeElement",argc, 1); return 0; #if COCOS2D_DEBUG >= 1 @@ -16772,7 +16772,7 @@ int lua_cocos2dx_ui_RichText_create(lua_State* tolua_S) object_to_luaval(tolua_S, "ccui.RichText",(cocos2d::ui::RichText*)ret); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccui.RichText:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -16804,7 +16804,7 @@ int lua_cocos2dx_ui_RichText_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccui.RichText"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "RichText",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.RichText:RichText",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -16861,7 +16861,7 @@ int lua_cocos2dx_ui_HBox_create(lua_State* tolua_S) if (argc == 1) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "ccui.HBox:create"); if (!ok) { break; } cocos2d::ui::HBox* ret = cocos2d::ui::HBox::create(arg0); object_to_luaval(tolua_S, "ccui.HBox",(cocos2d::ui::HBox*)ret); @@ -16879,7 +16879,7 @@ int lua_cocos2dx_ui_HBox_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "ccui.HBox:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -16911,7 +16911,7 @@ int lua_cocos2dx_ui_HBox_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccui.HBox"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "HBox",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.HBox:HBox",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -16961,7 +16961,7 @@ int lua_cocos2dx_ui_VBox_create(lua_State* tolua_S) if (argc == 1) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "ccui.VBox:create"); if (!ok) { break; } cocos2d::ui::VBox* ret = cocos2d::ui::VBox::create(arg0); object_to_luaval(tolua_S, "ccui.VBox",(cocos2d::ui::VBox*)ret); @@ -16979,7 +16979,7 @@ int lua_cocos2dx_ui_VBox_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "ccui.VBox:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -17011,7 +17011,7 @@ int lua_cocos2dx_ui_VBox_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccui.VBox"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "VBox",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.VBox:VBox",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 @@ -17061,7 +17061,7 @@ int lua_cocos2dx_ui_RelativeBox_create(lua_State* tolua_S) if (argc == 1) { cocos2d::Size arg0; - ok &= luaval_to_size(tolua_S, 2, &arg0); + ok &= luaval_to_size(tolua_S, 2, &arg0, "ccui.RelativeBox:create"); if (!ok) { break; } cocos2d::ui::RelativeBox* ret = cocos2d::ui::RelativeBox::create(arg0); object_to_luaval(tolua_S, "ccui.RelativeBox",(cocos2d::ui::RelativeBox*)ret); @@ -17079,7 +17079,7 @@ int lua_cocos2dx_ui_RelativeBox_create(lua_State* tolua_S) } } while (0); ok = true; - CCLOG("%s has wrong number of arguments: %d, was expecting %d", "create",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d", "ccui.RelativeBox:create",argc, 0); return 0; #if COCOS2D_DEBUG >= 1 tolua_lerror: @@ -17111,7 +17111,7 @@ int lua_cocos2dx_ui_RelativeBox_constructor(lua_State* tolua_S) toluafix_pushusertype_ccobject(tolua_S, ID, luaID, (void*)cobj,"ccui.RelativeBox"); return 1; } - CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "RelativeBox",argc, 0); + CCLOG("%s has wrong number of arguments: %d, was expecting %d \n", "ccui.RelativeBox:RelativeBox",argc, 0); return 0; #if COCOS2D_DEBUG >= 1