diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-06 06:38:08 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-10-06 06:38:08 +0000 |
commit | ceddb498682549c2904f9ffbeffb8ae7102e2d5f (patch) | |
tree | 37c5bf178da5201c97caf0ebbba9421bced68e2e /internal.h | |
parent | 334710c155ad19cfd947ce6bcd7127b97cbe37da (diff) | |
download | ruby-ceddb498682549c2904f9ffbeffb8ae7102e2d5f.tar.gz |
vm_args.c: wrap symbol ifunc
* vm_args.c (args_setup_block_parameter): wrap a symbol in ifunc
by a proc as a block parameter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52056 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 10775a7e68..00fbabbf93 100644 --- a/internal.h +++ b/internal.h @@ -1110,6 +1110,7 @@ VALUE rb_external_str_with_enc(VALUE str, rb_encoding *eenc); #define is_broken_string(str) (rb_enc_str_coderange(str) == ENC_CODERANGE_BROKEN) size_t rb_str_memsize(VALUE); VALUE rb_sym_proc_call(VALUE args, VALUE sym, int argc, const VALUE *argv, VALUE passed_proc); +VALUE rb_sym_to_proc(VALUE sym); /* struct.c */ VALUE rb_struct_init_copy(VALUE copy, VALUE s); |