static int set_padding(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            ScrollEnhancement.ScrollEnhancement         obj  = (ScrollEnhancement.ScrollEnhancement)o;
            ScrollEnhancement.ScrollEnhancement.Padding arg0 = (ScrollEnhancement.ScrollEnhancement.Padding)ToLua.CheckObject <ScrollEnhancement.ScrollEnhancement.Padding>(L, 2);
            obj.padding = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index padding on a nil value"));
        }
    }
    static int get_padding(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            ScrollEnhancement.ScrollEnhancement         obj = (ScrollEnhancement.ScrollEnhancement)o;
            ScrollEnhancement.ScrollEnhancement.Padding ret = obj.padding;
            ToLua.PushObject(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index padding on a nil value"));
        }
    }