diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2021-12-06 00:30:18 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2021-12-06 00:30:18 -0500 |
commit | bf6b57adcd220c3704469cd06f21445e0eb13888 (patch) | |
tree | 95a88339186c834b57946ff36933aea666770ed6 /jdtalk.h | |
parent | 61b4313d03a93f50c5cb9d7320f3db7c21caa9f3 (diff) | |
download | jdtalkc-bf6b57adcd220c3704469cd06f21445e0eb13888.tar.gz |
Add DEFAULT_FORMAT define
Diffstat (limited to 'jdtalk.h')
-rw-r--r-- | jdtalk.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -15,6 +15,8 @@ #define OUTPUT_PART_MAX 255 #define OUTPUT_SIZE_MAX 1024 +#define DEFAULT_FORMAT "andv" + #define WT_ICASE 0x80 #define WT_ANY 0 #define WT_NOUN 1 @@ -40,7 +42,7 @@ int dictionary_read(FILE *fp, struct Dictionary **dict, unsigned type); struct Dictionary *dictionary_populate(); int dictionary_contains(struct Dictionary *dict, const char *s, unsigned type); char *dictionary_word(struct Dictionary *dict, unsigned type); -char *dictionary_word_formats(struct Dictionary *dict, char *s); +char *dictionary_word_formats(struct Dictionary *dict, const char *s); struct Dictionary *dictionary_of(struct Dictionary **src, unsigned type); void dictionary_free(struct Dictionary *dict); |