diff options
Diffstat (limited to 'src/ctor.h')
-rw-r--r-- | src/ctor.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -98,22 +98,22 @@ int reg(ctor::build_configurations (*cb)(const ctor::settings&), const std::source_location location = std::source_location::current()); // This type will use flags verbatim -struct ExternalManual +struct external_manual { ctor::flags flags; }; -struct ExternalConfiguration +struct external_configuration { std::string name; // Name for configuration ctor::output_system system{ctor::output_system::host}; - std::variant<ExternalManual> external; + std::variant<ctor::external_manual> external; }; -using ExternalConfigurations = std::vector<ExternalConfiguration>; +using external_configurations = std::vector<ctor::external_configuration>; -int reg(ExternalConfigurations (*cb)(const ctor::settings&), +int reg(ctor::external_configurations (*cb)(const ctor::settings&), const std::source_location location = std::source_location::current()); // Convenience macro - ugly but keeps things simple(r) |