| 862 | } |
| 863 | |
| 864 | EXPORT_CODE void CONVENTION AbstractState_set_binary_interaction_double(const long handle, const long i, const long j, const char* parameter, |
| 865 | const double value, long* errcode, char* message_buffer, |
| 866 | const long buffer_length) { |
| 867 | *errcode = 0; |
| 868 | fpu_reset_guard guard; |
| 869 | try { |
| 870 | shared_ptr<CoolProp::AbstractState>& AS = handle_manager.get(handle); |
| 871 | AS->set_binary_interaction_double(static_cast<std::size_t>(i), static_cast<std::size_t>(j), parameter, value); |
| 872 | } catch (...) { |
| 873 | HandleException(errcode, message_buffer, buffer_length); |
| 874 | } |
| 875 | } |
| 876 | |
| 877 | EXPORT_CODE void CONVENTION AbstractState_set_cubic_alpha_C(const long handle, const long i, const char* parameter, const double c1, const double c2, |
| 878 | const double c3, long* errcode, char* message_buffer, const long buffer_length) { |
nothing calls this directly
no test coverage detected