public static void Free(SWIGTYPE_p_p_Semaphore sm) { C4dApiPINVOKE.Semaphore_Free(SWIGTYPE_p_p_Semaphore.getCPtr(sm)); if (C4dApiPINVOKE.SWIGPendingException.Pending) { throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_p_Semaphore obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }