diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-09-30 06:36:11 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-09-30 06:36:11 +0000 |
commit | 66296d37745c42cf12e056a0c78a7831c4989c78 (patch) | |
tree | c755f4541a74506771ba52100baebc58e39b0748 /internal.h | |
parent | c2310baf9aa8debf6849f4dcec769d008d30b5a5 (diff) | |
download | ruby-66296d37745c42cf12e056a0c78a7831c4989c78.tar.gz |
proc.c: include symbol name
* proc.c (proc_to_s): include the original symbol name in string
form.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51988 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 9dafcb0f26..bd77ba864c 100644 --- a/internal.h +++ b/internal.h @@ -1109,6 +1109,7 @@ VALUE rb_external_str_with_enc(VALUE str, rb_encoding *eenc); #define is_ascii_string(str) (rb_enc_str_coderange(str) == ENC_CODERANGE_7BIT) #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, VALUE *argv, VALUE passed_proc); /* struct.c */ VALUE rb_struct_init_copy(VALUE copy, VALUE s); |