3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-17 08:42:15 +00:00

reduce use of symbols in gparams

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-01-10 12:54:26 -08:00
parent 8515b304da
commit ab1f2f2e63
3 changed files with 166 additions and 99 deletions

View file

@ -82,7 +82,9 @@ public:
"tells" the automatic code generator how to register the parameters for the given
module.
*/
static void register_module(char const * module_name, param_descrs * d);
typedef std::function<param_descrs*(void)> lazy_descrs_t;
static void register_module(char const* module_name, lazy_descrs_t& get_descrs);
/**
\brief Add a (small) description to the given module.
@ -101,8 +103,6 @@ public:
params_ref const & p = get_module_params("pp")
*/
static params_ref get_module(char const * module_name);
static params_ref get_module(symbol const & module_name);
/**
\brief Return the global parameter set (i.e., parameters that are not associated with any particular module).
*/