summaryrefslogtreecommitdiff
path: root/utf8proc.c
diff options
context:
space:
mode:
authorSteven G. Johnson <stevenj@mit.edu>2014-12-12 14:20:53 -0500
committerSteven G. Johnson <stevenj@mit.edu>2014-12-12 14:20:53 -0500
commit1b3992ebe5c587446aaa962a314ef9244d86fb0d (patch)
tree9416e0b75cd52d4d01dd679e303c3f42649dc8f1 /utf8proc.c
parent1c84d08b01c94278218085a57f5c83113455529b (diff)
downloadlibutf8proc-1b3992ebe5c587446aaa962a314ef9244d86fb0d.tar.gz
libutf8proc-1b3992ebe5c587446aaa962a314ef9244d86fb0d.tar.bz2
utf8proc_version should return a different version string than utf8proc
Diffstat (limited to 'utf8proc.c')
-rw-r--r--utf8proc.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/utf8proc.c b/utf8proc.c
index 825d820..4a1749d 100644
--- a/utf8proc.c
+++ b/utf8proc.c
@@ -94,9 +94,13 @@ DLLEXPORT const int8_t utf8proc_utf8class[256] = {
#define UTF8PROC_BOUNDCLASS_LV 9
#define UTF8PROC_BOUNDCLASS_LVT 10
-
+/* in libmojibake, we append "m" to whatever version of utf8proc
+ we have merged with most recently + whatever increment would
+ correspond to semantic versioning rules. Currently, we use 1.2m
+ since we started with utf8proc 1.1.6 and added features (Unicode 7
+ support) in a backwards-compatible manner. */
DLLEXPORT const char *utf8proc_version(void) {
- return "1.1.6";
+ return "1.2m";
}
DLLEXPORT const char *utf8proc_errmsg(ssize_t errcode) {