public MyWriterLock(MyRWMutex mutex) : this(libPhotoAssistantImageProcessingPINVOKE.new_MyWriterLock(MyRWMutex.getCPtr(mutex)), true) { if (libPhotoAssistantImageProcessingPINVOKE.SWIGPendingException.Pending) { throw libPhotoAssistantImageProcessingPINVOKE.SWIGPendingException.Retrieve(); } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MyRWMutex obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }