mirror of
https://github.com/Z3Prover/z3
synced 2025-04-25 10:05:32 +00:00
Expose PARAMETER_INTERNAL and PARAMETER_ZSTRING in case API users access these #7522
This commit is contained in:
parent
ef275ab1a0
commit
bd566f16b1
3 changed files with 28 additions and 20 deletions
|
@ -834,6 +834,10 @@ class FuncDeclRef(AstRef):
|
|||
result[i] = ExprRef(Z3_get_decl_ast_parameter(self.ctx_ref(), self.ast, i), ctx)
|
||||
elif k == Z3_PARAMETER_FUNC_DECL:
|
||||
result[i] = FuncDeclRef(Z3_get_decl_func_decl_parameter(self.ctx_ref(), self.ast, i), ctx)
|
||||
elif k == Z3_PARAMETER_INTERNAL:
|
||||
result[i] = "internal parameter"
|
||||
elif k == Z3_PARAMETER_ZSTRING:
|
||||
result[i] = "internal string"
|
||||
else:
|
||||
assert(False)
|
||||
return result
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue