summaryrefslogtreecommitdiff
path: root/libcppbuild.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2021-06-19 15:48:05 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2021-06-19 15:48:05 +0200
commitd0fb2e203e20f1b3f74b739735865d5ef7d93a2e (patch)
tree079880d142baf64cf15953efd2cf3b02bc5fd927 /libcppbuild.h
parent9ae92b4f1d5c24fa9d8d73e6f916b5d6aa01da67 (diff)
Convenience type for build configuration list.
Diffstat (limited to 'libcppbuild.h')
-rw-r--r--libcppbuild.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcppbuild.h b/libcppbuild.h
index 1076bb7..a052ac8 100644
--- a/libcppbuild.h
+++ b/libcppbuild.h
@@ -15,4 +15,6 @@ struct BuildConfiguration
std::vector<std::string> ldflags;
};
-int reg(const char* location, std::vector<BuildConfiguration> (*cb)());
+using BuildConfigurations = std::vector<BuildConfiguration>;
+
+int reg(const char* location, BuildConfigurations (*cb)());