public static AccessResult access_share(Access p0, Permission p1, SharePrefix p2, long p3) { AccessResult ret = new AccessResult(storj_uplinkPINVOKE.access_share(Access.getCPtr(p0), Permission.getCPtr(p1), SharePrefix.getCPtr(p2), p3), true); if (storj_uplinkPINVOKE.SWIGPendingException.Pending) { throw storj_uplinkPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SharePrefix obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }