mirror of
https://github.com/Z3Prover/z3
synced 2025-04-27 10:55:50 +00:00
Interpolation API: infrastructure fixes and .NET API
Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
parent
4370d40dd8
commit
b03a9d3f0a
15 changed files with 1223 additions and 949 deletions
|
@ -424,7 +424,7 @@ namespace Microsoft.Z3
|
|||
n_constr[i] = cla[i].NativeObject;
|
||||
}
|
||||
IntPtr[] n_res = new IntPtr[n];
|
||||
Native.Z3_mk_datatypes(nCtx, n, Symbol.ArrayToNative(names), n_res, n_constr);
|
||||
Native.Z3_mk_datatypes(nCtx, n, Symbol.ArrayToNative(names), out n_res, n_constr);
|
||||
DatatypeSort[] res = new DatatypeSort[n];
|
||||
for (uint i = 0; i < n; i++)
|
||||
res[i] = new DatatypeSort(this, n_res[i]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue