diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-04 12:29:09 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-04 12:29:09 +0000 |
commit | 4fcf909be046d729615a3a9eea02c44ca6f300f7 (patch) | |
tree | cbd06dc05a524a54f6c357b272f10659646504a1 | |
parent | c5539579bcb9ae080e5ff0c2898bcc4d70c50bda (diff) |
merges r23134 from trunk into ruby_1_9_1.
--
* include/ruby/intern.h (RB_NUM_COERCE_FUNCS_NEED_OPID): macro to
check compatibility. [ruby-dev:38162]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | include/ruby/intern.h | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Sat Apr 4 17:05:15 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * include/ruby/intern.h (RB_NUM_COERCE_FUNCS_NEED_OPID): macro to + check compatibility. [ruby-dev:38162] + Fri Apr 3 14:02:42 2009 Akinori MUSHA <knu@iDaemons.org> * lib/irb/completion.rb (IRB::InputCompletor::Operators): Add diff --git a/include/ruby/intern.h b/include/ruby/intern.h index 68b0643aa6..a3bb3ff613 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -421,6 +421,7 @@ VALUE rb_marshal_load(VALUE); void rb_marshal_define_compat(VALUE newclass, VALUE oldclass, VALUE (*dumper)(VALUE), VALUE (*loader)(VALUE, VALUE)); /* numeric.c */ void rb_num_zerodiv(void); +#define RB_NUM_COERCE_FUNCS_NEED_OPID 1 VALUE rb_num_coerce_bin(VALUE, VALUE, ID); VALUE rb_num_coerce_cmp(VALUE, VALUE, ID); VALUE rb_num_coerce_relop(VALUE, VALUE, ID); |