From e1f472e471533330db05a42d5bcd4e99b211da0c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 21 May 2021 15:11:04 +0200 Subject: Clean default target type extension logic --- libbuild2/target.hxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libbuild2/target.hxx') diff --git a/libbuild2/target.hxx b/libbuild2/target.hxx index 49d4563..10abf16 100644 --- a/libbuild2/target.hxx +++ b/libbuild2/target.hxx @@ -1940,6 +1940,12 @@ namespace build2 string&, optional&, const location&, bool); + const char* + target_extension_none (const target_key&, const scope*); + + const char* + target_extension_must (const target_key&, const scope*); + // Get the extension from the `extension` variable or use the default if // none set. If the default is NULL, then return NULL. // -- cgit v1.1