mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
d1e3c63245
commit
4f59a115fd
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue