summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-05-04 12:29:09 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-05-04 12:29:09 +0000
commit1dd28acf767a964220076ff6a53df7c7b65a6772 (patch)
treecbd06dc05a524a54f6c357b272f10659646504a1 /include
parentf5b6312ac53a689d626f80a49fb7a2b288ad140f (diff)
downloadruby-1dd28acf767a964220076ff6a53df7c7b65a6772.tar.gz
ruby-1dd28acf767a964220076ff6a53df7c7b65a6772.tar.xz
ruby-1dd28acf767a964220076ff6a53df7c7b65a6772.zip
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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@23329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r--include/ruby/intern.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h
index 68b0643aa..a3bb3ff61 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);