summaryrefslogtreecommitdiff
path: root/src/ctor.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2023-01-11 19:26:26 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2023-01-11 19:26:26 +0100
commit648c89e879f739f82ed6dba7df7243e54b98601f (patch)
tree626756d852fdff35235e1814a63c3daa29403ea3 /src/ctor.h
parentf10bfc1bff1dc2792b4905c27dd22c0999162fac (diff)
Rename ExternalX structs to external_x
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 c78e92e..c9d7d8a 100644
--- a/src/ctor.h
+++ b/src/ctor.h
@@ -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)