3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-21 13:23:39 +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

@ -2943,5 +2943,12 @@ let get_global_param ( id : string ) =
let global_param_reset_all =
Z3native.global_param_reset_all
let toggle_warning_messages ( enabled: bool ) =
let toggle_warning_messages ( enabled : bool ) =
Z3native.toggle_warning_messages enabled
let enable_trace ( tag : string ) =
(Z3native.enable_trace tag)
let disable_trace ( tag : string ) =
(Z3native.enable_trace tag)

View file

@ -3328,4 +3328,18 @@ val global_param_reset_all : unit -> unit
Note that this function is static and effects the behaviour of
all contexts globally. *)
val toggle_warning_messages : bool -> unit
(**
Enable tracing messages tagged as `tag' when Z3 is compiled in debug mode.
Remarks: It is a NOOP otherwise.
*)
val enable_trace : string -> unit
(**
Disable tracing messages tagged as `tag' when Z3 is compiled in debug mode.
Remarks: It is a NOOP otherwise.
*)
val disable_trace : string -> unit