mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 17:45:32 +00:00
Fix Z3_enable_trace API
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
56db84a0e5
commit
4ea06b8040
1 changed files with 4 additions and 1 deletions
|
@ -492,8 +492,11 @@ extern "C" {
|
|||
}
|
||||
|
||||
void Z3_API Z3_enable_trace(Z3_string tag) {
|
||||
memory::initialize(UINT_MAX);
|
||||
LOG_Z3_enable_trace(tag);
|
||||
enable_trace(tag);
|
||||
// Tag is a string that was probably not allocated by Z3. Create a copy using symbol.
|
||||
symbol tag_sym(tag);
|
||||
enable_trace(tag_sym.bare_str());
|
||||
}
|
||||
|
||||
void Z3_API Z3_disable_trace(Z3_string tag) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue