aboutsummaryrefslogtreecommitdiff
path: root/bpkg/satisfaction.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-10-09 22:05:40 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-10-12 14:20:53 +0300
commitb48fc390bc1c6fa289f821bac0380267762d1238 (patch)
tree9944de53a4c11a8948e59d5fe5fb44a150a6aed8 /bpkg/satisfaction.hxx
parent6beb03862724e444bf24c92031e47814c9949ae2 (diff)
Verify package manifest compatibility with current toolchain
Diffstat (limited to 'bpkg/satisfaction.hxx')
-rw-r--r--bpkg/satisfaction.hxx14
1 files changed, 8 insertions, 6 deletions
diff --git a/bpkg/satisfaction.hxx b/bpkg/satisfaction.hxx
index 7046a92..8df4580 100644
--- a/bpkg/satisfaction.hxx
+++ b/bpkg/satisfaction.hxx
@@ -42,13 +42,15 @@ namespace bpkg
// Special build-time dependencies.
//
- void
- satisfy_build2 (const common_options&,
- const package_name&,
- const dependency&);
+ extern version build2_version; // Set on the first satisfy_build2() call.
- void
- satisfy_bpkg (const common_options&, const package_name&, const dependency&);
+ bool
+ satisfy_build2 (const common_options&, const dependency&);
+
+ extern version bpkg_version; // Set on the first satisfy_bpkg() call.
+
+ bool
+ satisfy_bpkg (const common_options&, const dependency&);
}
#endif // BPKG_SATISFACTION_HXX