utf8proc_version should return a different version string than utf8proc
authorSteven G. Johnson <stevenj@mit.edu>
Fri, 12 Dec 2014 19:20:53 +0000 (14:20 -0500)
committerSteven G. Johnson <stevenj@mit.edu>
Fri, 12 Dec 2014 19:20:53 +0000 (14:20 -0500)
utf8proc.c

index 825d8200a53d3f4c2d4d3cde2a5d2c4d2d659118..4a1749d04490e3a02744136f18efbda571778787 100644 (file)
@@ -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) {