diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-02-22 00:32:43 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-02-22 00:45:05 +0900 |
commit | 8c5ca318cbe57269f144a4d0822c5283c1fd4e1a (patch) | |
tree | 8affdb4955703701e4b9ee9bf0ed6bc0c42da5a3 /internal/proc.h | |
parent | 5cab86f3b0725457be3c50d3cab43b04bea53290 (diff) |
`Proc` made by `Symbol#to_proc` should be a lambda [Bug #16260]
With refinements, too.
Diffstat (limited to 'internal/proc.h')
-rw-r--r-- | internal/proc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/proc.h b/internal/proc.h index 7f2bec8850..864392906b 100644 --- a/internal/proc.h +++ b/internal/proc.h @@ -19,11 +19,11 @@ 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_lambda_new(rb_block_call_func_t func, VALUE val, int min_argc, int max_argc); VALUE rb_block_to_s(VALUE self, const struct rb_block *block, const char *additional_info); MJIT_SYMBOL_EXPORT_BEGIN 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, int min_argc, int max_argc); VALUE rb_iseq_location(const struct rb_iseq_struct *iseq); VALUE rb_sym_to_proc(VALUE sym); MJIT_SYMBOL_EXPORT_END |