diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-05-10 05:12:17 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-05-10 05:12:17 +0200 |
commit | 5e01a4852b31d537307994248869caf38b4023cc (patch) | |
tree | 769c60020afcb58437477f348dca58fb0c789f64 /doc/API | |
parent | 766e109fd638ef1eac33717b52e04a351da46483 (diff) |
Imported Upstream version 6.0.0upstream/6.0.0
Diffstat (limited to 'doc/API')
-rw-r--r-- | doc/API | 25 |
1 files changed, 22 insertions, 3 deletions
@@ -1,13 +1,19 @@ -Oniguruma API Version 5.9.2 2008/02/19 +Oniguruma API Version 6.0.0 2016/05/06 #include <oniguruma.h> -# 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. |