diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-03-06 06:29:57 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-03-06 06:29:57 +0000 |
commit | 4f59a115fd9b000ce1cb0feb7272c2795ea934bb (patch) | |
tree | 38989c881edda80470a9edb87ab02c0f7ddbd9dc /include/ruby/intern.h | |
parent | d1e3c6324551a2deb5de3faccc6973b96db86f68 (diff) |
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
Diffstat (limited to 'include/ruby/intern.h')
-rw-r--r-- | include/ruby/intern.h | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |