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 HandleRef getCPtr(SWIGTYPE_p_p_Semaphore obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }