mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 16:45:31 +00:00
add missing API call for solverInterrupt to Java. Fix #3382
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
b3e1e302f7
commit
0f5cc2ec70
1 changed files with 10 additions and 0 deletions
|
@ -107,6 +107,16 @@ public class Solver extends Z3Object {
|
|||
Native.solverReset(getContext().nCtx(), getNativeObject());
|
||||
}
|
||||
|
||||
/**
|
||||
* Interrupt the execution of the solver object.
|
||||
* Remarks: This ensures that the interrupt applies only
|
||||
* to the given solver object and it applies only if it is running.
|
||||
**/
|
||||
public void interrupt()
|
||||
{
|
||||
Native.solverInterrupt(getContext().nCtx(), getNativeObject());
|
||||
}
|
||||
|
||||
/**
|
||||
* Assert a multiple constraints into the solver.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue