3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-11 13:40:52 +00:00

More Java API. This is still under heavy construction and cannot be used.

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
Christoph M. Wintersteiger 2012-11-23 00:46:44 +00:00
parent c702454f6c
commit 520bcaf720
42 changed files with 2353 additions and 667 deletions

View file

@ -15,7 +15,7 @@ package com.Microsoft.Z3;
**/
public final class Log
{
private boolean mIsOpen = false;
private boolean m_is_open = false;
/**
* Open an interaction log file.
@ -24,7 +24,7 @@ package com.Microsoft.Z3;
**/
public boolean Open(String filename)
{
mIsOpen = true;
m_is_open = true;
return Native.openLog(filename) == 1;
}
@ -33,7 +33,7 @@ package com.Microsoft.Z3;
**/
public void Close()
{
mIsOpen = false;
m_is_open = false;
Native.closeLog();
}
@ -44,7 +44,7 @@ package com.Microsoft.Z3;
{
if (!mIsOpen)
if (!m_is_open)
throw new Z3Exception("Log cannot be closed.");
Native.appendLog(s);
}
@ -55,6 +55,6 @@ package com.Microsoft.Z3;
**/
public boolean isOpen()
{
return mIsOpen;
return m_is_open;
}
}