static public int Trim(IntPtr l) { try { ProtoBuf.Meta.BasicList self = (ProtoBuf.Meta.BasicList)checkSelf(l); self.Trim(); pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }