| 345 | return -1; |
| 346 | } |
| 347 | EXPORT_CODE long CONVENTION get_input_pair_index(const char* pair) { |
| 348 | try { |
| 349 | return CoolProp::get_input_pair_index(pair); |
| 350 | } catch (std::exception& e) { |
| 351 | CoolProp::set_error_string(e.what()); |
| 352 | } catch (...) { |
| 353 | CoolProp::set_error_string("Undefined error"); |
| 354 | } |
| 355 | return -1; |
| 356 | } |
| 357 | EXPORT_CODE long CONVENTION get_global_param_string(const char* param, char* Output, int n) { |
| 358 | try { |
| 359 | std::string s = CoolProp::get_global_param_string(param); |
nothing calls this directly
no test coverage detected