static public int Dispose(IntPtr l) { try { CRequest self = (CRequest)checkSelf(l); self.Dispose(); return(0); } catch (Exception e) { LuaDLL.luaL_error(l, e.ToString()); return(0); } }