diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2022-02-09 00:55:11 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2022-02-09 00:55:11 -0500 |
commit | 5010d17025ffbaa7f9f8b5fe9169b574040d2773 (patch) | |
tree | 1b3d5b355fdef598bc75e759397fd5c3cc421123 /jdtalk.h | |
parent | cfd5fe53ddcfcf1d5f7434cf6f43425e4e940971 (diff) | |
download | jdtalkc-5010d17025ffbaa7f9f8b5fe9169b574040d2773.tar.gz |
Implements a basic candy heart mode
Diffstat (limited to 'jdtalk.h')
-rw-r--r-- | jdtalk.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -55,6 +55,7 @@ char *str_reverse(char *s); char *talkf(struct Dictionary *dict[], char *fmt, char **parts, size_t parts_max); char *talk_salad(struct Dictionary *dict[], size_t limit, char **parts, size_t parts_max); +char *talk_heart(struct Dictionary *dict[], size_t word_limit, size_t word_maxlen, char **parts, size_t parts_max); char *talk_acronym(struct Dictionary *dict[], __attribute__((unused)) char *fmt, char *s, char **parts, size_t parts_max); int acronym_safe(struct Dictionary *dict, const char *acronym, const char *pattern, const char *fmt); int format_safe(char *s); |