mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
* 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:
parent
326ebac3db
commit
7910c3fd56
3 changed files with 106 additions and 62 deletions
1
node.h
1
node.h
|
@ -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 *));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue