* re.h (RMATCH_REGS): added for compatibility.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-07-18 02:15:44 +00:00
parent e68710727e
commit b80de9e951
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Sat Jul 18 11:15:23 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
* re.h (RMATCH_REGS): added for compatibility.
Sat Jul 18 07:56:00 2009 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
* ext/tk/lib/tk.rb: fail to create a widget object for an unknown

1
re.h
View File

@ -27,6 +27,7 @@ struct RMatch {
};
#define RMATCH(obj) (R_CAST(RMatch)(obj))
#define RMATCH_REGS(obj) (R_CAST(RMatch)(obj)->regs)
VALUE rb_reg_regcomp _((VALUE));
long rb_reg_search _((VALUE, VALUE, long, long));