MCPcopy Create free account
hub / github.com/CoolProp/CoolProp / set_warning_string

Function set_warning_string

src/CoolProp.cpp:98–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96#include "cpversion.h" // Contents are like "char version [] = "2.5";"
97
98void set_warning_string(const std::string& warning) {
99 std::scoped_lock lock(message_mutex);
100 warning_string = warning;
101}
102void set_error_string(const std::string& error) {
103 std::scoped_lock lock(message_mutex);
104 error_string = error;

Callers 4

CoolProp.cppFile · 0.85
check_tablesMethod · 0.85
calc_viscosityMethod · 0.85
calc_conductivityMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected