diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-11-12 14:51:02 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-11-12 14:51:02 +0200 |
commit | 8ac1daf33da807635eddd881f2b178af8e22863a (patch) | |
tree | 3a3e91538f4665b0d721bc91d935eb01a5a3b61d /libbuild2/config/module.hxx | |
parent | 8725010c51811c7ff91013e2caca3c45ea96b371 (diff) |
Infra work for customizable config var persistence (config.config.persist)
Diffstat (limited to 'libbuild2/config/module.hxx')
-rw-r--r-- | libbuild2/config/module.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libbuild2/config/module.hxx b/libbuild2/config/module.hxx index 296dec5..eccd61b 100644 --- a/libbuild2/config/module.hxx +++ b/libbuild2/config/module.hxx @@ -86,6 +86,10 @@ namespace build2 bool save_module (const char* name, int prio = 0); + // Cached (during init) config.config.persist value, if defined. + // + const vector<pair<string, string>>* persist = nullptr; + static const string name; static const uint64_t version; }; |