mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-04-23 03:00:17 -04:00
Hide getter/setter from SWIG as well.
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
@@ -96,6 +96,7 @@ class ConfigurationItem
|
||||
configuration_keys get_key(void){
|
||||
return this->key;
|
||||
}
|
||||
#if !defined(SWIG)
|
||||
/// Cast to rapidjson::Value
|
||||
void add_to_json(rapidjson::Value &val, rapidjson::Document &d){
|
||||
std::string name_string = config_key_to_string(key);
|
||||
@@ -137,6 +138,7 @@ class ConfigurationItem
|
||||
throw ValueError();
|
||||
}
|
||||
}
|
||||
#endif // !defined(SWIG)
|
||||
|
||||
protected:
|
||||
void check_data_type(ConfigurationDataTypes type){
|
||||
|
||||
Reference in New Issue
Block a user