Beispiel #1
0
 public AutoLocker(AutoLock data) : this(C4dApiPINVOKE.new_AutoLocker__SWIG_2(AutoLock.getCPtr(data)), true)
 {
     if (C4dApiPINVOKE.SWIGPendingException.Pending)
     {
         throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #2
0
 public void DoLock(AutoLock data)
 {
     C4dApiPINVOKE.AutoLocker_DoLock(swigCPtr, AutoLock.getCPtr(data));
     if (C4dApiPINVOKE.SWIGPendingException.Pending)
     {
         throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
     }
 }