aboutsummaryrefslogtreecommitdiffstats
path: root/node.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-12-16 15:01:49 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-12-16 15:01:49 +0000
commit7910c3fd56c9811aaa642af2570ed3b1b19b6533 (patch)
treefdf4c080eddaa5092e5486b150e6f5fa0f505b7f /node.h
parent326ebac3dbb4649464e38936f6850765302d77d6 (diff)
downloadruby-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/node.h b/node.h
index 6c8acb59b0..13b0279f3e 100644
--- a/node.h
+++ b/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 *));