Remove dead function rb_func_proc_new
This commit is contained in:
parent
5c95898e93
commit
5a448a87fc
Notes:
git
2025-01-20 15:31:53 +00:00
@ -22,7 +22,6 @@ int rb_block_min_max_arity(int *max);
|
|||||||
VALUE rb_block_to_s(VALUE self, const struct rb_block *block, const char *additional_info);
|
VALUE rb_block_to_s(VALUE self, const struct rb_block *block, const char *additional_info);
|
||||||
VALUE rb_callable_receiver(VALUE);
|
VALUE rb_callable_receiver(VALUE);
|
||||||
|
|
||||||
VALUE rb_func_proc_new(rb_block_call_func_t func, VALUE val);
|
|
||||||
VALUE rb_func_proc_dup(VALUE src_obj);
|
VALUE rb_func_proc_dup(VALUE src_obj);
|
||||||
VALUE rb_func_lambda_new(rb_block_call_func_t func, VALUE val, int min_argc, int max_argc);
|
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_iseq_location(const struct rb_iseq_struct *iseq);
|
||||||
|
7
proc.c
7
proc.c
@ -752,13 +752,6 @@ rb_vm_ifunc_new(rb_block_call_func_t func, const void *data, int min_argc, int m
|
|||||||
return ifunc;
|
return ifunc;
|
||||||
}
|
}
|
||||||
|
|
||||||
VALUE
|
|
||||||
rb_func_proc_new(rb_block_call_func_t func, VALUE val)
|
|
||||||
{
|
|
||||||
struct vm_ifunc *ifunc = rb_vm_ifunc_proc_new(func, (void *)val);
|
|
||||||
return cfunc_proc_new(rb_cProc, (VALUE)ifunc);
|
|
||||||
}
|
|
||||||
|
|
||||||
VALUE
|
VALUE
|
||||||
rb_func_lambda_new(rb_block_call_func_t func, VALUE val, int min_argc, int max_argc)
|
rb_func_lambda_new(rb_block_call_func_t func, VALUE val, int min_argc, int max_argc)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user