93 return new FuncDecl(
Context, Native.Z3_get_datatype_sort_constructor_accessor(
Context.nCtx, NativeObject, 1, 0));
104 return new FuncDecl(
Context, Native.Z3_get_datatype_sort_constructor_accessor(
Context.nCtx, NativeObject, 1, 1));
110 : base(ctx, IntPtr.Zero)
112 Debug.Assert(ctx !=
null);
113 Debug.Assert(name !=
null);
114 Debug.Assert(elemSort !=
null);
116 IntPtr inil = IntPtr.Zero, iisnil = IntPtr.Zero,
117 icons = IntPtr.Zero, iiscons = IntPtr.Zero,
118 ihead = IntPtr.Zero, itail = IntPtr.Zero;
120 NativeObject = Native.Z3_mk_list_sort(ctx.nCtx, name.NativeObject, elemSort.NativeObject,
121 ref inil, ref iisnil, ref icons, ref iiscons, ref ihead, ref itail);
The main interaction with Z3 happens via the Context.
Expr MkApp(FuncDecl f, params Expr[] args)
Create a new function application.