зеркало из https://github.com/github/ruby.git
fix rjit-bindgen info
This commit is contained in:
Родитель
8d88d35fc1
Коммит
4886a54d74
|
@ -1483,6 +1483,7 @@ module RubyVM::RJIT # :nodoc: all
|
|||
unblock: [self.rb_unblock_callback, Primitive.cexpr!("OFFSETOF((*((struct rb_thread_struct *)NULL)), unblock)")],
|
||||
locking_mutex: [self.VALUE, Primitive.cexpr!("OFFSETOF((*((struct rb_thread_struct *)NULL)), locking_mutex)")],
|
||||
keeping_mutexes: [CType::Pointer.new { self.rb_mutex_struct }, Primitive.cexpr!("OFFSETOF((*((struct rb_thread_struct *)NULL)), keeping_mutexes)")],
|
||||
interrupt_exec_tasks: [self.ccan_list_head, Primitive.cexpr!("OFFSETOF((*((struct rb_thread_struct *)NULL)), interrupt_exec_tasks)")],
|
||||
join_list: [CType::Pointer.new { self.rb_waiting_list }, Primitive.cexpr!("OFFSETOF((*((struct rb_thread_struct *)NULL)), join_list)")],
|
||||
invoke_arg: [CType::Union.new(
|
||||
"", Primitive.cexpr!("SIZEOF(((struct rb_thread_struct *)NULL)->invoke_arg)"),
|
||||
|
@ -1651,6 +1652,10 @@ module RubyVM::RJIT # :nodoc: all
|
|||
CType::Stub.new(:rb_mutex_struct)
|
||||
end
|
||||
|
||||
def C.ccan_list_head
|
||||
CType::Stub.new(:ccan_list_head)
|
||||
end
|
||||
|
||||
def C.rb_waiting_list
|
||||
CType::Stub.new(:rb_waiting_list)
|
||||
end
|
||||
|
|
Загрузка…
Ссылка в новой задаче