diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-01-11 18:30:11 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-01-11 18:30:11 +0100 |
commit | f10bfc1bff1dc2792b4905c27dd22c0999162fac (patch) | |
tree | bacd83a6aa721d1427d84ef50493235fbda5b343 /src/ctor.h | |
parent | eb00551f0e990495c6d7533ed193f459cb449665 (diff) |
Rename BuildConfiguration struct to build_configuration
Diffstat (limited to 'src/ctor.h')
-rw-r--r-- | src/ctor.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -73,13 +73,13 @@ struct settings int verbose{0}; // -1: completely silent, 0: normal, 1: verbose, ... }; -struct BuildConfiguration; +struct build_configuration; using GeneratorCb = std::function<int(const std::string& input, const std::string& output, - const BuildConfiguration& config, + const build_configuration& config, const ctor::settings& settings)>; -struct BuildConfiguration +struct build_configuration { std::string name; // Name - used for referring in other configurations. ctor::target_type type{ctor::target_type::automatic}; @@ -92,9 +92,9 @@ struct BuildConfiguration GeneratorCb function; }; -using BuildConfigurations = std::vector<BuildConfiguration>; +using build_configurations = std::vector<build_configuration>; -int reg(BuildConfigurations (*cb)(const ctor::settings&), +int reg(ctor::build_configurations (*cb)(const ctor::settings&), const std::source_location location = std::source_location::current()); // This type will use flags verbatim |