aboutsummaryrefslogtreecommitdiff
path: root/wtf8.h
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-12-23 19:53:48 +1300
committerTom Ryder <tom@sanctum.geek.nz>2019-12-23 19:53:48 +1300
commitca2737dd21714cef01ba61fedd1a7a8c22fc8a13 (patch)
tree32d10e4ead82e0eff8a68e2f82a49507203f105c /wtf8.h
parentMerge branch 'hotfix/v1.2.1' (diff)
parentBump VERSION (diff)
downloadwtf8-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.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/wtf8.h b/wtf8.h
index a635e1e..f02e31b 100644
--- a/wtf8.h
+++ b/wtf8.h
@@ -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 *);