summaryrefslogtreecommitdiff
path: root/include/ruby
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-12-01 21:30:58 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-12-01 21:30:58 +0000
commit012c558127d329d2f846124958f7ab57bbaedc3b (patch)
tree7c58ff528c9b08835e3dcfbbb47b6dd19a7ec9fd /include/ruby
parent4ea50d7aea9e84be4b2ea206c939bffa903bd509 (diff)
re.c: rb_reg_region_copy
* re.c (rb_reg_region_copy): new function to try with GC if copy failed and return the error. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby')
-rw-r--r--include/ruby/re.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ruby/re.h b/include/ruby/re.h
index 41b3e492f8..166f254aa5 100644
--- a/include/ruby/re.h
+++ b/include/ruby/re.h
@@ -58,6 +58,7 @@ long rb_reg_adjust_startpos(VALUE, VALUE, long, int);
void rb_match_busy(VALUE);
VALUE rb_reg_quote(VALUE);
regex_t *rb_reg_prepare_re(VALUE re, VALUE str);
+int rb_reg_region_copy(struct re_registers *, const struct re_registers *);
RUBY_SYMBOL_EXPORT_END