3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-18 09:12:16 +00:00

reduce mem allocation in tactic API

This commit is contained in:
Nuno Lopes 2018-07-02 13:41:44 +01:00
parent fc8193828d
commit 8791f61aa7
7 changed files with 24 additions and 51 deletions

View file

@ -23,12 +23,14 @@ Notes:
#define TACTIC2SOLVER_H_
#include "util/params.h"
class ast_manager;
class tactic;
class tactic_factory;
class solver;
class solver_factory;
typedef tactic* (*tactic_factory)(ast_manager&, const params_ref&);
solver * mk_tactic2solver(ast_manager & m,
tactic * t = nullptr,
params_ref const & p = params_ref(),
@ -39,6 +41,6 @@ solver * mk_tactic2solver(ast_manager & m,
solver_factory * mk_tactic2solver_factory(tactic * t);
solver_factory * mk_tactic_factory2solver_factory(tactic_factory * f);
solver_factory * mk_tactic_factory2solver_factory(tactic_factory f);
#endif