3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-25 18:15:32 +00:00

.NET/Java/ML: Moved toggle_warning_messages to Global, added en/disable_trace.

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
Christoph M. Wintersteiger 2015-02-07 14:17:39 +00:00
parent 941d1063dd
commit b96551a1a2
8 changed files with 98 additions and 33 deletions

View file

@ -1101,7 +1101,7 @@ class JavaExample
System.out.println("LogicTest");
Log.append("LogicTest");
Context.ToggleWarningMessages(true);
com.microsoft.z3.Global.ToggleWarningMessages(true);
BitVecSort bvs = ctx.mkBitVecSort(32);
Expr x = ctx.mkConst("x", bvs);
@ -2242,7 +2242,7 @@ class JavaExample
JavaExample p = new JavaExample();
try
{
Context.ToggleWarningMessages(true);
com.microsoft.z3.Global.ToggleWarningMessages(true);
Log.open("test.log");
System.out.print("Z3 Major Version: ");