3746 {
3747 Z3_func_decl _constructor;
3748 Z3_func_decl _test;
3749 array<Z3_func_decl> accessors(num_fields[i]);
3750 accs.resize(0);
3752 cons[i],
3753 num_fields[i],
3754 &_constructor,
3755 &_test,
3756 accessors.ptr());
3757 constructor = func_decl(ctx, _constructor);
3758
3759 test = func_decl(ctx, _test);
3760 for (unsigned j = 0; j < num_fields[i]; ++j)
3761 accs.push_back(func_decl(ctx, accessors[j]));
3762 }
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.