diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-12-16 15:01:49 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-12-16 15:01:49 +0000 |
commit | 7910c3fd56c9811aaa642af2570ed3b1b19b6533 (patch) | |
tree | fdf4c080eddaa5092e5486b150e6f5fa0f505b7f /node.h | |
parent | 326ebac3dbb4649464e38936f6850765302d77d6 (diff) | |
download | ruby-7910c3fd56c9811aaa642af2570ed3b1b19b6533.tar.gz |
* 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
Diffstat (limited to 'node.h')
-rw-r--r-- | node.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 *)); |