summaryrefslogtreecommitdiff
path: root/src/ctor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ctor.h')
-rw-r--r--src/ctor.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ctor.h b/src/ctor.h
index 3a6adce..c78e92e 100644
--- a/src/ctor.h
+++ b/src/ctor.h
@@ -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