* eval.c (rb_proc_arity, rb_node_arity, rb_mod_method_arity,

rb_obj_method_arity): new functions to obtain method arity.
  [ruby-dev:25143]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2004-12-16 15:01:49 +00:00
parent 326ebac3db
commit 7910c3fd56
3 changed files with 106 additions and 62 deletions

1
node.h
View file

@ -357,6 +357,7 @@ void rb_add_method _((VALUE, ID, NODE *, int));
NODE *rb_node_newnode _((enum node_type,VALUE,VALUE,VALUE));
NODE* rb_method_node _((VALUE klass, ID id));
int rb_node_arity _((NODE* node));
struct global_entry *rb_global_entry _((ID));
VALUE rb_gvar_get _((struct global_entry *));