mirror of
https://github.com/Z3Prover/z3
synced 2025-04-07 18:05:21 +00:00
update Java API
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
ae6121525a
commit
65ce445b7e
|
@ -2911,20 +2911,6 @@ public class Context extends IDisposable
|
|||
Native.updateParamValue(nCtx(), id, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a configuration parameter. <remarks> Returns null if the parameter
|
||||
* value does not exist. </remarks> <seealso cref="UpdateParamValue"/>
|
||||
**/
|
||||
public String getParamValue(String id) throws Z3Exception
|
||||
{
|
||||
Native.StringPtr res = new Native.StringPtr();
|
||||
boolean r = Native.getParamValue(nCtx(), id, res);
|
||||
if (!r)
|
||||
return null;
|
||||
else
|
||||
return res.value;
|
||||
}
|
||||
|
||||
long m_ctx = 0;
|
||||
|
||||
long nCtx()
|
||||
|
|
Loading…
Reference in a new issue