|
@@ -103,7 +103,7 @@ int ElementFormControlInputSetAttrmaxlength(lua_State* L)
|
|
|
{
|
|
{
|
|
|
ElementFormControlInput* obj = LuaType<ElementFormControlInput>::check(L,1);
|
|
ElementFormControlInput* obj = LuaType<ElementFormControlInput>::check(L,1);
|
|
|
LUACHECKOBJ(obj);
|
|
LUACHECKOBJ(obj);
|
|
|
- int maxlength = luaL_checkint(L,2);
|
|
|
|
|
|
|
+ int maxlength = luaL_checkinteger(L,2);
|
|
|
obj->SetAttribute("maxlength",maxlength);
|
|
obj->SetAttribute("maxlength",maxlength);
|
|
|
return 0;
|
|
return 0;
|
|
|
}
|
|
}
|
|
@@ -112,7 +112,7 @@ int ElementFormControlInputSetAttrsize(lua_State* L)
|
|
|
{
|
|
{
|
|
|
ElementFormControlInput* obj = LuaType<ElementFormControlInput>::check(L,1);
|
|
ElementFormControlInput* obj = LuaType<ElementFormControlInput>::check(L,1);
|
|
|
LUACHECKOBJ(obj);
|
|
LUACHECKOBJ(obj);
|
|
|
- int size = luaL_checkint(L,2);
|
|
|
|
|
|
|
+ int size = luaL_checkinteger(L,2);
|
|
|
obj->SetAttribute("size",size);
|
|
obj->SetAttribute("size",size);
|
|
|
return 0;
|
|
return 0;
|
|
|
}
|
|
}
|
|
@@ -121,7 +121,7 @@ int ElementFormControlInputSetAttrmax(lua_State* L)
|
|
|
{
|
|
{
|
|
|
ElementFormControlInput* obj = LuaType<ElementFormControlInput>::check(L,1);
|
|
ElementFormControlInput* obj = LuaType<ElementFormControlInput>::check(L,1);
|
|
|
LUACHECKOBJ(obj);
|
|
LUACHECKOBJ(obj);
|
|
|
- int max = luaL_checkint(L,2);
|
|
|
|
|
|
|
+ int max = luaL_checkinteger(L,2);
|
|
|
obj->SetAttribute("max",max);
|
|
obj->SetAttribute("max",max);
|
|
|
return 0;
|
|
return 0;
|
|
|
}
|
|
}
|
|
@@ -130,7 +130,7 @@ int ElementFormControlInputSetAttrmin(lua_State* L)
|
|
|
{
|
|
{
|
|
|
ElementFormControlInput* obj = LuaType<ElementFormControlInput>::check(L,1);
|
|
ElementFormControlInput* obj = LuaType<ElementFormControlInput>::check(L,1);
|
|
|
LUACHECKOBJ(obj);
|
|
LUACHECKOBJ(obj);
|
|
|
- int min = luaL_checkint(L,2);
|
|
|
|
|
|
|
+ int min = luaL_checkinteger(L,2);
|
|
|
obj->SetAttribute("min",min);
|
|
obj->SetAttribute("min",min);
|
|
|
return 0;
|
|
return 0;
|
|
|
}
|
|
}
|
|
@@ -139,7 +139,7 @@ int ElementFormControlInputSetAttrstep(lua_State* L)
|
|
|
{
|
|
{
|
|
|
ElementFormControlInput* obj = LuaType<ElementFormControlInput>::check(L,1);
|
|
ElementFormControlInput* obj = LuaType<ElementFormControlInput>::check(L,1);
|
|
|
LUACHECKOBJ(obj);
|
|
LUACHECKOBJ(obj);
|
|
|
- int step = luaL_checkint(L,2);
|
|
|
|
|
|
|
+ int step = luaL_checkinteger(L,2);
|
|
|
obj->SetAttribute("step",step);
|
|
obj->SetAttribute("step",step);
|
|
|
return 0;
|
|
return 0;
|
|
|
}
|
|
}
|