mirror of
https://github.com/Z3Prover/z3
synced 2025-06-19 20:33:38 +00:00
fix java compile
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
b5a6c6bc66
commit
f58618aa04
2 changed files with 2 additions and 2 deletions
|
@ -506,7 +506,7 @@ public class Context implements AutoCloseable {
|
||||||
checkContextMatch(args);
|
checkContextMatch(args);
|
||||||
checkContextMatch(body);
|
checkContextMatch(body);
|
||||||
long[] argsNative = AST.arrayToNative(args);
|
long[] argsNative = AST.arrayToNative(args);
|
||||||
Native.addRecDef(nCtx(), f.getNativeObject(), (uint)args.Length, argsNative, body.getNativeObject());
|
Native.addRecDef(nCtx(), f.getNativeObject(), args.length, argsNative, body.getNativeObject());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -342,7 +342,7 @@ public class FuncDecl extends AST
|
||||||
range.getNativeObject()));
|
range.getNativeObject()));
|
||||||
}
|
}
|
||||||
|
|
||||||
FuncDecl(Context ctx, Symbol name, Sort[] domain, Sort range, bool is_rec)
|
FuncDecl(Context ctx, Symbol name, Sort[] domain, Sort range, boolean is_rec)
|
||||||
{
|
{
|
||||||
super(ctx, Native.mkRecFuncDecl(ctx.nCtx(), name.getNativeObject(),
|
super(ctx, Native.mkRecFuncDecl(ctx.nCtx(), name.getNativeObject(),
|
||||||
AST.arrayLength(domain), AST.arrayToNative(domain),
|
AST.arrayLength(domain), AST.arrayToNative(domain),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue