summaryrefslogtreecommitdiff
path: root/yjit
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2024-03-01 15:07:40 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2024-03-01 15:07:41 -0800
commit317163c79cc46580ba73e94d3cc2a5e9dc3217b8 (patch)
tree39717c2edd39d7196289cb48217e7c0d8907297c /yjit
parent61fbd29e14c0bd06ca4c063ff34332b272874a13 (diff)
Update bindgen for YJIT and RJIT
Diffstat (limited to 'yjit')
-rw-r--r--yjit/src/cruby_bindings.inc.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/yjit/src/cruby_bindings.inc.rs b/yjit/src/cruby_bindings.inc.rs
index e1cfeec22b..02b4de68f3 100644
--- a/yjit/src/cruby_bindings.inc.rs
+++ b/yjit/src/cruby_bindings.inc.rs
@@ -411,10 +411,11 @@ pub const VM_METHOD_TYPE_OPTIMIZED: rb_method_type_t = 9;
pub const VM_METHOD_TYPE_MISSING: rb_method_type_t = 10;
pub const VM_METHOD_TYPE_REFINED: rb_method_type_t = 11;
pub type rb_method_type_t = u32;
+pub type rb_cfunc_t = ::std::option::Option<unsafe extern "C" fn() -> VALUE>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct rb_method_cfunc_struct {
- pub func: ::std::option::Option<unsafe extern "C" fn() -> VALUE>,
+ pub func: rb_cfunc_t,
pub invoker: ::std::option::Option<
unsafe extern "C" fn(
recv: VALUE,