From 5e01a4852b31d537307994248869caf38b4023cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Tue, 10 May 2016 05:12:17 +0200 Subject: Imported Upstream version 6.0.0 --- doc/API | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) (limited to 'doc/API') diff --git a/doc/API b/doc/API index f3b8875..9904a06 100644 --- a/doc/API +++ b/doc/API @@ -1,13 +1,19 @@ -Oniguruma API Version 5.9.2 2008/02/19 +Oniguruma API Version 6.0.0 2016/05/06 #include -# int onig_init(void) +# int onig_initialize(OnigEncoding use_encodings[], int num_encodings) Initialize library. - You don't have to call it explicitly, because it is called in onig_new(). + You have to call it explicitly. + + * onig_init() is deprecated. + + arguments + 1 use_encodings: array of encodings used in application. + 2 num_encodings: number of encodings. # int onig_error_code_to_str(UChar* err_buf, int err_code, ...) @@ -585,6 +591,19 @@ Oniguruma API Version 5.9.2 2008/02/19 normal return: ONIG_NORMAL +# int onig_unicode_define_user_property(const char* name, OnigCodePoint* ranges)) + + Define new Unicode property. + (This function is not thread safe.) + + arguments + 1 name: property name (ASCII only. character ' ', '-', '_' are ignored.) + 2 ranges: property code point ranges + (first element is number of ranges.) + + normal return: ONIG_NORMAL + + # int onig_end(void) The use of this library is finished. -- cgit v1.2.3