public static bool is_valid_phase(string phase_name, SWIGTYPE_p_CoolProp__phases iOutput) { bool ret = CoolPropPINVOKE.is_valid_phase(phase_name, SWIGTYPE_p_CoolProp__phases.getCPtr(iOutput)); if (CoolPropPINVOKE.SWIGPendingException.Pending) { throw CoolPropPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_CoolProp__phases obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }