X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=dict.h;h=ab962c20469bfae94808dbc8e2271a169edfd3b1;hb=a46e558ad8d3243c76a9a6cafb6100be4f3f2dae;hp=6152c724e303c8d4177a44ea0cb024c8c9a2e69e;hpb=a5187a6b925208af24014e40290f323f8ecd9be7;p=wordgame diff --git a/dict.h b/dict.h index 6152c72..ab962c2 100644 --- 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,