]> git.cworth.org Git - wordgame/blobdiff - dict.h
Pass the dict entry flags to the for_each callback
[wordgame] / dict.h
diff --git a/dict.h b/dict.h
index 6152c724e303c8d4177a44ea0cb024c8c9a2e69e..ab962c20469bfae94808dbc8e2271a169edfd3b1 100644 (file)
--- a/dict.h
+++ b/dict.h
@@ -94,7 +94,7 @@ dict_print_by_length_if (dict_t                       *dict,
                         dict_entry_predicate_t  predicate);
 
 /* More general callback-based iteration of all entries */
-typedef void (* dict_action_t) (void *closure, char *word);
+typedef void (* dict_action_t) (void *closure, char *word, dict_entry_t *entry);
 
 int
 dict_for_each (dict_t          *dict,