Skip to content

Commit 4886a54

Browse files
committed
fix rjit-bindgen info
1 parent 8d88d35 commit 4886a54

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

rjit_c.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1483,6 +1483,7 @@ def C.rb_thread_struct
14831483
unblock: [self.rb_unblock_callback, Primitive.cexpr!("OFFSETOF((*((struct rb_thread_struct *)NULL)), unblock)")],
14841484
locking_mutex: [self.VALUE, Primitive.cexpr!("OFFSETOF((*((struct rb_thread_struct *)NULL)), locking_mutex)")],
14851485
keeping_mutexes: [CType::Pointer.new { self.rb_mutex_struct }, Primitive.cexpr!("OFFSETOF((*((struct rb_thread_struct *)NULL)), keeping_mutexes)")],
1486+
interrupt_exec_tasks: [self.ccan_list_head, Primitive.cexpr!("OFFSETOF((*((struct rb_thread_struct *)NULL)), interrupt_exec_tasks)")],
14861487
join_list: [CType::Pointer.new { self.rb_waiting_list }, Primitive.cexpr!("OFFSETOF((*((struct rb_thread_struct *)NULL)), join_list)")],
14871488
invoke_arg: [CType::Union.new(
14881489
"", Primitive.cexpr!("SIZEOF(((struct rb_thread_struct *)NULL)->invoke_arg)"),
@@ -1651,6 +1652,10 @@ def C.rb_mutex_struct
16511652
CType::Stub.new(:rb_mutex_struct)
16521653
end
16531654

1655+
def C.ccan_list_head
1656+
CType::Stub.new(:ccan_list_head)
1657+
end
1658+
16541659
def C.rb_waiting_list
16551660
CType::Stub.new(:rb_waiting_list)
16561661
end

0 commit comments

Comments
 (0)