Exemple #1
0
 public void DoLock(AutoLock data) {
   C4dApiPINVOKE.AutoLocker_DoLock(swigCPtr, AutoLock.getCPtr(data));
   if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
 }
Exemple #2
0
 internal static HandleRef getCPtr(AutoLock obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Exemple #3
0
 public AutoLocker(AutoLock data) : this(C4dApiPINVOKE.new_AutoLocker__SWIG_1(AutoLock.getCPtr(data)), true) {
   if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
 }