Beispiel #1
0
 public static void register_backend(backend_families bf, SWIGTYPE_p_shared_ptrT_CoolProp__AbstractStateGenerator_t gen)
 {
     CoolPropPINVOKE.register_backend((int)bf, SWIGTYPE_p_shared_ptrT_CoolProp__AbstractStateGenerator_t.getCPtr(gen));
     if (CoolPropPINVOKE.SWIGPendingException.Pending)
     {
         throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_shared_ptrT_CoolProp__AbstractStateGenerator_t obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }