コード例 #1
0
 public XsMutexLocker(XsMutex m) : this(xsensdeviceapiPINVOKE.new_XsMutexLocker(XsMutex.getCPtr(m)), true)
 {
     if (xsensdeviceapiPINVOKE.SWIGPendingException.Pending)
     {
         throw xsensdeviceapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(XsMutex obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }