3974 {
3975 Z3_func_decl _constructor;
3976 Z3_func_decl _test;
3977 array<Z3_func_decl> accessors(num_fields[i]);
3978 accs.resize(0);
3980 cons[i],
3981 num_fields[i],
3982 &_constructor,
3983 &_test,
3984 accessors.ptr());
3985 constructor = func_decl(ctx, _constructor);
3986
3987 test = func_decl(ctx, _test);
3988 for (unsigned j = 0; j < num_fields[i]; ++j)
3989 accs.push_back(func_decl(ctx, accessors[j]));
3990 }
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.