Example #1
0
 public ArMutex(ArMutex mutex) : this(AriaCSPINVOKE.new_ArMutex__SWIG_2(ArMutex.getCPtr(mutex)), true)
 {
     if (AriaCSPINVOKE.SWIGPendingException.Pending)
     {
         throw AriaCSPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public ArScopedLock(ArMutex m) : this(AriaCSPINVOKE.new_ArScopedLock(ArMutex.getCPtr(m)), true)
 {
     if (AriaCSPINVOKE.SWIGPendingException.Pending)
     {
         throw AriaCSPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #3
0
 public static global::System.Runtime.InteropServices.HandleRef getCPtr(ArMutex obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }