3791 {
3792 Z3_func_decl _constructor;
3793 Z3_func_decl _test;
3794 array<Z3_func_decl> accessors(num_fields[i]);
3795 accs.resize(0);
3797 cons[i],
3798 num_fields[i],
3799 &_constructor,
3800 &_test,
3801 accessors.ptr());
3802 constructor = func_decl(ctx, _constructor);
3803
3804 test = func_decl(ctx, _test);
3805 for (unsigned j = 0; j < num_fields[i]; ++j)
3806 accs.push_back(func_decl(ctx, accessors[j]));
3807 }
void Z3_API Z3_query_constructor(Z3_context c, Z3_constructor constr, unsigned num_fields, Z3_func_decl *constructor, Z3_func_decl *tester, Z3_func_decl accessors[])
Query constructor for declared functions.