diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-01-11 19:26:26 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-01-11 19:26:26 +0100 |
commit | 648c89e879f739f82ed6dba7df7243e54b98601f (patch) | |
tree | 626756d852fdff35235e1814a63c3daa29403ea3 /src/ctor.h | |
parent | f10bfc1bff1dc2792b4905c27dd22c0999162fac (diff) |
Rename ExternalX structs to external_x
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) |