summaryrefslogtreecommitdiffstats
path: root/intern.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
commit35eb6822eca71db142099d3761e2d18683c9d1a5 (patch)
treefdf4c080eddaa5092e5486b150e6f5fa0f505b7f /intern.h
parent6dbab158c4cb2d5fc8c3aa2341d695d1f214441b (diff)
downloadruby-35eb6822eca71db142099d3761e2d18683c9d1a5.tar.gz
ruby-35eb6822eca71db142099d3761e2d18683c9d1a5.tar.xz
ruby-35eb6822eca71db142099d3761e2d18683c9d1a5.zip
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@7583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'intern.h')
-rw-r--r--intern.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/intern.h b/intern.h
index c0aa9a738..841ade431 100644
--- a/intern.h
+++ b/intern.h
@@ -190,6 +190,9 @@ VALUE rb_class_new_instance _((int, VALUE*, VALUE));
VALUE rb_block_proc _((void));
VALUE rb_f_lambda _((void));
VALUE rb_proc_new _((VALUE (*)(ANYARGS/* VALUE yieldarg[, VALUE procarg] */), VALUE));
+int rb_proc_arity _((VALUE));
+int rb_mod_method_arity _((VALUE, ID));
+int rb_obj_method_arity _((VALUE, ID));
VALUE rb_protect _((VALUE (*)(VALUE), VALUE, int*));
void rb_set_end_proc _((void (*)(VALUE), VALUE));
void rb_mark_end_proc _((void));