3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-14 09:56:15 +00:00

change nullptr to 0

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2017-10-13 10:54:29 -07:00
parent 40dfdb6606
commit 5b6472f022

View file

@ -143,14 +143,14 @@ namespace z3 {
void init(config & c) { void init(config & c) {
m_ctx = Z3_mk_context_rc(c); m_ctx = Z3_mk_context_rc(c);
m_enable_exceptions = true; m_enable_exceptions = true;
Z3_set_error_handler(m_ctx, nullptr); Z3_set_error_handler(m_ctx, 0);
Z3_set_ast_print_mode(m_ctx, Z3_PRINT_SMTLIB2_COMPLIANT); Z3_set_ast_print_mode(m_ctx, Z3_PRINT_SMTLIB2_COMPLIANT);
} }
void init_interp(config & c) { void init_interp(config & c) {
m_ctx = Z3_mk_interpolation_context(c); m_ctx = Z3_mk_interpolation_context(c);
m_enable_exceptions = true; m_enable_exceptions = true;
Z3_set_error_handler(m_ctx, nullptr); Z3_set_error_handler(m_ctx, 0);
Z3_set_ast_print_mode(m_ctx, Z3_PRINT_SMTLIB2_COMPLIANT); Z3_set_ast_print_mode(m_ctx, Z3_PRINT_SMTLIB2_COMPLIANT);
} }