summaryrefslogtreecommitdiff
path: root/doc/API
diff options
context:
space:
mode:
Diffstat (limited to 'doc/API')
-rw-r--r--doc/API14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/API b/doc/API
index c639432..d12a46b 100644
--- a/doc/API
+++ b/doc/API
@@ -629,6 +629,20 @@ Oniguruma API Version 6.1.0 2016/08/22
normal return: ONIG_NORMAL
+# unsigned int onig_get_parse_depth_limit(void)
+
+ Return the maximum depth of parser recursion.
+ (default: DEFAULT_PARSE_DEPTH_LIMIT defined in regint.h. Currently 4096.)
+
+
+# int onig_set_parse_depth_limit(unsigned int depth)
+
+ Set the maximum depth of parser recursion.
+ (depth = 0: Set to the default value defined in regint.h.)
+
+ normal return: ONIG_NORMAL
+
+
# int onig_end(void)
The use of this library is finished.