diff --git a/cocos/scripting/lua-bindings/manual/LuaBasicConversions.h b/cocos/scripting/lua-bindings/manual/LuaBasicConversions.h index b724a37576..2ef1bc8385 100644 --- a/cocos/scripting/lua-bindings/manual/LuaBasicConversions.h +++ b/cocos/scripting/lua-bindings/manual/LuaBasicConversions.h @@ -245,7 +245,7 @@ extern bool luaval_to_rect(lua_State* L,int lo,Rect* outValue, const char* funcN * @param funcName the name of calling function, it is used for error output in the debug model. * @return Return true if the value at the given accpetable index of stack is a table, otherwise return false. */ -extern CC_LUA_DLL luaval_to_color3b(lua_State* L,int lo,Color3B* outValue, const char* funcName = ""); +extern CC_LUA_DLL bool luaval_to_color3b(lua_State* L,int lo,Color3B* outValue, const char* funcName = ""); /** * Get a Color4B object value from the given accpetable index of stack.