Skip to content

Commit b3100f5

Browse files
committed
Fix rb_iterate.
1 parent 9f9b008 commit b3100f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/truffle/truffle/cext.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1666,10 +1666,10 @@ def rb_iterate(iteration, iterated_object, callback, callback_arg)
16661666
0, # argc
16671667
nil, # argv
16681668
nil, # blockarg
1669-
], block))
1669+
], Primitive.cext_special_variables_from_stack, block))
16701670
end
16711671
Primitive.cext_unwrap(
1672-
Primitive.call_with_c_mutex_and_frame(iteration, [Primitive.cext_wrap(iterated_object)], wrapped_callback))
1672+
Primitive.call_with_c_mutex_and_frame(iteration, [Primitive.cext_wrap(iterated_object)], Primitive.cext_special_variables_from_stack, wrapped_callback))
16731673
end
16741674

16751675
def rb_thread_wait_fd(fd)

0 commit comments

Comments
 (0)