summaryrefslogtreecommitdiff
path: root/doc/API
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-05-10 05:15:59 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-05-10 05:15:59 +0200
commite706cbe5496e1829d1ddbe4d5bb0a6728204e510 (patch)
treec72d1848ac6aef07703848d0ffbe80f1336a81cd /doc/API
parent69ab3addbc2dbbc90c311b2845cd25a2159435cd (diff)
parent5e01a4852b31d537307994248869caf38b4023cc (diff)
new upstream release
Diffstat (limited to 'doc/API')
-rw-r--r--doc/API25
1 files changed, 22 insertions, 3 deletions
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 <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.