summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-12-30 10:44:10 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-12-30 10:44:10 +0000
commitf9bef8b94490d8ab88d817ae3534bf516ce8429c (patch)
treec299041064376f247c92966d68cd956c0f9499eb /include
parent9db87ea5b9c10b80f3e9f1bc83c78527ad137ef0 (diff)
* include/ruby/ruby.h (RREGEXP_SRC_END): added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r--include/ruby/ruby.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h
index 568d61ab47..5318772b35 100644
--- a/include/ruby/ruby.h
+++ b/include/ruby/ruby.h
@@ -684,6 +684,7 @@ struct RRegexp {
#define RREGEXP_SRC(r) RREGEXP(r)->src
#define RREGEXP_SRC_PTR(r) RSTRING_PTR(RREGEXP(r)->src)
#define RREGEXP_SRC_LEN(r) RSTRING_LEN(RREGEXP(r)->src)
+#define RREGEXP_SRC_END(r) RSTRING_END(RREGEXP(r)->src)
struct RHash {
struct RBasic basic;