From 4f59a115fd9b000ce1cb0feb7272c2795ea934bb Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 6 Mar 2013 06:29:57 +0000 Subject: [PATCH] intern.h: macro rb_check_arity * include/ruby/intern.h (rb_check_arity): same name macro for backward compatibility checking by ifdef. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- include/ruby/intern.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/ruby/intern.h b/include/ruby/intern.h index 063c5d059e..56e2452974 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -266,6 +266,7 @@ const char *rb_sourcefile(void); VALUE rb_check_funcall(VALUE, ID, int, VALUE*); NORETURN(void rb_error_arity(int, int, int)); +#define rb_check_arity rb_check_arity /* for ifdef */ static inline void rb_check_arity(int argc, int min, int max) {