Skip to content

Commit b3dffba

Browse files
committed
rb_block_lambda() is the same as rb_block_proc() for C extensions
1 parent f1b40cd commit b3dffba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/c/cext/ruby.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1759,7 +1759,7 @@ VALUE rb_block_proc(void) {
17591759
}
17601760

17611761
VALUE rb_block_lambda(void) {
1762-
return RUBY_CEXT_INVOKE("rb_block_lambda");
1762+
return rb_block_proc();
17631763
}
17641764

17651765
VALUE rb_yield(VALUE value) {

0 commit comments

Comments
 (0)