diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-01-11 18:19:07 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-01-11 18:19:07 +0100 |
commit | eb00551f0e990495c6d7533ed193f459cb449665 (patch) | |
tree | 51ba33b836e6d870378e6d614b1387787e3c7e2b /src/ctor.h | |
parent | 2b26fff20c1684bc96eac25cfb24e1230f9ca3ce (diff) |
Rename Settings struct to setings
Diffstat (limited to 'src/ctor.h')
-rw-r--r-- | src/ctor.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -66,7 +66,7 @@ struct flags std::vector<std::string> asmflags; // flags for asm translator }; -struct Settings +struct settings { std::string builddir{"build"}; std::size_t parallel_processes{1}; @@ -77,7 +77,7 @@ struct BuildConfiguration; using GeneratorCb = std::function<int(const std::string& input, const std::string& output, const BuildConfiguration& config, - const Settings& settings)>; + const ctor::settings& settings)>; struct BuildConfiguration { @@ -94,7 +94,7 @@ struct BuildConfiguration using BuildConfigurations = std::vector<BuildConfiguration>; -int reg(BuildConfigurations (*cb)(const Settings&), +int reg(BuildConfigurations (*cb)(const ctor::settings&), const std::source_location location = std::source_location::current()); // This type will use flags verbatim @@ -113,7 +113,7 @@ struct ExternalConfiguration using ExternalConfigurations = std::vector<ExternalConfiguration>; -int reg(ExternalConfigurations (*cb)(const Settings&), +int reg(ExternalConfigurations (*cb)(const ctor::settings&), const std::source_location location = std::source_location::current()); // Convenience macro - ugly but keeps things simple(r) |