From 1cc97412cd8168d897b1b361c8fa2cf792a51729 Mon Sep 17 00:00:00 2001 From: John Hawthorn Date: Tue, 26 Jul 2022 18:19:44 -0700 Subject: Remove rb_iseq_each --- yjit/bindgen/src/main.rs | 1 - yjit/src/cruby_bindings.inc.rs | 16 ---------------- 2 files changed, 17 deletions(-) (limited to 'yjit') diff --git a/yjit/bindgen/src/main.rs b/yjit/bindgen/src/main.rs index df4083638d..eaf030a1de 100644 --- a/yjit/bindgen/src/main.rs +++ b/yjit/bindgen/src/main.rs @@ -288,7 +288,6 @@ fn main() { // From iseq.h .allowlist_function("rb_vm_insn_addr2opcode") .allowlist_function("rb_iseqw_to_iseq") - .allowlist_function("rb_iseq_each") .allowlist_function("rb_iseq_method_name") // From builtin.h diff --git a/yjit/src/cruby_bindings.inc.rs b/yjit/src/cruby_bindings.inc.rs index cedc3216b8..9869998788 100644 --- a/yjit/src/cruby_bindings.inc.rs +++ b/yjit/src/cruby_bindings.inc.rs @@ -979,22 +979,6 @@ pub type ruby_vminsn_type = u32; extern "C" { pub fn rb_vm_insn_addr2opcode(addr: *const ::std::os::raw::c_void) -> ::std::os::raw::c_int; } -pub type rb_iseq_each_i = ::std::option::Option< - unsafe extern "C" fn( - code: *mut VALUE, - insn: VALUE, - index: size_t, - data: *mut ::std::os::raw::c_void, - ) -> bool, ->; -extern "C" { - pub fn rb_iseq_each( - iseq: *const rb_iseq_t, - start_index: size_t, - iterator: rb_iseq_each_i, - data: *mut ::std::os::raw::c_void, - ); -} extern "C" { pub fn rb_iseqw_to_iseq(iseqw: VALUE) -> *const rb_iseq_t; } -- cgit v1.2.3