static anbool check_full_quad(quadbuilder_t* qb, unsigned int* quad, int nstars, void* vtoken) { hpquads_t* me = vtoken; anbool dup; if (!me->bigquadlist) return TRUE; dup = bt_contains2(me->bigquadlist, quad, compare_quads, &me->dimquads); return !dup; }
// Pure? anbool bt_contains(bt* tree, void* data, compare_func compare) { return bt_contains2(tree, data, compare_helper, compare); }