mirror of
https://github.com/Z3Prover/z3
synced 2025-05-06 15:25:46 +00:00
added Z3_enable_trace/Z3_disable_trace to the Z3 API (these APIs are NOOPs if tracing is not enabled during compilation)
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
1a16cf5a01
commit
5220092f0c
4 changed files with 33 additions and 5 deletions
|
@ -491,6 +491,16 @@ extern "C" {
|
|||
*revision_number = Z3_REVISION_NUMBER;
|
||||
}
|
||||
|
||||
void Z3_API Z3_enable_trace(Z3_string tag) {
|
||||
LOG_Z3_enable_trace(tag);
|
||||
enable_trace(tag);
|
||||
}
|
||||
|
||||
void Z3_API Z3_disable_trace(Z3_string tag) {
|
||||
LOG_Z3_disable_trace(tag);
|
||||
disable_trace(tag);
|
||||
}
|
||||
|
||||
void Z3_API Z3_reset_memory(void) {
|
||||
LOG_Z3_reset_memory();
|
||||
memory::finalize();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue