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