From aecf10b3acb01db37cba5aa5dae56dd085208d31 Mon Sep 17 00:00:00 2001 From: Josh Berdine Date: Thu, 27 Nov 2025 23:00:38 +0000 Subject: [PATCH] Fix _in vs _out def_API param for Z3_solver_get_levels (#8050) Signed-off-by: Josh Berdine --- src/api/z3_api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/z3_api.h b/src/api/z3_api.h index 746a9d2a6..141c32e5a 100644 --- a/src/api/z3_api.h +++ b/src/api/z3_api.h @@ -7132,7 +7132,7 @@ extern "C" { \brief retrieve the decision depth of Boolean literals (variables or their negations). Assumes a check-sat call and no other calls (to extract models) have been invoked. - def_API('Z3_solver_get_levels', VOID, (_in(CONTEXT), _in(SOLVER), _in(AST_VECTOR), _in(UINT), _in_array(3, UINT))) + def_API('Z3_solver_get_levels', VOID, (_in(CONTEXT), _in(SOLVER), _in(AST_VECTOR), _in(UINT), _out_array(3, UINT))) */ void Z3_API Z3_solver_get_levels(Z3_context c, Z3_solver s, Z3_ast_vector literals, unsigned sz, unsigned levels[]);