diff options
author | Aaron Patterson <tenderlove@ruby-lang.org> | 2023-10-23 16:57:31 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2023-10-24 10:52:06 -0700 |
commit | dc81432482efa8d74d25f41993d95a8ca68f8128 (patch) | |
tree | d12cff47fee7b0327e2ee090c082669dbe3d706d /yjit | |
parent | 54230dea1b54990a4b046dd9a7052aba9c33f383 (diff) | |
download | ruby-dc81432482efa8d74d25f41993d95a8ca68f8128.tar.gz |
updating bindgen
Diffstat (limited to 'yjit')
-rw-r--r-- | yjit/src/cruby_bindings.inc.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/yjit/src/cruby_bindings.inc.rs b/yjit/src/cruby_bindings.inc.rs index ac70d4a334..83024e0b7e 100644 --- a/yjit/src/cruby_bindings.inc.rs +++ b/yjit/src/cruby_bindings.inc.rs @@ -590,6 +590,8 @@ pub const VM_ENV_FLAG_ISOLATED: vm_frame_env_flags = 16; pub type vm_frame_env_flags = u32; pub type attr_index_t = u32; pub type shape_id_t = u32; +pub type redblack_id_t = u32; +pub type redblack_node_t = redblack_node; #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct rb_shape { @@ -600,9 +602,18 @@ pub struct rb_shape { pub type_: u8, pub size_pool_index: u8, pub parent_id: shape_id_t, + pub ancestor_index: *mut redblack_node_t, } pub type rb_shape_t = rb_shape; #[repr(C)] +#[derive(Debug, Copy, Clone)] +pub struct redblack_node { + pub key: ID, + pub value: *mut rb_shape_t, + pub l: redblack_id_t, + pub r: redblack_id_t, +} +#[repr(C)] pub struct rb_cvar_class_tbl_entry { pub index: u32, pub global_cvar_state: rb_serial_t, |