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