3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-08 16:25:48 +00:00

more descriptive naming convention

This commit is contained in:
Nikolaj Bjorner 2021-03-15 15:48:33 -07:00
parent 4b3fecc35e
commit d03fdf5fed
7 changed files with 16 additions and 16 deletions

View file

@ -70,7 +70,7 @@ extern "C" {
try {
memory::initialize(UINT_MAX);
LOG_Z3_mk_config();
Z3_config r = reinterpret_cast<Z3_config>(alloc(ast_context));
Z3_config r = reinterpret_cast<Z3_config>(alloc(ast_context_params));
RETURN_Z3(r);
} catch (z3_exception & ex) {
// The error handler is only available for contexts
@ -82,13 +82,13 @@ extern "C" {
void Z3_API Z3_del_config(Z3_config c) {
LOG_Z3_del_config(c);
dealloc((reinterpret_cast<ast_context*>(c)));
dealloc((reinterpret_cast<ast_context_params*>(c)));
}
void Z3_API Z3_set_param_value(Z3_config c, char const * param_id, char const * param_value) {
LOG_Z3_set_param_value(c, param_id, param_value);
try {
ast_context * p = reinterpret_cast<ast_context*>(c);
ast_context_params * p = reinterpret_cast<ast_context_params*>(c);
p->set(param_id, param_value);
}
catch (z3_exception & ex) {