3518 {
3519 Z3_func_decl _constructor;
3520 Z3_func_decl _test;
3521 array<Z3_func_decl> accessors(num_fields[i]);
3522 accs.resize(0);
3524 cons[i],
3525 num_fields[i],
3526 &_constructor,
3527 &_test,
3528 accessors.ptr());
3529 constructor = func_decl(ctx, _constructor);
3530
3531 test = func_decl(ctx, _test);
3532 for (unsigned j = 0; j < num_fields[i]; ++j)
3533 accs.push_back(func_decl(ctx, accessors[j]));
3534 }
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.