diff options
Diffstat (limited to 'src/ctor.h')
| -rw-r--r-- | src/ctor.h | 10 | 
1 files changed, 5 insertions, 5 deletions
| @@ -141,8 +141,11 @@ constexpr auto ctor_includedir = "ctor-includedir";  constexpr auto ctor_libdir = "ctor-libdir";  } -struct Configuration +struct configuration  { +	bool has(const std::string& key) const; +	const std::string& get(const std::string& key, const std::string& default_value = {}) const; +  	std::vector<std::string> args; // vector of arguments used when last calling configure  	std::map<std::string, std::string> env; // env used when last calling configure @@ -150,9 +153,6 @@ struct Configuration  	std::map<std::string, ctor::flags> externals;  }; -const Configuration& configuration(); -bool hasConfiguration(const std::string& key); -const std::string& getConfiguration(const std::string& key, -                                    const std::string& defaultValue = {}); +const ctor::configuration& get_configuration();  } // namespace ctor:: | 
