char letters[4][4];
/* Private, transient state used by enumerate */
- trie_t *result_trie;
+ dict_t *result_trie;
} board_t;
int
for (y = 0; y < 4; y++)
for (x = 0; x < 4; x++)
- board_enumerate (board, x, y, seen, &word, dict->trie);
+ board_enumerate (board, x, y, seen, &word, dict);
string_fini (&word);
}
else
t->flags |= TRIE_FLAGS_SEEN;
} else {
- t = trie_find (dict.trie, response);
+ t = trie_find (&dict, response);
if (t && (t->flags & TRIE_FLAGS_IS_WORD))
printf ("(a good word, but it's not in the puzzle)\n");
else