diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-12-23 19:53:48 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-12-23 19:53:48 +1300 |
commit | ca2737dd21714cef01ba61fedd1a7a8c22fc8a13 (patch) | |
tree | 32d10e4ead82e0eff8a68e2f82a49507203f105c /wtf8.h | |
parent | Merge branch 'hotfix/v1.2.1' (diff) | |
parent | Bump VERSION (diff) | |
download | wtf8-ca2737dd21714cef01ba61fedd1a7a8c22fc8a13.tar.gz wtf8-ca2737dd21714cef01ba61fedd1a7a8c22fc8a13.zip |
Merge branch 'release/v1.3.0'v1.3.0
* release/v1.3.0:
Add help message for improper usage
Refactor for legibility
Make some dense code a little less opaque
Diffstat (limited to 'wtf8.h')
-rw-r--r-- | wtf8.h | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -2,6 +2,11 @@ #include <stdio.h> #include <stdlib.h> +#define PROGRAM_NAME "wtf8" + +#define BYTE_SEP '-' +#define CHAR_SEP ' ' + int is_utf8_cont(unsigned char); -void print_octets(char *); -void print_characters(char *); +void print_octets(FILE *, char *); +void print_characters(FILE *, char *); |