summaryrefslogtreecommitdiff
path: root/utf8proc.h
diff options
context:
space:
mode:
authorSteven G. Johnson <stevenj@mit.edu>2019-03-30 16:31:02 -0400
committerGitHub <noreply@github.com>2019-03-30 16:31:02 -0400
commitabf81603ba137a98c84e7dd1d871c951659a4ea9 (patch)
tree27319d7c22fd9bcbbc30f9ff30e24306ee8e924f /utf8proc.h
parentfd4d8a3454c7c2feffa1cb10a4c518ebb338e48c (diff)
downloadlibutf8proc-abf81603ba137a98c84e7dd1d871c951659a4ea9.tar.gz
libutf8proc-abf81603ba137a98c84e7dd1d871c951659a4ea9.tar.bz2
add utf8proc_unicode_version (#151)
Diffstat (limited to 'utf8proc.h')
-rw-r--r--utf8proc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/utf8proc.h b/utf8proc.h
index d12b721..9df1811 100644
--- a/utf8proc.h
+++ b/utf8proc.h
@@ -409,6 +409,11 @@ UTF8PROC_DLLEXPORT extern const utf8proc_int8_t utf8proc_utf8class[256];
UTF8PROC_DLLEXPORT const char *utf8proc_version(void);
/**
+ * Returns the utf8proc supported Unicode version as a string MAJOR.MINOR.PATCH.
+ */
+UTF8PROC_DLLEXPORT const char *utf8proc_unicode_version(void);
+
+/**
* Returns an informative error string for the given utf8proc error code
* (e.g. the error codes returned by @ref utf8proc_map).
*/