diff options
author | glass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-15 04:26:58 +0000 |
---|---|---|
committer | glass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-15 04:26:58 +0000 |
commit | f344841e30618373889d13f5eb43cf8add194f10 (patch) | |
tree | 13a6c1c4ff794a1d549af59ad8b7c4995344594d /internal.h | |
parent | def83bff91d59fa5fdd1898f903f9000ad1dbe13 (diff) | |
download | ruby-f344841e30618373889d13f5eb43cf8add194f10.tar.gz |
* proc.c (rb_block_arity): create internal API rb_block_arity().
it return arity of given block.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
-rw-r--r-- | internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal.h b/internal.h index feb51cf8a8..05a59253a5 100644 --- a/internal.h +++ b/internal.h @@ -356,6 +356,7 @@ void rb_gc_mark_symbols(void); /* proc.c */ VALUE rb_proc_location(VALUE self); st_index_t rb_hash_proc(st_index_t hash, VALUE proc); +int rb_block_arity(void); /* process.c */ #define RB_MAX_GROUPS (65536) |