From abf81603ba137a98c84e7dd1d871c951659a4ea9 Mon Sep 17 00:00:00 2001 From: "Steven G. Johnson" Date: Sat, 30 Mar 2019 16:31:02 -0400 Subject: add utf8proc_unicode_version (#151) --- utf8proc.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'utf8proc.c') diff --git a/utf8proc.c b/utf8proc.c index 98e754d..5de128a 100644 --- a/utf8proc.c +++ b/utf8proc.c @@ -100,6 +100,10 @@ UTF8PROC_DLLEXPORT const char *utf8proc_version(void) { return STRINGIZE(UTF8PROC_VERSION_MAJOR) "." STRINGIZE(UTF8PROC_VERSION_MINOR) "." STRINGIZE(UTF8PROC_VERSION_PATCH) ""; } +UTF8PROC_DLLEXPORT const char *utf8proc_unicode_version(void) { + return "12.0.0"; +} + UTF8PROC_DLLEXPORT const char *utf8proc_errmsg(utf8proc_ssize_t errcode) { switch (errcode) { case UTF8PROC_ERROR_NOMEM: -- cgit v1.2.3