aboutsummaryrefslogtreecommitdiffstats
path: root/internal.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-07-18 07:48:37 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-07-18 07:48:37 +0000
commitdbe170316c6777e1fc696555e8ec5eb9740b57b5 (patch)
treedd6d92bd3456620b372c4f8750aadf5597446f31 /internal.h
parent4ee0bd78998f891df798dc36e3129026edce2c5c (diff)
downloadruby-dbe170316c6777e1fc696555e8ec5eb9740b57b5.tar.gz
proc.c: rb_block_min_max_arity
* proc.c (rb_block_min_max_arity): new function to get arity range from the current block. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r--internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal.h b/internal.h
index e6d50ebcda..c040172f3e 100644
--- a/internal.h
+++ b/internal.h
@@ -1477,6 +1477,7 @@ ID rb_id_attrget(ID id);
VALUE rb_proc_location(VALUE self);
st_index_t rb_hash_proc(st_index_t hash, VALUE proc);
int rb_block_arity(void);
+int rb_block_min_max_arity(int *max);
VALUE rb_func_proc_new(rb_block_call_func_t func, VALUE val);
VALUE rb_func_lambda_new(rb_block_call_func_t func, VALUE val);