static int SetRange(IntPtr L)
{
try
{
ToLua.CheckArgsCount(L, 3);
System.Collections.ArrayList obj = (System.Collections.ArrayList)ToLua.CheckObject(L, 1, typeof(System.Collections.ArrayList));
int arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
System.Collections.ICollection arg1 = (System.Collections.ICollection)ToLua.CheckObject(L, 3, typeof(System.Collections.ICollection));
obj.SetRange(arg0, arg1);
return(0);
}
catch (Exception e)
{
return(LuaDLL.toluaL_exception(L, e));
}
}