rbspy_ruby_structs/
ruby_2_7_8.rs

1/* automatically generated by rust-bindgen 0.72.1 */
2
3#[repr(C)]
4#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
5pub struct __BindgenBitfieldUnit<Storage> {
6    storage: Storage,
7}
8impl<Storage> __BindgenBitfieldUnit<Storage> {
9    #[inline]
10    pub const fn new(storage: Storage) -> Self {
11        Self { storage }
12    }
13}
14impl<Storage> __BindgenBitfieldUnit<Storage>
15where
16    Storage: AsRef<[u8]> + AsMut<[u8]>,
17{
18    #[inline]
19    fn extract_bit(byte: u8, index: usize) -> bool {
20        let bit_index = if cfg!(target_endian = "big") {
21            7 - (index % 8)
22        } else {
23            index % 8
24        };
25        let mask = 1 << bit_index;
26        byte & mask == mask
27    }
28    #[inline]
29    pub fn get_bit(&self, index: usize) -> bool {
30        debug_assert!(index / 8 < self.storage.as_ref().len());
31        let byte_index = index / 8;
32        let byte = self.storage.as_ref()[byte_index];
33        Self::extract_bit(byte, index)
34    }
35    #[inline]
36    pub unsafe fn raw_get_bit(this: *const Self, index: usize) -> bool {
37        debug_assert!(index / 8 < core::mem::size_of::<Storage>());
38        let byte_index = index / 8;
39        let byte = unsafe {
40            *(core::ptr::addr_of!((*this).storage) as *const u8).offset(byte_index as isize)
41        };
42        Self::extract_bit(byte, index)
43    }
44    #[inline]
45    fn change_bit(byte: u8, index: usize, val: bool) -> u8 {
46        let bit_index = if cfg!(target_endian = "big") {
47            7 - (index % 8)
48        } else {
49            index % 8
50        };
51        let mask = 1 << bit_index;
52        if val {
53            byte | mask
54        } else {
55            byte & !mask
56        }
57    }
58    #[inline]
59    pub fn set_bit(&mut self, index: usize, val: bool) {
60        debug_assert!(index / 8 < self.storage.as_ref().len());
61        let byte_index = index / 8;
62        let byte = &mut self.storage.as_mut()[byte_index];
63        *byte = Self::change_bit(*byte, index, val);
64    }
65    #[inline]
66    pub unsafe fn raw_set_bit(this: *mut Self, index: usize, val: bool) {
67        debug_assert!(index / 8 < core::mem::size_of::<Storage>());
68        let byte_index = index / 8;
69        let byte = unsafe {
70            (core::ptr::addr_of_mut!((*this).storage) as *mut u8).offset(byte_index as isize)
71        };
72        unsafe { *byte = Self::change_bit(*byte, index, val) };
73    }
74    #[inline]
75    pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 {
76        debug_assert!(bit_width <= 64);
77        debug_assert!(bit_offset / 8 < self.storage.as_ref().len());
78        debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len());
79        let mut val = 0;
80        for i in 0..(bit_width as usize) {
81            if self.get_bit(i + bit_offset) {
82                let index = if cfg!(target_endian = "big") {
83                    bit_width as usize - 1 - i
84                } else {
85                    i
86                };
87                val |= 1 << index;
88            }
89        }
90        val
91    }
92    #[inline]
93    pub unsafe fn raw_get(this: *const Self, bit_offset: usize, bit_width: u8) -> u64 {
94        debug_assert!(bit_width <= 64);
95        debug_assert!(bit_offset / 8 < core::mem::size_of::<Storage>());
96        debug_assert!((bit_offset + (bit_width as usize)) / 8 <= core::mem::size_of::<Storage>());
97        let mut val = 0;
98        for i in 0..(bit_width as usize) {
99            if unsafe { Self::raw_get_bit(this, i + bit_offset) } {
100                let index = if cfg!(target_endian = "big") {
101                    bit_width as usize - 1 - i
102                } else {
103                    i
104                };
105                val |= 1 << index;
106            }
107        }
108        val
109    }
110    #[inline]
111    pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) {
112        debug_assert!(bit_width <= 64);
113        debug_assert!(bit_offset / 8 < self.storage.as_ref().len());
114        debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len());
115        for i in 0..(bit_width as usize) {
116            let mask = 1 << i;
117            let val_bit_is_set = val & mask == mask;
118            let index = if cfg!(target_endian = "big") {
119                bit_width as usize - 1 - i
120            } else {
121                i
122            };
123            self.set_bit(index + bit_offset, val_bit_is_set);
124        }
125    }
126    #[inline]
127    pub unsafe fn raw_set(this: *mut Self, bit_offset: usize, bit_width: u8, val: u64) {
128        debug_assert!(bit_width <= 64);
129        debug_assert!(bit_offset / 8 < core::mem::size_of::<Storage>());
130        debug_assert!((bit_offset + (bit_width as usize)) / 8 <= core::mem::size_of::<Storage>());
131        for i in 0..(bit_width as usize) {
132            let mask = 1 << i;
133            let val_bit_is_set = val & mask == mask;
134            let index = if cfg!(target_endian = "big") {
135                bit_width as usize - 1 - i
136            } else {
137                i
138            };
139            unsafe { Self::raw_set_bit(this, index + bit_offset, val_bit_is_set) };
140        }
141    }
142}
143#[repr(C)]
144#[derive(Default)]
145pub struct __IncompleteArrayField<T>(::std::marker::PhantomData<T>, [T; 0]);
146impl<T> __IncompleteArrayField<T> {
147    #[inline]
148    pub const fn new() -> Self {
149        __IncompleteArrayField(::std::marker::PhantomData, [])
150    }
151    #[inline]
152    pub fn as_ptr(&self) -> *const T {
153        self as *const _ as *const T
154    }
155    #[inline]
156    pub fn as_mut_ptr(&mut self) -> *mut T {
157        self as *mut _ as *mut T
158    }
159    #[inline]
160    pub unsafe fn as_slice(&self, len: usize) -> &[T] {
161        ::std::slice::from_raw_parts(self.as_ptr(), len)
162    }
163    #[inline]
164    pub unsafe fn as_mut_slice(&mut self, len: usize) -> &mut [T] {
165        ::std::slice::from_raw_parts_mut(self.as_mut_ptr(), len)
166    }
167}
168impl<T> ::std::fmt::Debug for __IncompleteArrayField<T> {
169    fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
170        fmt.write_str("__IncompleteArrayField")
171    }
172}
173#[repr(C)]
174#[derive(Debug, Copy, Clone)]
175pub struct __sigset_t {
176    pub __val: [usize; 16usize],
177}
178#[repr(C)]
179#[derive(Debug, Copy, Clone)]
180pub struct __pthread_internal_list {
181    pub __prev: *mut __pthread_internal_list,
182    pub __next: *mut __pthread_internal_list,
183}
184pub type __pthread_list_t = __pthread_internal_list;
185#[repr(C)]
186#[derive(Debug, Copy, Clone)]
187pub struct __pthread_mutex_s {
188    pub __lock: ::std::os::raw::c_int,
189    pub __count: ::std::os::raw::c_uint,
190    pub __owner: ::std::os::raw::c_int,
191    pub __nusers: ::std::os::raw::c_uint,
192    pub __kind: ::std::os::raw::c_int,
193    pub __spins: ::std::os::raw::c_short,
194    pub __elision: ::std::os::raw::c_short,
195    pub __list: __pthread_list_t,
196}
197#[repr(C)]
198#[derive(Copy, Clone)]
199pub struct __pthread_cond_s {
200    pub __bindgen_anon_1: __pthread_cond_s__bindgen_ty_1,
201    pub __bindgen_anon_2: __pthread_cond_s__bindgen_ty_2,
202    pub __g_refs: [::std::os::raw::c_uint; 2usize],
203    pub __g_size: [::std::os::raw::c_uint; 2usize],
204    pub __g1_orig_size: ::std::os::raw::c_uint,
205    pub __wrefs: ::std::os::raw::c_uint,
206    pub __g_signals: [::std::os::raw::c_uint; 2usize],
207}
208#[repr(C)]
209#[derive(Copy, Clone)]
210pub union __pthread_cond_s__bindgen_ty_1 {
211    pub __wseq: ::std::os::raw::c_ulonglong,
212    pub __wseq32: __pthread_cond_s__bindgen_ty_1__bindgen_ty_1,
213}
214#[repr(C)]
215#[derive(Debug, Copy, Clone)]
216pub struct __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 {
217    pub __low: ::std::os::raw::c_uint,
218    pub __high: ::std::os::raw::c_uint,
219}
220impl ::std::fmt::Debug for __pthread_cond_s__bindgen_ty_1 {
221    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
222        write!(f, "__pthread_cond_s__bindgen_ty_1 {{ union }}")
223    }
224}
225#[repr(C)]
226#[derive(Copy, Clone)]
227pub union __pthread_cond_s__bindgen_ty_2 {
228    pub __g1_start: ::std::os::raw::c_ulonglong,
229    pub __g1_start32: __pthread_cond_s__bindgen_ty_2__bindgen_ty_1,
230}
231#[repr(C)]
232#[derive(Debug, Copy, Clone)]
233pub struct __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 {
234    pub __low: ::std::os::raw::c_uint,
235    pub __high: ::std::os::raw::c_uint,
236}
237impl ::std::fmt::Debug for __pthread_cond_s__bindgen_ty_2 {
238    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
239        write!(f, "__pthread_cond_s__bindgen_ty_2 {{ union }}")
240    }
241}
242impl ::std::fmt::Debug for __pthread_cond_s {
243    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
244        write ! (f , "__pthread_cond_s {{ __bindgen_anon_1: {:?}, __bindgen_anon_2: {:?}, __g_refs: {:?}, __g_size: {:?}, __g1_orig_size: {:?}, __wrefs: {:?}, __g_signals: {:?} }}" , self . __bindgen_anon_1 , self . __bindgen_anon_2 , self . __g_refs , self . __g_size , self . __g1_orig_size , self . __wrefs , self . __g_signals)
245    }
246}
247pub type pthread_t = usize;
248#[repr(C)]
249#[derive(Copy, Clone)]
250pub union pthread_mutex_t {
251    pub __data: __pthread_mutex_s,
252    pub __size: [::std::os::raw::c_char; 40usize],
253    pub __align: ::std::os::raw::c_long,
254}
255impl ::std::fmt::Debug for pthread_mutex_t {
256    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
257        write!(f, "pthread_mutex_t {{ union }}")
258    }
259}
260#[repr(C)]
261#[derive(Copy, Clone)]
262pub union pthread_cond_t {
263    pub __data: __pthread_cond_s,
264    pub __size: [::std::os::raw::c_char; 48usize],
265    pub __align: ::std::os::raw::c_longlong,
266}
267impl ::std::fmt::Debug for pthread_cond_t {
268    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
269        write!(f, "pthread_cond_t {{ union }}")
270    }
271}
272pub type VALUE = usize;
273pub type ID = usize;
274pub const ruby_fl_type_RUBY_FL_WB_PROTECTED: ruby_fl_type = 32;
275pub const ruby_fl_type_RUBY_FL_PROMOTED0: ruby_fl_type = 32;
276pub const ruby_fl_type_RUBY_FL_PROMOTED1: ruby_fl_type = 64;
277pub const ruby_fl_type_RUBY_FL_PROMOTED: ruby_fl_type = 96;
278pub const ruby_fl_type_RUBY_FL_FINALIZE: ruby_fl_type = 128;
279pub const ruby_fl_type_RUBY_FL_TAINT: ruby_fl_type = 256;
280pub const ruby_fl_type_RUBY_FL_UNTRUSTED: ruby_fl_type = 256;
281pub const ruby_fl_type_RUBY_FL_SEEN_OBJ_ID: ruby_fl_type = 512;
282pub const ruby_fl_type_RUBY_FL_EXIVAR: ruby_fl_type = 1024;
283pub const ruby_fl_type_RUBY_FL_FREEZE: ruby_fl_type = 2048;
284pub const ruby_fl_type_RUBY_FL_USHIFT: ruby_fl_type = 12;
285pub const ruby_fl_type_RUBY_FL_USER0: ruby_fl_type = 4096;
286pub const ruby_fl_type_RUBY_FL_USER1: ruby_fl_type = 8192;
287pub const ruby_fl_type_RUBY_FL_USER2: ruby_fl_type = 16384;
288pub const ruby_fl_type_RUBY_FL_USER3: ruby_fl_type = 32768;
289pub const ruby_fl_type_RUBY_FL_USER4: ruby_fl_type = 65536;
290pub const ruby_fl_type_RUBY_FL_USER5: ruby_fl_type = 131072;
291pub const ruby_fl_type_RUBY_FL_USER6: ruby_fl_type = 262144;
292pub const ruby_fl_type_RUBY_FL_USER7: ruby_fl_type = 524288;
293pub const ruby_fl_type_RUBY_FL_USER8: ruby_fl_type = 1048576;
294pub const ruby_fl_type_RUBY_FL_USER9: ruby_fl_type = 2097152;
295pub const ruby_fl_type_RUBY_FL_USER10: ruby_fl_type = 4194304;
296pub const ruby_fl_type_RUBY_FL_USER11: ruby_fl_type = 8388608;
297pub const ruby_fl_type_RUBY_FL_USER12: ruby_fl_type = 16777216;
298pub const ruby_fl_type_RUBY_FL_USER13: ruby_fl_type = 33554432;
299pub const ruby_fl_type_RUBY_FL_USER14: ruby_fl_type = 67108864;
300pub const ruby_fl_type_RUBY_FL_USER15: ruby_fl_type = 134217728;
301pub const ruby_fl_type_RUBY_FL_USER16: ruby_fl_type = 268435456;
302pub const ruby_fl_type_RUBY_FL_USER17: ruby_fl_type = 536870912;
303pub const ruby_fl_type_RUBY_FL_USER18: ruby_fl_type = 1073741824;
304pub const ruby_fl_type_RUBY_FL_USER19: ruby_fl_type = -2147483648;
305pub const ruby_fl_type_RUBY_ELTS_SHARED: ruby_fl_type = 16384;
306pub const ruby_fl_type_RUBY_FL_DUPPED: ruby_fl_type = 1311;
307pub const ruby_fl_type_RUBY_FL_SINGLETON: ruby_fl_type = 4096;
308pub type ruby_fl_type = ::std::os::raw::c_int;
309#[repr(C)]
310#[derive(Debug, Copy, Clone)]
311pub struct RBasic {
312    pub flags: VALUE,
313    pub klass: VALUE,
314}
315#[repr(C)]
316#[derive(Copy, Clone)]
317pub struct RString {
318    pub basic: RBasic,
319    pub as_: RString__bindgen_ty_1,
320}
321#[repr(C)]
322#[derive(Copy, Clone)]
323pub union RString__bindgen_ty_1 {
324    pub heap: RString__bindgen_ty_1__bindgen_ty_1,
325    pub ary: [::std::os::raw::c_char; 24usize],
326}
327#[repr(C)]
328#[derive(Copy, Clone)]
329pub struct RString__bindgen_ty_1__bindgen_ty_1 {
330    pub len: ::std::os::raw::c_long,
331    pub ptr: *mut ::std::os::raw::c_char,
332    pub aux: RString__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1,
333}
334#[repr(C)]
335#[derive(Copy, Clone)]
336pub union RString__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 {
337    pub capa: ::std::os::raw::c_long,
338    pub shared: VALUE,
339}
340impl ::std::fmt::Debug for RString__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 {
341    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
342        write!(
343            f,
344            "RString__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 {{ union }}"
345        )
346    }
347}
348impl ::std::fmt::Debug for RString__bindgen_ty_1__bindgen_ty_1 {
349    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
350        write!(
351            f,
352            "RString__bindgen_ty_1__bindgen_ty_1 {{ len: {:?}, ptr: {:?}, aux: {:?} }}",
353            self.len, self.ptr, self.aux
354        )
355    }
356}
357impl ::std::fmt::Debug for RString__bindgen_ty_1 {
358    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
359        write!(f, "RString__bindgen_ty_1 {{ union }}")
360    }
361}
362impl ::std::fmt::Debug for RString {
363    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
364        write!(
365            f,
366            "RString {{ basic: {:?}, as: {:?} }}",
367            self.basic, self.as_
368        )
369    }
370}
371#[repr(C)]
372#[derive(Copy, Clone)]
373pub struct RArray {
374    pub basic: RBasic,
375    pub as_: RArray__bindgen_ty_1,
376}
377#[repr(C)]
378#[derive(Copy, Clone)]
379pub union RArray__bindgen_ty_1 {
380    pub heap: RArray__bindgen_ty_1__bindgen_ty_1,
381    pub ary: [VALUE; 3usize],
382}
383#[repr(C)]
384#[derive(Copy, Clone)]
385pub struct RArray__bindgen_ty_1__bindgen_ty_1 {
386    pub len: ::std::os::raw::c_long,
387    pub aux: RArray__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1,
388    pub ptr: *const VALUE,
389}
390#[repr(C)]
391#[derive(Copy, Clone)]
392pub union RArray__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 {
393    pub capa: ::std::os::raw::c_long,
394    pub shared_root: VALUE,
395}
396impl ::std::fmt::Debug for RArray__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 {
397    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
398        write!(
399            f,
400            "RArray__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 {{ union }}"
401        )
402    }
403}
404impl ::std::fmt::Debug for RArray__bindgen_ty_1__bindgen_ty_1 {
405    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
406        write!(
407            f,
408            "RArray__bindgen_ty_1__bindgen_ty_1 {{ len: {:?}, aux: {:?}, ptr: {:?} }}",
409            self.len, self.aux, self.ptr
410        )
411    }
412}
413impl ::std::fmt::Debug for RArray__bindgen_ty_1 {
414    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
415        write!(f, "RArray__bindgen_ty_1 {{ union }}")
416    }
417}
418impl ::std::fmt::Debug for RArray {
419    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
420        write!(
421            f,
422            "RArray {{ basic: {:?}, as: {:?} }}",
423            self.basic, self.as_
424        )
425    }
426}
427pub type st_data_t = usize;
428pub type st_index_t = st_data_t;
429#[repr(C)]
430#[derive(Debug, Copy, Clone)]
431pub struct st_hash_type {
432    pub compare: ::std::option::Option<
433        unsafe extern "C" fn(arg1: st_data_t, arg2: st_data_t) -> ::std::os::raw::c_int,
434    >,
435    pub hash: ::std::option::Option<unsafe extern "C" fn(arg1: st_data_t) -> st_index_t>,
436}
437#[repr(C)]
438#[derive(Debug, Copy, Clone)]
439pub struct st_table_entry {
440    _unused: [u8; 0],
441}
442#[repr(C)]
443#[derive(Debug, Copy, Clone)]
444pub struct st_table {
445    pub entry_power: ::std::os::raw::c_uchar,
446    pub bin_power: ::std::os::raw::c_uchar,
447    pub size_ind: ::std::os::raw::c_uchar,
448    pub rebuilds_num: ::std::os::raw::c_uint,
449    pub type_: *const st_hash_type,
450    pub num_entries: st_index_t,
451    pub bins: *mut st_index_t,
452    pub entries_start: st_index_t,
453    pub entries_bound: st_index_t,
454    pub entries: *mut st_table_entry,
455}
456pub type rb_alloc_func_t = ::std::option::Option<unsafe extern "C" fn(arg1: VALUE) -> VALUE>;
457pub type rb_unblock_function_t =
458    ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>;
459pub type rb_event_flag_t = u32;
460#[repr(C)]
461#[derive(Debug, Copy, Clone)]
462pub struct rb_code_position_struct {
463    pub lineno: ::std::os::raw::c_int,
464    pub column: ::std::os::raw::c_int,
465}
466pub type rb_code_position_t = rb_code_position_struct;
467#[repr(C)]
468#[derive(Debug, Copy, Clone)]
469pub struct rb_code_location_struct {
470    pub beg_pos: rb_code_position_t,
471    pub end_pos: rb_code_position_t,
472}
473pub type rb_code_location_t = rb_code_location_struct;
474pub const ruby_id_types_RUBY_ID_STATIC_SYM: ruby_id_types = 1;
475pub const ruby_id_types_RUBY_ID_LOCAL: ruby_id_types = 0;
476pub const ruby_id_types_RUBY_ID_INSTANCE: ruby_id_types = 2;
477pub const ruby_id_types_RUBY_ID_GLOBAL: ruby_id_types = 6;
478pub const ruby_id_types_RUBY_ID_ATTRSET: ruby_id_types = 8;
479pub const ruby_id_types_RUBY_ID_CONST: ruby_id_types = 10;
480pub const ruby_id_types_RUBY_ID_CLASS: ruby_id_types = 12;
481pub const ruby_id_types_RUBY_ID_JUNK: ruby_id_types = 14;
482pub const ruby_id_types_RUBY_ID_INTERNAL: ruby_id_types = 14;
483pub const ruby_id_types_RUBY_ID_SCOPE_SHIFT: ruby_id_types = 4;
484pub const ruby_id_types_RUBY_ID_SCOPE_MASK: ruby_id_types = 14;
485pub type ruby_id_types = ::std::os::raw::c_uint;
486pub const ruby_method_ids_idDot2: ruby_method_ids = 128;
487pub const ruby_method_ids_idDot3: ruby_method_ids = 129;
488pub const ruby_method_ids_idUPlus: ruby_method_ids = 132;
489pub const ruby_method_ids_idUMinus: ruby_method_ids = 133;
490pub const ruby_method_ids_idPow: ruby_method_ids = 134;
491pub const ruby_method_ids_idCmp: ruby_method_ids = 135;
492pub const ruby_method_ids_idPLUS: ruby_method_ids = 43;
493pub const ruby_method_ids_idMINUS: ruby_method_ids = 45;
494pub const ruby_method_ids_idMULT: ruby_method_ids = 42;
495pub const ruby_method_ids_idDIV: ruby_method_ids = 47;
496pub const ruby_method_ids_idMOD: ruby_method_ids = 37;
497pub const ruby_method_ids_idLTLT: ruby_method_ids = 136;
498pub const ruby_method_ids_idGTGT: ruby_method_ids = 137;
499pub const ruby_method_ids_idLT: ruby_method_ids = 60;
500pub const ruby_method_ids_idLE: ruby_method_ids = 138;
501pub const ruby_method_ids_idGT: ruby_method_ids = 62;
502pub const ruby_method_ids_idGE: ruby_method_ids = 139;
503pub const ruby_method_ids_idEq: ruby_method_ids = 140;
504pub const ruby_method_ids_idEqq: ruby_method_ids = 141;
505pub const ruby_method_ids_idNeq: ruby_method_ids = 142;
506pub const ruby_method_ids_idNot: ruby_method_ids = 33;
507pub const ruby_method_ids_idAnd: ruby_method_ids = 38;
508pub const ruby_method_ids_idOr: ruby_method_ids = 124;
509pub const ruby_method_ids_idBackquote: ruby_method_ids = 96;
510pub const ruby_method_ids_idEqTilde: ruby_method_ids = 143;
511pub const ruby_method_ids_idNeqTilde: ruby_method_ids = 144;
512pub const ruby_method_ids_idAREF: ruby_method_ids = 145;
513pub const ruby_method_ids_idASET: ruby_method_ids = 146;
514pub const ruby_method_ids_idCOLON2: ruby_method_ids = 147;
515pub const ruby_method_ids_idANDOP: ruby_method_ids = 148;
516pub const ruby_method_ids_idOROP: ruby_method_ids = 149;
517pub const ruby_method_ids_idANDDOT: ruby_method_ids = 150;
518pub const ruby_method_ids_tPRESERVED_ID_BEGIN: ruby_method_ids = 150;
519pub const ruby_method_ids_idNilP: ruby_method_ids = 151;
520pub const ruby_method_ids_idNULL: ruby_method_ids = 152;
521pub const ruby_method_ids_idEmptyP: ruby_method_ids = 153;
522pub const ruby_method_ids_idEqlP: ruby_method_ids = 154;
523pub const ruby_method_ids_idRespond_to: ruby_method_ids = 155;
524pub const ruby_method_ids_idRespond_to_missing: ruby_method_ids = 156;
525pub const ruby_method_ids_idIFUNC: ruby_method_ids = 157;
526pub const ruby_method_ids_idCFUNC: ruby_method_ids = 158;
527pub const ruby_method_ids_id_core_set_method_alias: ruby_method_ids = 159;
528pub const ruby_method_ids_id_core_set_variable_alias: ruby_method_ids = 160;
529pub const ruby_method_ids_id_core_undef_method: ruby_method_ids = 161;
530pub const ruby_method_ids_id_core_define_method: ruby_method_ids = 162;
531pub const ruby_method_ids_id_core_define_singleton_method: ruby_method_ids = 163;
532pub const ruby_method_ids_id_core_set_postexe: ruby_method_ids = 164;
533pub const ruby_method_ids_id_core_hash_merge_ptr: ruby_method_ids = 165;
534pub const ruby_method_ids_id_core_hash_merge_kwd: ruby_method_ids = 166;
535pub const ruby_method_ids_id_core_raise: ruby_method_ids = 167;
536pub const ruby_method_ids_id_debug_created_info: ruby_method_ids = 168;
537pub const ruby_method_ids_tPRESERVED_ID_END: ruby_method_ids = 169;
538pub const ruby_method_ids_tTOKEN_LOCAL_BEGIN: ruby_method_ids = 168;
539pub const ruby_method_ids_tMax: ruby_method_ids = 169;
540pub const ruby_method_ids_tMin: ruby_method_ids = 170;
541pub const ruby_method_ids_tFreeze: ruby_method_ids = 171;
542pub const ruby_method_ids_tInspect: ruby_method_ids = 172;
543pub const ruby_method_ids_tIntern: ruby_method_ids = 173;
544pub const ruby_method_ids_tObject_id: ruby_method_ids = 174;
545pub const ruby_method_ids_tConst_missing: ruby_method_ids = 175;
546pub const ruby_method_ids_tMethodMissing: ruby_method_ids = 176;
547pub const ruby_method_ids_tMethod_added: ruby_method_ids = 177;
548pub const ruby_method_ids_tSingleton_method_added: ruby_method_ids = 178;
549pub const ruby_method_ids_tMethod_removed: ruby_method_ids = 179;
550pub const ruby_method_ids_tSingleton_method_removed: ruby_method_ids = 180;
551pub const ruby_method_ids_tMethod_undefined: ruby_method_ids = 181;
552pub const ruby_method_ids_tSingleton_method_undefined: ruby_method_ids = 182;
553pub const ruby_method_ids_tLength: ruby_method_ids = 183;
554pub const ruby_method_ids_tSize: ruby_method_ids = 184;
555pub const ruby_method_ids_tGets: ruby_method_ids = 185;
556pub const ruby_method_ids_tSucc: ruby_method_ids = 186;
557pub const ruby_method_ids_tEach: ruby_method_ids = 187;
558pub const ruby_method_ids_tProc: ruby_method_ids = 188;
559pub const ruby_method_ids_tLambda: ruby_method_ids = 189;
560pub const ruby_method_ids_tSend: ruby_method_ids = 190;
561pub const ruby_method_ids_t__send__: ruby_method_ids = 191;
562pub const ruby_method_ids_t__attached__: ruby_method_ids = 192;
563pub const ruby_method_ids_tInitialize: ruby_method_ids = 193;
564pub const ruby_method_ids_tInitialize_copy: ruby_method_ids = 194;
565pub const ruby_method_ids_tInitialize_clone: ruby_method_ids = 195;
566pub const ruby_method_ids_tInitialize_dup: ruby_method_ids = 196;
567pub const ruby_method_ids_tTo_int: ruby_method_ids = 197;
568pub const ruby_method_ids_tTo_ary: ruby_method_ids = 198;
569pub const ruby_method_ids_tTo_str: ruby_method_ids = 199;
570pub const ruby_method_ids_tTo_sym: ruby_method_ids = 200;
571pub const ruby_method_ids_tTo_hash: ruby_method_ids = 201;
572pub const ruby_method_ids_tTo_proc: ruby_method_ids = 202;
573pub const ruby_method_ids_tTo_io: ruby_method_ids = 203;
574pub const ruby_method_ids_tTo_a: ruby_method_ids = 204;
575pub const ruby_method_ids_tTo_s: ruby_method_ids = 205;
576pub const ruby_method_ids_tTo_i: ruby_method_ids = 206;
577pub const ruby_method_ids_tTo_f: ruby_method_ids = 207;
578pub const ruby_method_ids_tTo_r: ruby_method_ids = 208;
579pub const ruby_method_ids_tBt: ruby_method_ids = 209;
580pub const ruby_method_ids_tBt_locations: ruby_method_ids = 210;
581pub const ruby_method_ids_tCall: ruby_method_ids = 211;
582pub const ruby_method_ids_tMesg: ruby_method_ids = 212;
583pub const ruby_method_ids_tException: ruby_method_ids = 213;
584pub const ruby_method_ids_tLocals: ruby_method_ids = 214;
585pub const ruby_method_ids_tNOT: ruby_method_ids = 215;
586pub const ruby_method_ids_tAND: ruby_method_ids = 216;
587pub const ruby_method_ids_tOR: ruby_method_ids = 217;
588pub const ruby_method_ids_tDiv: ruby_method_ids = 218;
589pub const ruby_method_ids_tDivmod: ruby_method_ids = 219;
590pub const ruby_method_ids_tFdiv: ruby_method_ids = 220;
591pub const ruby_method_ids_tQuo: ruby_method_ids = 221;
592pub const ruby_method_ids_tName: ruby_method_ids = 222;
593pub const ruby_method_ids_tNil: ruby_method_ids = 223;
594pub const ruby_method_ids_tUScore: ruby_method_ids = 224;
595pub const ruby_method_ids_tNUMPARAM_1: ruby_method_ids = 225;
596pub const ruby_method_ids_tNUMPARAM_2: ruby_method_ids = 226;
597pub const ruby_method_ids_tNUMPARAM_3: ruby_method_ids = 227;
598pub const ruby_method_ids_tNUMPARAM_4: ruby_method_ids = 228;
599pub const ruby_method_ids_tNUMPARAM_5: ruby_method_ids = 229;
600pub const ruby_method_ids_tNUMPARAM_6: ruby_method_ids = 230;
601pub const ruby_method_ids_tNUMPARAM_7: ruby_method_ids = 231;
602pub const ruby_method_ids_tNUMPARAM_8: ruby_method_ids = 232;
603pub const ruby_method_ids_tNUMPARAM_9: ruby_method_ids = 233;
604pub const ruby_method_ids_tTOKEN_LOCAL_END: ruby_method_ids = 234;
605pub const ruby_method_ids_tTOKEN_INSTANCE_BEGIN: ruby_method_ids = 233;
606pub const ruby_method_ids_tTOKEN_INSTANCE_END: ruby_method_ids = 234;
607pub const ruby_method_ids_tTOKEN_GLOBAL_BEGIN: ruby_method_ids = 233;
608pub const ruby_method_ids_tLASTLINE: ruby_method_ids = 234;
609pub const ruby_method_ids_tBACKREF: ruby_method_ids = 235;
610pub const ruby_method_ids_tERROR_INFO: ruby_method_ids = 236;
611pub const ruby_method_ids_tTOKEN_GLOBAL_END: ruby_method_ids = 237;
612pub const ruby_method_ids_tTOKEN_CONST_BEGIN: ruby_method_ids = 236;
613pub const ruby_method_ids_tTOKEN_CONST_END: ruby_method_ids = 237;
614pub const ruby_method_ids_tTOKEN_CLASS_BEGIN: ruby_method_ids = 236;
615pub const ruby_method_ids_tTOKEN_CLASS_END: ruby_method_ids = 237;
616pub const ruby_method_ids_tTOKEN_ATTRSET_BEGIN: ruby_method_ids = 236;
617pub const ruby_method_ids_tTOKEN_ATTRSET_END: ruby_method_ids = 237;
618pub const ruby_method_ids_tNEXT_ID: ruby_method_ids = 237;
619pub const ruby_method_ids_idMax: ruby_method_ids = 2705;
620pub const ruby_method_ids_idMin: ruby_method_ids = 2721;
621pub const ruby_method_ids_idFreeze: ruby_method_ids = 2737;
622pub const ruby_method_ids_idInspect: ruby_method_ids = 2753;
623pub const ruby_method_ids_idIntern: ruby_method_ids = 2769;
624pub const ruby_method_ids_idObject_id: ruby_method_ids = 2785;
625pub const ruby_method_ids_idConst_missing: ruby_method_ids = 2801;
626pub const ruby_method_ids_idMethodMissing: ruby_method_ids = 2817;
627pub const ruby_method_ids_idMethod_added: ruby_method_ids = 2833;
628pub const ruby_method_ids_idSingleton_method_added: ruby_method_ids = 2849;
629pub const ruby_method_ids_idMethod_removed: ruby_method_ids = 2865;
630pub const ruby_method_ids_idSingleton_method_removed: ruby_method_ids = 2881;
631pub const ruby_method_ids_idMethod_undefined: ruby_method_ids = 2897;
632pub const ruby_method_ids_idSingleton_method_undefined: ruby_method_ids = 2913;
633pub const ruby_method_ids_idLength: ruby_method_ids = 2929;
634pub const ruby_method_ids_idSize: ruby_method_ids = 2945;
635pub const ruby_method_ids_idGets: ruby_method_ids = 2961;
636pub const ruby_method_ids_idSucc: ruby_method_ids = 2977;
637pub const ruby_method_ids_idEach: ruby_method_ids = 2993;
638pub const ruby_method_ids_idProc: ruby_method_ids = 3009;
639pub const ruby_method_ids_idLambda: ruby_method_ids = 3025;
640pub const ruby_method_ids_idSend: ruby_method_ids = 3041;
641pub const ruby_method_ids_id__send__: ruby_method_ids = 3057;
642pub const ruby_method_ids_id__attached__: ruby_method_ids = 3073;
643pub const ruby_method_ids_idInitialize: ruby_method_ids = 3089;
644pub const ruby_method_ids_idInitialize_copy: ruby_method_ids = 3105;
645pub const ruby_method_ids_idInitialize_clone: ruby_method_ids = 3121;
646pub const ruby_method_ids_idInitialize_dup: ruby_method_ids = 3137;
647pub const ruby_method_ids_idTo_int: ruby_method_ids = 3153;
648pub const ruby_method_ids_idTo_ary: ruby_method_ids = 3169;
649pub const ruby_method_ids_idTo_str: ruby_method_ids = 3185;
650pub const ruby_method_ids_idTo_sym: ruby_method_ids = 3201;
651pub const ruby_method_ids_idTo_hash: ruby_method_ids = 3217;
652pub const ruby_method_ids_idTo_proc: ruby_method_ids = 3233;
653pub const ruby_method_ids_idTo_io: ruby_method_ids = 3249;
654pub const ruby_method_ids_idTo_a: ruby_method_ids = 3265;
655pub const ruby_method_ids_idTo_s: ruby_method_ids = 3281;
656pub const ruby_method_ids_idTo_i: ruby_method_ids = 3297;
657pub const ruby_method_ids_idTo_f: ruby_method_ids = 3313;
658pub const ruby_method_ids_idTo_r: ruby_method_ids = 3329;
659pub const ruby_method_ids_idBt: ruby_method_ids = 3345;
660pub const ruby_method_ids_idBt_locations: ruby_method_ids = 3361;
661pub const ruby_method_ids_idCall: ruby_method_ids = 3377;
662pub const ruby_method_ids_idMesg: ruby_method_ids = 3393;
663pub const ruby_method_ids_idException: ruby_method_ids = 3409;
664pub const ruby_method_ids_idLocals: ruby_method_ids = 3425;
665pub const ruby_method_ids_idNOT: ruby_method_ids = 3441;
666pub const ruby_method_ids_idAND: ruby_method_ids = 3457;
667pub const ruby_method_ids_idOR: ruby_method_ids = 3473;
668pub const ruby_method_ids_idDiv: ruby_method_ids = 3489;
669pub const ruby_method_ids_idDivmod: ruby_method_ids = 3505;
670pub const ruby_method_ids_idFdiv: ruby_method_ids = 3521;
671pub const ruby_method_ids_idQuo: ruby_method_ids = 3537;
672pub const ruby_method_ids_idName: ruby_method_ids = 3553;
673pub const ruby_method_ids_idNil: ruby_method_ids = 3569;
674pub const ruby_method_ids_idUScore: ruby_method_ids = 3585;
675pub const ruby_method_ids_idNUMPARAM_1: ruby_method_ids = 3601;
676pub const ruby_method_ids_idNUMPARAM_2: ruby_method_ids = 3617;
677pub const ruby_method_ids_idNUMPARAM_3: ruby_method_ids = 3633;
678pub const ruby_method_ids_idNUMPARAM_4: ruby_method_ids = 3649;
679pub const ruby_method_ids_idNUMPARAM_5: ruby_method_ids = 3665;
680pub const ruby_method_ids_idNUMPARAM_6: ruby_method_ids = 3681;
681pub const ruby_method_ids_idNUMPARAM_7: ruby_method_ids = 3697;
682pub const ruby_method_ids_idNUMPARAM_8: ruby_method_ids = 3713;
683pub const ruby_method_ids_idNUMPARAM_9: ruby_method_ids = 3729;
684pub const ruby_method_ids_idLASTLINE: ruby_method_ids = 3751;
685pub const ruby_method_ids_idBACKREF: ruby_method_ids = 3767;
686pub const ruby_method_ids_idERROR_INFO: ruby_method_ids = 3783;
687pub const ruby_method_ids_tLAST_OP_ID: ruby_method_ids = 168;
688pub const ruby_method_ids_idLAST_OP_ID: ruby_method_ids = 10;
689pub type ruby_method_ids = ::std::os::raw::c_uint;
690pub type rb_subclass_entry_t = rb_subclass_entry;
691#[repr(C)]
692#[derive(Debug, Copy, Clone)]
693pub struct rb_subclass_entry {
694    pub klass: VALUE,
695    pub next: *mut rb_subclass_entry_t,
696}
697pub type rb_serial_t = ::std::os::raw::c_ulonglong;
698#[repr(C)]
699#[derive(Debug, Copy, Clone)]
700pub struct rb_classext_struct {
701    pub iv_index_tbl: *mut st_table,
702    pub iv_tbl: *mut st_table,
703    pub m_tbl: *mut rb_id_table,
704    pub const_tbl: *mut rb_id_table,
705    pub callable_m_tbl: *mut rb_id_table,
706    pub subclasses: *mut rb_subclass_entry_t,
707    pub parent_subclasses: *mut *mut rb_subclass_entry_t,
708    pub module_subclasses: *mut *mut rb_subclass_entry_t,
709    pub origin_: VALUE,
710    pub refined_class: VALUE,
711    pub allocator: rb_alloc_func_t,
712    pub includer: VALUE,
713}
714pub type rb_classext_t = rb_classext_struct;
715pub const imemo_type_imemo_env: imemo_type = 0;
716pub const imemo_type_imemo_cref: imemo_type = 1;
717pub const imemo_type_imemo_svar: imemo_type = 2;
718pub const imemo_type_imemo_throw_data: imemo_type = 3;
719pub const imemo_type_imemo_ifunc: imemo_type = 4;
720pub const imemo_type_imemo_memo: imemo_type = 5;
721pub const imemo_type_imemo_ment: imemo_type = 6;
722pub const imemo_type_imemo_iseq: imemo_type = 7;
723pub const imemo_type_imemo_tmpbuf: imemo_type = 8;
724pub const imemo_type_imemo_ast: imemo_type = 9;
725pub const imemo_type_imemo_parser_strterm: imemo_type = 10;
726pub type imemo_type = ::std::os::raw::c_uint;
727#[repr(C)]
728#[derive(Debug, Copy, Clone)]
729pub struct vm_svar {
730    pub flags: VALUE,
731    pub cref_or_me: VALUE,
732    pub lastline: VALUE,
733    pub backref: VALUE,
734    pub others: VALUE,
735}
736#[repr(C)]
737#[derive(Debug, Copy, Clone)]
738pub struct rb_fiber_struct {
739    _unused: [u8; 0],
740}
741#[repr(C)]
742#[derive(Debug, Copy, Clone)]
743pub struct rb_objspace {
744    _unused: [u8; 0],
745}
746pub const method_missing_reason_MISSING_NOENTRY: method_missing_reason = 0;
747pub const method_missing_reason_MISSING_PRIVATE: method_missing_reason = 1;
748pub const method_missing_reason_MISSING_PROTECTED: method_missing_reason = 2;
749pub const method_missing_reason_MISSING_FCALL: method_missing_reason = 4;
750pub const method_missing_reason_MISSING_VCALL: method_missing_reason = 8;
751pub const method_missing_reason_MISSING_SUPER: method_missing_reason = 16;
752pub const method_missing_reason_MISSING_MISSING: method_missing_reason = 32;
753pub const method_missing_reason_MISSING_NONE: method_missing_reason = 64;
754pub type method_missing_reason = ::std::os::raw::c_uint;
755#[repr(C)]
756#[derive(Copy, Clone)]
757pub struct rb_call_cache {
758    pub method_state: rb_serial_t,
759    pub class_serial: [rb_serial_t; 3usize],
760    pub me: *const rb_callable_method_entry_struct,
761    pub method_serial: usize,
762    pub call: ::std::option::Option<
763        unsafe extern "C" fn(
764            ec: *mut rb_execution_context_struct,
765            cfp: *mut rb_control_frame_struct,
766            calling: *mut rb_calling_info,
767            cd: *mut rb_call_data,
768        ) -> VALUE,
769    >,
770    pub aux: rb_call_cache__bindgen_ty_1,
771}
772#[repr(C)]
773#[derive(Copy, Clone)]
774pub union rb_call_cache__bindgen_ty_1 {
775    pub index: ::std::os::raw::c_uint,
776    pub method_missing_reason: method_missing_reason,
777}
778impl ::std::fmt::Debug for rb_call_cache__bindgen_ty_1 {
779    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
780        write!(f, "rb_call_cache__bindgen_ty_1 {{ union }}")
781    }
782}
783impl ::std::fmt::Debug for rb_call_cache {
784    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
785        write ! (f , "rb_call_cache {{ method_state: {:?}, class_serial: {:?}, me: {:?}, call: {:?}, aux: {:?} }}" , self . method_state , self . class_serial , self . me , self . call , self . aux)
786    }
787}
788#[repr(C)]
789#[derive(Debug, Copy, Clone)]
790pub struct rb_call_info {
791    pub mid: ID,
792    pub flag: ::std::os::raw::c_uint,
793    pub orig_argc: ::std::os::raw::c_int,
794}
795#[repr(C)]
796#[derive(Copy, Clone)]
797pub struct rb_call_data {
798    pub cc: rb_call_cache,
799    pub ci: rb_call_info,
800}
801impl ::std::fmt::Debug for rb_call_data {
802    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
803        write!(f, "rb_call_data {{ cc: {:?}, ci: {:?} }}", self.cc, self.ci)
804    }
805}
806pub const rb_method_visibility_t_METHOD_VISI_UNDEF: rb_method_visibility_t = 0;
807pub const rb_method_visibility_t_METHOD_VISI_PUBLIC: rb_method_visibility_t = 1;
808pub const rb_method_visibility_t_METHOD_VISI_PRIVATE: rb_method_visibility_t = 2;
809pub const rb_method_visibility_t_METHOD_VISI_PROTECTED: rb_method_visibility_t = 3;
810pub const rb_method_visibility_t_METHOD_VISI_MASK: rb_method_visibility_t = 3;
811pub type rb_method_visibility_t = ::std::os::raw::c_uint;
812#[repr(C)]
813#[repr(align(4))]
814#[derive(Debug, Copy, Clone)]
815pub struct rb_scope_visi_struct {
816    pub _bitfield_align_1: [u8; 0],
817    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
818    pub __bindgen_padding_0: [u8; 3usize],
819}
820impl rb_scope_visi_struct {
821    #[inline]
822    pub fn method_visi(&self) -> rb_method_visibility_t {
823        unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 3u8) as u32) }
824    }
825    #[inline]
826    pub fn set_method_visi(&mut self, val: rb_method_visibility_t) {
827        unsafe {
828            let val: u32 = ::std::mem::transmute(val);
829            self._bitfield_1.set(0usize, 3u8, val as u64)
830        }
831    }
832    #[inline]
833    pub unsafe fn method_visi_raw(this: *const Self) -> rb_method_visibility_t {
834        unsafe {
835            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(
836                ::std::ptr::addr_of!((*this)._bitfield_1),
837                0usize,
838                3u8,
839            ) as u32)
840        }
841    }
842    #[inline]
843    pub unsafe fn set_method_visi_raw(this: *mut Self, val: rb_method_visibility_t) {
844        unsafe {
845            let val: u32 = ::std::mem::transmute(val);
846            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(
847                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
848                0usize,
849                3u8,
850                val as u64,
851            )
852        }
853    }
854    #[inline]
855    pub fn module_func(&self) -> ::std::os::raw::c_uint {
856        unsafe { ::std::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u32) }
857    }
858    #[inline]
859    pub fn set_module_func(&mut self, val: ::std::os::raw::c_uint) {
860        unsafe {
861            let val: u32 = ::std::mem::transmute(val);
862            self._bitfield_1.set(3usize, 1u8, val as u64)
863        }
864    }
865    #[inline]
866    pub unsafe fn module_func_raw(this: *const Self) -> ::std::os::raw::c_uint {
867        unsafe {
868            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(
869                ::std::ptr::addr_of!((*this)._bitfield_1),
870                3usize,
871                1u8,
872            ) as u32)
873        }
874    }
875    #[inline]
876    pub unsafe fn set_module_func_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
877        unsafe {
878            let val: u32 = ::std::mem::transmute(val);
879            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(
880                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
881                3usize,
882                1u8,
883                val as u64,
884            )
885        }
886    }
887    #[inline]
888    pub fn new_bitfield_1(
889        method_visi: rb_method_visibility_t,
890        module_func: ::std::os::raw::c_uint,
891    ) -> __BindgenBitfieldUnit<[u8; 1usize]> {
892        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
893        __bindgen_bitfield_unit.set(0usize, 3u8, {
894            let method_visi: u32 = unsafe { ::std::mem::transmute(method_visi) };
895            method_visi as u64
896        });
897        __bindgen_bitfield_unit.set(3usize, 1u8, {
898            let module_func: u32 = unsafe { ::std::mem::transmute(module_func) };
899            module_func as u64
900        });
901        __bindgen_bitfield_unit
902    }
903}
904pub type rb_scope_visibility_t = rb_scope_visi_struct;
905#[repr(C)]
906#[derive(Debug, Copy, Clone)]
907pub struct rb_cref_struct {
908    pub flags: VALUE,
909    pub refinements: VALUE,
910    pub klass: VALUE,
911    pub next: *mut rb_cref_struct,
912    pub scope_visi: rb_scope_visibility_t,
913}
914pub type rb_cref_t = rb_cref_struct;
915#[repr(C)]
916#[derive(Debug, Copy, Clone)]
917pub struct rb_method_entry_struct {
918    pub flags: VALUE,
919    pub defined_class: VALUE,
920    pub def: *mut rb_method_definition_struct,
921    pub called_id: ID,
922    pub owner: VALUE,
923}
924#[repr(C)]
925#[derive(Debug, Copy, Clone)]
926pub struct rb_callable_method_entry_struct {
927    pub flags: VALUE,
928    pub defined_class: VALUE,
929    pub def: *mut rb_method_definition_struct,
930    pub called_id: ID,
931    pub owner: VALUE,
932}
933pub const rb_method_type_t_VM_METHOD_TYPE_ISEQ: rb_method_type_t = 0;
934pub const rb_method_type_t_VM_METHOD_TYPE_CFUNC: rb_method_type_t = 1;
935pub const rb_method_type_t_VM_METHOD_TYPE_ATTRSET: rb_method_type_t = 2;
936pub const rb_method_type_t_VM_METHOD_TYPE_IVAR: rb_method_type_t = 3;
937pub const rb_method_type_t_VM_METHOD_TYPE_BMETHOD: rb_method_type_t = 4;
938pub const rb_method_type_t_VM_METHOD_TYPE_ZSUPER: rb_method_type_t = 5;
939pub const rb_method_type_t_VM_METHOD_TYPE_ALIAS: rb_method_type_t = 6;
940pub const rb_method_type_t_VM_METHOD_TYPE_UNDEF: rb_method_type_t = 7;
941pub const rb_method_type_t_VM_METHOD_TYPE_NOTIMPLEMENTED: rb_method_type_t = 8;
942pub const rb_method_type_t_VM_METHOD_TYPE_OPTIMIZED: rb_method_type_t = 9;
943pub const rb_method_type_t_VM_METHOD_TYPE_MISSING: rb_method_type_t = 10;
944pub const rb_method_type_t_VM_METHOD_TYPE_REFINED: rb_method_type_t = 11;
945pub type rb_method_type_t = ::std::os::raw::c_uint;
946pub type rb_iseq_t = rb_iseq_struct;
947#[repr(C)]
948#[derive(Debug, Copy, Clone)]
949pub struct rb_method_iseq_struct {
950    pub iseqptr: *mut rb_iseq_t,
951    pub cref: *mut rb_cref_t,
952}
953pub type rb_method_iseq_t = rb_method_iseq_struct;
954#[repr(C)]
955#[derive(Debug, Copy, Clone)]
956pub struct rb_method_cfunc_struct {
957    pub func: ::std::option::Option<unsafe extern "C" fn() -> VALUE>,
958    pub invoker: ::std::option::Option<
959        unsafe extern "C" fn(
960            recv: VALUE,
961            argc: ::std::os::raw::c_int,
962            argv: *const VALUE,
963            func: ::std::option::Option<unsafe extern "C" fn() -> VALUE>,
964        ) -> VALUE,
965    >,
966    pub argc: ::std::os::raw::c_int,
967}
968pub type rb_method_cfunc_t = rb_method_cfunc_struct;
969#[repr(C)]
970#[derive(Debug, Copy, Clone)]
971pub struct rb_method_attr_struct {
972    pub id: ID,
973    pub location: VALUE,
974}
975pub type rb_method_attr_t = rb_method_attr_struct;
976#[repr(C)]
977#[derive(Debug, Copy, Clone)]
978pub struct rb_method_alias_struct {
979    pub original_me: *mut rb_method_entry_struct,
980}
981pub type rb_method_alias_t = rb_method_alias_struct;
982#[repr(C)]
983#[derive(Debug, Copy, Clone)]
984pub struct rb_method_refined_struct {
985    pub orig_me: *mut rb_method_entry_struct,
986    pub owner: VALUE,
987}
988pub type rb_method_refined_t = rb_method_refined_struct;
989#[repr(C)]
990#[derive(Debug, Copy, Clone)]
991pub struct rb_method_bmethod_struct {
992    pub proc_: VALUE,
993    pub hooks: *mut rb_hook_list_struct,
994}
995pub type rb_method_bmethod_t = rb_method_bmethod_struct;
996pub const method_optimized_type_OPTIMIZED_METHOD_TYPE_SEND: method_optimized_type = 0;
997pub const method_optimized_type_OPTIMIZED_METHOD_TYPE_CALL: method_optimized_type = 1;
998pub const method_optimized_type_OPTIMIZED_METHOD_TYPE_BLOCK_CALL: method_optimized_type = 2;
999pub const method_optimized_type_OPTIMIZED_METHOD_TYPE__MAX: method_optimized_type = 3;
1000pub type method_optimized_type = ::std::os::raw::c_uint;
1001#[repr(C)]
1002#[derive(Copy, Clone)]
1003pub struct rb_method_definition_struct {
1004    pub _bitfield_align_1: [u32; 0],
1005    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
1006    pub body: rb_method_definition_struct__bindgen_ty_1,
1007    pub original_id: ID,
1008    pub method_serial: usize,
1009}
1010#[repr(C)]
1011#[derive(Copy, Clone)]
1012pub union rb_method_definition_struct__bindgen_ty_1 {
1013    pub iseq: rb_method_iseq_t,
1014    pub cfunc: rb_method_cfunc_t,
1015    pub attr: rb_method_attr_t,
1016    pub alias: rb_method_alias_t,
1017    pub refined: rb_method_refined_t,
1018    pub bmethod: rb_method_bmethod_t,
1019    pub optimize_type: method_optimized_type,
1020}
1021impl ::std::fmt::Debug for rb_method_definition_struct__bindgen_ty_1 {
1022    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1023        write!(f, "rb_method_definition_struct__bindgen_ty_1 {{ union }}")
1024    }
1025}
1026impl rb_method_definition_struct {
1027    #[inline]
1028    pub fn type_(&self) -> rb_method_type_t {
1029        unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 4u8) as u32) }
1030    }
1031    #[inline]
1032    pub fn set_type(&mut self, val: rb_method_type_t) {
1033        unsafe {
1034            let val: u32 = ::std::mem::transmute(val);
1035            self._bitfield_1.set(0usize, 4u8, val as u64)
1036        }
1037    }
1038    #[inline]
1039    pub unsafe fn type__raw(this: *const Self) -> rb_method_type_t {
1040        unsafe {
1041            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 8usize]>>::raw_get(
1042                ::std::ptr::addr_of!((*this)._bitfield_1),
1043                0usize,
1044                4u8,
1045            ) as u32)
1046        }
1047    }
1048    #[inline]
1049    pub unsafe fn set_type_raw(this: *mut Self, val: rb_method_type_t) {
1050        unsafe {
1051            let val: u32 = ::std::mem::transmute(val);
1052            <__BindgenBitfieldUnit<[u8; 8usize]>>::raw_set(
1053                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1054                0usize,
1055                4u8,
1056                val as u64,
1057            )
1058        }
1059    }
1060    #[inline]
1061    pub fn alias_count(&self) -> ::std::os::raw::c_int {
1062        unsafe { ::std::mem::transmute(self._bitfield_1.get(4usize, 28u8) as u32) }
1063    }
1064    #[inline]
1065    pub fn set_alias_count(&mut self, val: ::std::os::raw::c_int) {
1066        unsafe {
1067            let val: u32 = ::std::mem::transmute(val);
1068            self._bitfield_1.set(4usize, 28u8, val as u64)
1069        }
1070    }
1071    #[inline]
1072    pub unsafe fn alias_count_raw(this: *const Self) -> ::std::os::raw::c_int {
1073        unsafe {
1074            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 8usize]>>::raw_get(
1075                ::std::ptr::addr_of!((*this)._bitfield_1),
1076                4usize,
1077                28u8,
1078            ) as u32)
1079        }
1080    }
1081    #[inline]
1082    pub unsafe fn set_alias_count_raw(this: *mut Self, val: ::std::os::raw::c_int) {
1083        unsafe {
1084            let val: u32 = ::std::mem::transmute(val);
1085            <__BindgenBitfieldUnit<[u8; 8usize]>>::raw_set(
1086                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1087                4usize,
1088                28u8,
1089                val as u64,
1090            )
1091        }
1092    }
1093    #[inline]
1094    pub fn complemented_count(&self) -> ::std::os::raw::c_int {
1095        unsafe { ::std::mem::transmute(self._bitfield_1.get(32usize, 28u8) as u32) }
1096    }
1097    #[inline]
1098    pub fn set_complemented_count(&mut self, val: ::std::os::raw::c_int) {
1099        unsafe {
1100            let val: u32 = ::std::mem::transmute(val);
1101            self._bitfield_1.set(32usize, 28u8, val as u64)
1102        }
1103    }
1104    #[inline]
1105    pub unsafe fn complemented_count_raw(this: *const Self) -> ::std::os::raw::c_int {
1106        unsafe {
1107            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 8usize]>>::raw_get(
1108                ::std::ptr::addr_of!((*this)._bitfield_1),
1109                32usize,
1110                28u8,
1111            ) as u32)
1112        }
1113    }
1114    #[inline]
1115    pub unsafe fn set_complemented_count_raw(this: *mut Self, val: ::std::os::raw::c_int) {
1116        unsafe {
1117            let val: u32 = ::std::mem::transmute(val);
1118            <__BindgenBitfieldUnit<[u8; 8usize]>>::raw_set(
1119                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1120                32usize,
1121                28u8,
1122                val as u64,
1123            )
1124        }
1125    }
1126    #[inline]
1127    pub fn no_redef_warning(&self) -> ::std::os::raw::c_uint {
1128        unsafe { ::std::mem::transmute(self._bitfield_1.get(60usize, 1u8) as u32) }
1129    }
1130    #[inline]
1131    pub fn set_no_redef_warning(&mut self, val: ::std::os::raw::c_uint) {
1132        unsafe {
1133            let val: u32 = ::std::mem::transmute(val);
1134            self._bitfield_1.set(60usize, 1u8, val as u64)
1135        }
1136    }
1137    #[inline]
1138    pub unsafe fn no_redef_warning_raw(this: *const Self) -> ::std::os::raw::c_uint {
1139        unsafe {
1140            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 8usize]>>::raw_get(
1141                ::std::ptr::addr_of!((*this)._bitfield_1),
1142                60usize,
1143                1u8,
1144            ) as u32)
1145        }
1146    }
1147    #[inline]
1148    pub unsafe fn set_no_redef_warning_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1149        unsafe {
1150            let val: u32 = ::std::mem::transmute(val);
1151            <__BindgenBitfieldUnit<[u8; 8usize]>>::raw_set(
1152                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1153                60usize,
1154                1u8,
1155                val as u64,
1156            )
1157        }
1158    }
1159    #[inline]
1160    pub fn new_bitfield_1(
1161        type_: rb_method_type_t,
1162        alias_count: ::std::os::raw::c_int,
1163        complemented_count: ::std::os::raw::c_int,
1164        no_redef_warning: ::std::os::raw::c_uint,
1165    ) -> __BindgenBitfieldUnit<[u8; 8usize]> {
1166        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 8usize]> = Default::default();
1167        __bindgen_bitfield_unit.set(0usize, 4u8, {
1168            let type_: u32 = unsafe { ::std::mem::transmute(type_) };
1169            type_ as u64
1170        });
1171        __bindgen_bitfield_unit.set(4usize, 28u8, {
1172            let alias_count: u32 = unsafe { ::std::mem::transmute(alias_count) };
1173            alias_count as u64
1174        });
1175        __bindgen_bitfield_unit.set(32usize, 28u8, {
1176            let complemented_count: u32 = unsafe { ::std::mem::transmute(complemented_count) };
1177            complemented_count as u64
1178        });
1179        __bindgen_bitfield_unit.set(60usize, 1u8, {
1180            let no_redef_warning: u32 = unsafe { ::std::mem::transmute(no_redef_warning) };
1181            no_redef_warning as u64
1182        });
1183        __bindgen_bitfield_unit
1184    }
1185}
1186pub type rb_atomic_t = ::std::os::raw::c_uint;
1187#[repr(C)]
1188#[derive(Debug, Copy, Clone)]
1189pub struct list_node {
1190    pub next: *mut list_node,
1191    pub prev: *mut list_node,
1192}
1193#[repr(C)]
1194#[derive(Debug, Copy, Clone)]
1195pub struct list_head {
1196    pub n: list_node,
1197}
1198pub type __jmp_buf = [::std::os::raw::c_long; 8usize];
1199pub type rb_nativethread_id_t = pthread_t;
1200pub type rb_nativethread_lock_t = pthread_mutex_t;
1201pub type rb_nativethread_cond_t = pthread_cond_t;
1202#[repr(C)]
1203#[derive(Copy, Clone)]
1204pub struct native_thread_data_struct {
1205    pub node: native_thread_data_struct__bindgen_ty_1,
1206    pub cond: native_thread_data_struct__bindgen_ty_2,
1207}
1208#[repr(C)]
1209#[derive(Copy, Clone)]
1210pub union native_thread_data_struct__bindgen_ty_1 {
1211    pub ubf: list_node,
1212    pub gvl: list_node,
1213}
1214impl ::std::fmt::Debug for native_thread_data_struct__bindgen_ty_1 {
1215    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1216        write!(f, "native_thread_data_struct__bindgen_ty_1 {{ union }}")
1217    }
1218}
1219#[repr(C)]
1220#[derive(Copy, Clone)]
1221pub union native_thread_data_struct__bindgen_ty_2 {
1222    pub intr: rb_nativethread_cond_t,
1223    pub gvlq: rb_nativethread_cond_t,
1224}
1225impl ::std::fmt::Debug for native_thread_data_struct__bindgen_ty_2 {
1226    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1227        write!(f, "native_thread_data_struct__bindgen_ty_2 {{ union }}")
1228    }
1229}
1230impl ::std::fmt::Debug for native_thread_data_struct {
1231    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1232        write!(
1233            f,
1234            "native_thread_data_struct {{ node: {:?}, cond: {:?} }}",
1235            self.node, self.cond
1236        )
1237    }
1238}
1239pub type native_thread_data_t = native_thread_data_struct;
1240#[repr(C)]
1241#[derive(Copy, Clone)]
1242pub struct rb_global_vm_lock_struct {
1243    pub owner: *const rb_thread_struct,
1244    pub lock: rb_nativethread_lock_t,
1245    pub waitq: list_head,
1246    pub timer: *const rb_thread_struct,
1247    pub timer_err: ::std::os::raw::c_int,
1248    pub switch_cond: rb_nativethread_cond_t,
1249    pub switch_wait_cond: rb_nativethread_cond_t,
1250    pub need_yield: ::std::os::raw::c_int,
1251    pub wait_yield: ::std::os::raw::c_int,
1252}
1253impl ::std::fmt::Debug for rb_global_vm_lock_struct {
1254    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1255        write ! (f , "rb_global_vm_lock_struct {{ owner: {:?}, lock: {:?}, waitq: {:?}, timer: {:?}, timer_err: {:?}, switch_cond: {:?}, switch_wait_cond: {:?}, need_yield: {:?}, wait_yield: {:?} }}" , self . owner , self . lock , self . waitq , self . timer , self . timer_err , self . switch_cond , self . switch_wait_cond , self . need_yield , self . wait_yield)
1256    }
1257}
1258pub type rb_global_vm_lock_t = rb_global_vm_lock_struct;
1259#[repr(C)]
1260#[derive(Debug, Copy, Clone)]
1261pub struct __jmp_buf_tag {
1262    pub __jmpbuf: __jmp_buf,
1263    pub __mask_was_saved: ::std::os::raw::c_int,
1264    pub __saved_mask: __sigset_t,
1265}
1266pub type jmp_buf = [__jmp_buf_tag; 1usize];
1267pub type sigjmp_buf = [__jmp_buf_tag; 1usize];
1268pub type rb_snum_t = ::std::os::raw::c_long;
1269pub const ruby_tag_type_RUBY_TAG_NONE: ruby_tag_type = 0;
1270pub const ruby_tag_type_RUBY_TAG_RETURN: ruby_tag_type = 1;
1271pub const ruby_tag_type_RUBY_TAG_BREAK: ruby_tag_type = 2;
1272pub const ruby_tag_type_RUBY_TAG_NEXT: ruby_tag_type = 3;
1273pub const ruby_tag_type_RUBY_TAG_RETRY: ruby_tag_type = 4;
1274pub const ruby_tag_type_RUBY_TAG_REDO: ruby_tag_type = 5;
1275pub const ruby_tag_type_RUBY_TAG_RAISE: ruby_tag_type = 6;
1276pub const ruby_tag_type_RUBY_TAG_THROW: ruby_tag_type = 7;
1277pub const ruby_tag_type_RUBY_TAG_FATAL: ruby_tag_type = 8;
1278pub const ruby_tag_type_RUBY_TAG_MASK: ruby_tag_type = 15;
1279pub type ruby_tag_type = ::std::os::raw::c_uint;
1280pub type rb_compile_option_t = rb_compile_option_struct;
1281#[repr(C)]
1282#[derive(Debug, Copy, Clone)]
1283pub struct iseq_inline_cache_entry {
1284    pub ic_serial: rb_serial_t,
1285    pub ic_cref: *const rb_cref_t,
1286    pub value: VALUE,
1287}
1288#[repr(C)]
1289#[derive(Debug, Copy, Clone)]
1290pub struct iseq_inline_iv_cache_entry {
1291    pub ic_serial: rb_serial_t,
1292    pub index: usize,
1293}
1294#[repr(C)]
1295#[derive(Copy, Clone)]
1296pub union iseq_inline_storage_entry {
1297    pub once: iseq_inline_storage_entry__bindgen_ty_1,
1298    pub cache: iseq_inline_cache_entry,
1299    pub iv_cache: iseq_inline_iv_cache_entry,
1300}
1301#[repr(C)]
1302#[derive(Debug, Copy, Clone)]
1303pub struct iseq_inline_storage_entry__bindgen_ty_1 {
1304    pub running_thread: *mut rb_thread_struct,
1305    pub value: VALUE,
1306}
1307impl ::std::fmt::Debug for iseq_inline_storage_entry {
1308    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1309        write!(f, "iseq_inline_storage_entry {{ union }}")
1310    }
1311}
1312#[repr(C)]
1313#[derive(Debug, Copy, Clone)]
1314pub struct rb_calling_info {
1315    pub block_handler: VALUE,
1316    pub recv: VALUE,
1317    pub argc: ::std::os::raw::c_int,
1318    pub kw_splat: ::std::os::raw::c_int,
1319}
1320#[repr(C)]
1321#[derive(Debug, Copy, Clone)]
1322pub struct rb_iseq_location_struct {
1323    pub pathobj: VALUE,
1324    pub base_label: VALUE,
1325    pub label: VALUE,
1326    pub first_lineno: VALUE,
1327    pub node_id: ::std::os::raw::c_int,
1328    pub code_location: rb_code_location_t,
1329}
1330pub type rb_iseq_location_t = rb_iseq_location_struct;
1331#[repr(C)]
1332#[derive(Debug, Copy, Clone)]
1333pub struct rb_mjit_unit {
1334    _unused: [u8; 0],
1335}
1336#[repr(C)]
1337#[derive(Debug, Copy, Clone)]
1338pub struct rb_iseq_constant_body {
1339    pub type_: rb_iseq_constant_body_iseq_type,
1340    pub iseq_size: ::std::os::raw::c_uint,
1341    pub iseq_encoded: *mut VALUE,
1342    pub param: rb_iseq_constant_body__bindgen_ty_1,
1343    pub location: rb_iseq_location_t,
1344    pub insns_info: rb_iseq_constant_body_iseq_insn_info,
1345    pub local_table: *const ID,
1346    pub catch_table: *mut iseq_catch_table,
1347    pub parent_iseq: *const rb_iseq_struct,
1348    pub local_iseq: *mut rb_iseq_struct,
1349    pub is_entries: *mut iseq_inline_storage_entry,
1350    pub call_data: *mut rb_call_data,
1351    pub variable: rb_iseq_constant_body__bindgen_ty_2,
1352    pub local_table_size: ::std::os::raw::c_uint,
1353    pub is_size: ::std::os::raw::c_uint,
1354    pub ci_size: ::std::os::raw::c_uint,
1355    pub ci_kw_size: ::std::os::raw::c_uint,
1356    pub stack_max: ::std::os::raw::c_uint,
1357    pub catch_except_p: ::std::os::raw::c_char,
1358    pub jit_func: ::std::option::Option<
1359        unsafe extern "C" fn(
1360            arg1: *mut rb_execution_context_struct,
1361            arg2: *mut rb_control_frame_struct,
1362        ) -> VALUE,
1363    >,
1364    pub total_calls: ::std::os::raw::c_ulong,
1365    pub jit_unit: *mut rb_mjit_unit,
1366    pub iseq_unique_id: usize,
1367}
1368pub const rb_iseq_constant_body_iseq_type_ISEQ_TYPE_TOP: rb_iseq_constant_body_iseq_type = 0;
1369pub const rb_iseq_constant_body_iseq_type_ISEQ_TYPE_METHOD: rb_iseq_constant_body_iseq_type = 1;
1370pub const rb_iseq_constant_body_iseq_type_ISEQ_TYPE_BLOCK: rb_iseq_constant_body_iseq_type = 2;
1371pub const rb_iseq_constant_body_iseq_type_ISEQ_TYPE_CLASS: rb_iseq_constant_body_iseq_type = 3;
1372pub const rb_iseq_constant_body_iseq_type_ISEQ_TYPE_RESCUE: rb_iseq_constant_body_iseq_type = 4;
1373pub const rb_iseq_constant_body_iseq_type_ISEQ_TYPE_ENSURE: rb_iseq_constant_body_iseq_type = 5;
1374pub const rb_iseq_constant_body_iseq_type_ISEQ_TYPE_EVAL: rb_iseq_constant_body_iseq_type = 6;
1375pub const rb_iseq_constant_body_iseq_type_ISEQ_TYPE_MAIN: rb_iseq_constant_body_iseq_type = 7;
1376pub const rb_iseq_constant_body_iseq_type_ISEQ_TYPE_PLAIN: rb_iseq_constant_body_iseq_type = 8;
1377pub type rb_iseq_constant_body_iseq_type = ::std::os::raw::c_uint;
1378#[repr(C)]
1379#[derive(Debug, Copy, Clone)]
1380pub struct rb_iseq_constant_body__bindgen_ty_1 {
1381    pub flags: rb_iseq_constant_body__bindgen_ty_1__bindgen_ty_1,
1382    pub size: ::std::os::raw::c_uint,
1383    pub lead_num: ::std::os::raw::c_int,
1384    pub opt_num: ::std::os::raw::c_int,
1385    pub rest_start: ::std::os::raw::c_int,
1386    pub post_start: ::std::os::raw::c_int,
1387    pub post_num: ::std::os::raw::c_int,
1388    pub block_start: ::std::os::raw::c_int,
1389    pub opt_table: *const VALUE,
1390    pub keyword: *const rb_iseq_constant_body__bindgen_ty_1_rb_iseq_param_keyword,
1391}
1392#[repr(C)]
1393#[repr(align(4))]
1394#[derive(Debug, Copy, Clone)]
1395pub struct rb_iseq_constant_body__bindgen_ty_1__bindgen_ty_1 {
1396    pub _bitfield_align_1: [u8; 0],
1397    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2usize]>,
1398    pub __bindgen_padding_0: u16,
1399}
1400impl rb_iseq_constant_body__bindgen_ty_1__bindgen_ty_1 {
1401    #[inline]
1402    pub fn has_lead(&self) -> ::std::os::raw::c_uint {
1403        unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) }
1404    }
1405    #[inline]
1406    pub fn set_has_lead(&mut self, val: ::std::os::raw::c_uint) {
1407        unsafe {
1408            let val: u32 = ::std::mem::transmute(val);
1409            self._bitfield_1.set(0usize, 1u8, val as u64)
1410        }
1411    }
1412    #[inline]
1413    pub unsafe fn has_lead_raw(this: *const Self) -> ::std::os::raw::c_uint {
1414        unsafe {
1415            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(
1416                ::std::ptr::addr_of!((*this)._bitfield_1),
1417                0usize,
1418                1u8,
1419            ) as u32)
1420        }
1421    }
1422    #[inline]
1423    pub unsafe fn set_has_lead_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1424        unsafe {
1425            let val: u32 = ::std::mem::transmute(val);
1426            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(
1427                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1428                0usize,
1429                1u8,
1430                val as u64,
1431            )
1432        }
1433    }
1434    #[inline]
1435    pub fn has_opt(&self) -> ::std::os::raw::c_uint {
1436        unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u32) }
1437    }
1438    #[inline]
1439    pub fn set_has_opt(&mut self, val: ::std::os::raw::c_uint) {
1440        unsafe {
1441            let val: u32 = ::std::mem::transmute(val);
1442            self._bitfield_1.set(1usize, 1u8, val as u64)
1443        }
1444    }
1445    #[inline]
1446    pub unsafe fn has_opt_raw(this: *const Self) -> ::std::os::raw::c_uint {
1447        unsafe {
1448            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(
1449                ::std::ptr::addr_of!((*this)._bitfield_1),
1450                1usize,
1451                1u8,
1452            ) as u32)
1453        }
1454    }
1455    #[inline]
1456    pub unsafe fn set_has_opt_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1457        unsafe {
1458            let val: u32 = ::std::mem::transmute(val);
1459            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(
1460                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1461                1usize,
1462                1u8,
1463                val as u64,
1464            )
1465        }
1466    }
1467    #[inline]
1468    pub fn has_rest(&self) -> ::std::os::raw::c_uint {
1469        unsafe { ::std::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u32) }
1470    }
1471    #[inline]
1472    pub fn set_has_rest(&mut self, val: ::std::os::raw::c_uint) {
1473        unsafe {
1474            let val: u32 = ::std::mem::transmute(val);
1475            self._bitfield_1.set(2usize, 1u8, val as u64)
1476        }
1477    }
1478    #[inline]
1479    pub unsafe fn has_rest_raw(this: *const Self) -> ::std::os::raw::c_uint {
1480        unsafe {
1481            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(
1482                ::std::ptr::addr_of!((*this)._bitfield_1),
1483                2usize,
1484                1u8,
1485            ) as u32)
1486        }
1487    }
1488    #[inline]
1489    pub unsafe fn set_has_rest_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1490        unsafe {
1491            let val: u32 = ::std::mem::transmute(val);
1492            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(
1493                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1494                2usize,
1495                1u8,
1496                val as u64,
1497            )
1498        }
1499    }
1500    #[inline]
1501    pub fn has_post(&self) -> ::std::os::raw::c_uint {
1502        unsafe { ::std::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u32) }
1503    }
1504    #[inline]
1505    pub fn set_has_post(&mut self, val: ::std::os::raw::c_uint) {
1506        unsafe {
1507            let val: u32 = ::std::mem::transmute(val);
1508            self._bitfield_1.set(3usize, 1u8, val as u64)
1509        }
1510    }
1511    #[inline]
1512    pub unsafe fn has_post_raw(this: *const Self) -> ::std::os::raw::c_uint {
1513        unsafe {
1514            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(
1515                ::std::ptr::addr_of!((*this)._bitfield_1),
1516                3usize,
1517                1u8,
1518            ) as u32)
1519        }
1520    }
1521    #[inline]
1522    pub unsafe fn set_has_post_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1523        unsafe {
1524            let val: u32 = ::std::mem::transmute(val);
1525            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(
1526                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1527                3usize,
1528                1u8,
1529                val as u64,
1530            )
1531        }
1532    }
1533    #[inline]
1534    pub fn has_kw(&self) -> ::std::os::raw::c_uint {
1535        unsafe { ::std::mem::transmute(self._bitfield_1.get(4usize, 1u8) as u32) }
1536    }
1537    #[inline]
1538    pub fn set_has_kw(&mut self, val: ::std::os::raw::c_uint) {
1539        unsafe {
1540            let val: u32 = ::std::mem::transmute(val);
1541            self._bitfield_1.set(4usize, 1u8, val as u64)
1542        }
1543    }
1544    #[inline]
1545    pub unsafe fn has_kw_raw(this: *const Self) -> ::std::os::raw::c_uint {
1546        unsafe {
1547            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(
1548                ::std::ptr::addr_of!((*this)._bitfield_1),
1549                4usize,
1550                1u8,
1551            ) as u32)
1552        }
1553    }
1554    #[inline]
1555    pub unsafe fn set_has_kw_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1556        unsafe {
1557            let val: u32 = ::std::mem::transmute(val);
1558            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(
1559                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1560                4usize,
1561                1u8,
1562                val as u64,
1563            )
1564        }
1565    }
1566    #[inline]
1567    pub fn has_kwrest(&self) -> ::std::os::raw::c_uint {
1568        unsafe { ::std::mem::transmute(self._bitfield_1.get(5usize, 1u8) as u32) }
1569    }
1570    #[inline]
1571    pub fn set_has_kwrest(&mut self, val: ::std::os::raw::c_uint) {
1572        unsafe {
1573            let val: u32 = ::std::mem::transmute(val);
1574            self._bitfield_1.set(5usize, 1u8, val as u64)
1575        }
1576    }
1577    #[inline]
1578    pub unsafe fn has_kwrest_raw(this: *const Self) -> ::std::os::raw::c_uint {
1579        unsafe {
1580            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(
1581                ::std::ptr::addr_of!((*this)._bitfield_1),
1582                5usize,
1583                1u8,
1584            ) as u32)
1585        }
1586    }
1587    #[inline]
1588    pub unsafe fn set_has_kwrest_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1589        unsafe {
1590            let val: u32 = ::std::mem::transmute(val);
1591            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(
1592                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1593                5usize,
1594                1u8,
1595                val as u64,
1596            )
1597        }
1598    }
1599    #[inline]
1600    pub fn has_block(&self) -> ::std::os::raw::c_uint {
1601        unsafe { ::std::mem::transmute(self._bitfield_1.get(6usize, 1u8) as u32) }
1602    }
1603    #[inline]
1604    pub fn set_has_block(&mut self, val: ::std::os::raw::c_uint) {
1605        unsafe {
1606            let val: u32 = ::std::mem::transmute(val);
1607            self._bitfield_1.set(6usize, 1u8, val as u64)
1608        }
1609    }
1610    #[inline]
1611    pub unsafe fn has_block_raw(this: *const Self) -> ::std::os::raw::c_uint {
1612        unsafe {
1613            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(
1614                ::std::ptr::addr_of!((*this)._bitfield_1),
1615                6usize,
1616                1u8,
1617            ) as u32)
1618        }
1619    }
1620    #[inline]
1621    pub unsafe fn set_has_block_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1622        unsafe {
1623            let val: u32 = ::std::mem::transmute(val);
1624            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(
1625                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1626                6usize,
1627                1u8,
1628                val as u64,
1629            )
1630        }
1631    }
1632    #[inline]
1633    pub fn ambiguous_param0(&self) -> ::std::os::raw::c_uint {
1634        unsafe { ::std::mem::transmute(self._bitfield_1.get(7usize, 1u8) as u32) }
1635    }
1636    #[inline]
1637    pub fn set_ambiguous_param0(&mut self, val: ::std::os::raw::c_uint) {
1638        unsafe {
1639            let val: u32 = ::std::mem::transmute(val);
1640            self._bitfield_1.set(7usize, 1u8, val as u64)
1641        }
1642    }
1643    #[inline]
1644    pub unsafe fn ambiguous_param0_raw(this: *const Self) -> ::std::os::raw::c_uint {
1645        unsafe {
1646            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(
1647                ::std::ptr::addr_of!((*this)._bitfield_1),
1648                7usize,
1649                1u8,
1650            ) as u32)
1651        }
1652    }
1653    #[inline]
1654    pub unsafe fn set_ambiguous_param0_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1655        unsafe {
1656            let val: u32 = ::std::mem::transmute(val);
1657            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(
1658                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1659                7usize,
1660                1u8,
1661                val as u64,
1662            )
1663        }
1664    }
1665    #[inline]
1666    pub fn accepts_no_kwarg(&self) -> ::std::os::raw::c_uint {
1667        unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 1u8) as u32) }
1668    }
1669    #[inline]
1670    pub fn set_accepts_no_kwarg(&mut self, val: ::std::os::raw::c_uint) {
1671        unsafe {
1672            let val: u32 = ::std::mem::transmute(val);
1673            self._bitfield_1.set(8usize, 1u8, val as u64)
1674        }
1675    }
1676    #[inline]
1677    pub unsafe fn accepts_no_kwarg_raw(this: *const Self) -> ::std::os::raw::c_uint {
1678        unsafe {
1679            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(
1680                ::std::ptr::addr_of!((*this)._bitfield_1),
1681                8usize,
1682                1u8,
1683            ) as u32)
1684        }
1685    }
1686    #[inline]
1687    pub unsafe fn set_accepts_no_kwarg_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1688        unsafe {
1689            let val: u32 = ::std::mem::transmute(val);
1690            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(
1691                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1692                8usize,
1693                1u8,
1694                val as u64,
1695            )
1696        }
1697    }
1698    #[inline]
1699    pub fn ruby2_keywords(&self) -> ::std::os::raw::c_uint {
1700        unsafe { ::std::mem::transmute(self._bitfield_1.get(9usize, 1u8) as u32) }
1701    }
1702    #[inline]
1703    pub fn set_ruby2_keywords(&mut self, val: ::std::os::raw::c_uint) {
1704        unsafe {
1705            let val: u32 = ::std::mem::transmute(val);
1706            self._bitfield_1.set(9usize, 1u8, val as u64)
1707        }
1708    }
1709    #[inline]
1710    pub unsafe fn ruby2_keywords_raw(this: *const Self) -> ::std::os::raw::c_uint {
1711        unsafe {
1712            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(
1713                ::std::ptr::addr_of!((*this)._bitfield_1),
1714                9usize,
1715                1u8,
1716            ) as u32)
1717        }
1718    }
1719    #[inline]
1720    pub unsafe fn set_ruby2_keywords_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1721        unsafe {
1722            let val: u32 = ::std::mem::transmute(val);
1723            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(
1724                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1725                9usize,
1726                1u8,
1727                val as u64,
1728            )
1729        }
1730    }
1731    #[inline]
1732    pub fn new_bitfield_1(
1733        has_lead: ::std::os::raw::c_uint,
1734        has_opt: ::std::os::raw::c_uint,
1735        has_rest: ::std::os::raw::c_uint,
1736        has_post: ::std::os::raw::c_uint,
1737        has_kw: ::std::os::raw::c_uint,
1738        has_kwrest: ::std::os::raw::c_uint,
1739        has_block: ::std::os::raw::c_uint,
1740        ambiguous_param0: ::std::os::raw::c_uint,
1741        accepts_no_kwarg: ::std::os::raw::c_uint,
1742        ruby2_keywords: ::std::os::raw::c_uint,
1743    ) -> __BindgenBitfieldUnit<[u8; 2usize]> {
1744        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 2usize]> = Default::default();
1745        __bindgen_bitfield_unit.set(0usize, 1u8, {
1746            let has_lead: u32 = unsafe { ::std::mem::transmute(has_lead) };
1747            has_lead as u64
1748        });
1749        __bindgen_bitfield_unit.set(1usize, 1u8, {
1750            let has_opt: u32 = unsafe { ::std::mem::transmute(has_opt) };
1751            has_opt as u64
1752        });
1753        __bindgen_bitfield_unit.set(2usize, 1u8, {
1754            let has_rest: u32 = unsafe { ::std::mem::transmute(has_rest) };
1755            has_rest as u64
1756        });
1757        __bindgen_bitfield_unit.set(3usize, 1u8, {
1758            let has_post: u32 = unsafe { ::std::mem::transmute(has_post) };
1759            has_post as u64
1760        });
1761        __bindgen_bitfield_unit.set(4usize, 1u8, {
1762            let has_kw: u32 = unsafe { ::std::mem::transmute(has_kw) };
1763            has_kw as u64
1764        });
1765        __bindgen_bitfield_unit.set(5usize, 1u8, {
1766            let has_kwrest: u32 = unsafe { ::std::mem::transmute(has_kwrest) };
1767            has_kwrest as u64
1768        });
1769        __bindgen_bitfield_unit.set(6usize, 1u8, {
1770            let has_block: u32 = unsafe { ::std::mem::transmute(has_block) };
1771            has_block as u64
1772        });
1773        __bindgen_bitfield_unit.set(7usize, 1u8, {
1774            let ambiguous_param0: u32 = unsafe { ::std::mem::transmute(ambiguous_param0) };
1775            ambiguous_param0 as u64
1776        });
1777        __bindgen_bitfield_unit.set(8usize, 1u8, {
1778            let accepts_no_kwarg: u32 = unsafe { ::std::mem::transmute(accepts_no_kwarg) };
1779            accepts_no_kwarg as u64
1780        });
1781        __bindgen_bitfield_unit.set(9usize, 1u8, {
1782            let ruby2_keywords: u32 = unsafe { ::std::mem::transmute(ruby2_keywords) };
1783            ruby2_keywords as u64
1784        });
1785        __bindgen_bitfield_unit
1786    }
1787}
1788#[repr(C)]
1789#[derive(Debug, Copy, Clone)]
1790pub struct rb_iseq_constant_body__bindgen_ty_1_rb_iseq_param_keyword {
1791    pub num: ::std::os::raw::c_int,
1792    pub required_num: ::std::os::raw::c_int,
1793    pub bits_start: ::std::os::raw::c_int,
1794    pub rest_start: ::std::os::raw::c_int,
1795    pub table: *const ID,
1796    pub default_values: *mut VALUE,
1797}
1798#[repr(C)]
1799#[derive(Debug, Copy, Clone)]
1800pub struct rb_iseq_constant_body_iseq_insn_info {
1801    pub body: *const iseq_insn_info_entry,
1802    pub positions: *mut ::std::os::raw::c_uint,
1803    pub size: ::std::os::raw::c_uint,
1804    pub succ_index_table: *mut succ_index_table,
1805}
1806#[repr(C)]
1807#[derive(Debug, Copy, Clone)]
1808pub struct rb_iseq_constant_body__bindgen_ty_2 {
1809    pub flip_count: rb_snum_t,
1810    pub coverage: VALUE,
1811    pub pc2branchindex: VALUE,
1812    pub original_iseq: *mut VALUE,
1813}
1814#[repr(C)]
1815#[derive(Copy, Clone)]
1816pub struct rb_iseq_struct {
1817    pub flags: VALUE,
1818    pub wrapper: VALUE,
1819    pub body: *mut rb_iseq_constant_body,
1820    pub aux: rb_iseq_struct__bindgen_ty_1,
1821}
1822#[repr(C)]
1823#[derive(Copy, Clone)]
1824pub union rb_iseq_struct__bindgen_ty_1 {
1825    pub compile_data: *mut iseq_compile_data,
1826    pub loader: rb_iseq_struct__bindgen_ty_1__bindgen_ty_1,
1827    pub exec: rb_iseq_struct__bindgen_ty_1__bindgen_ty_2,
1828}
1829#[repr(C)]
1830#[derive(Debug, Copy, Clone)]
1831pub struct rb_iseq_struct__bindgen_ty_1__bindgen_ty_1 {
1832    pub obj: VALUE,
1833    pub index: ::std::os::raw::c_int,
1834}
1835#[repr(C)]
1836#[derive(Debug, Copy, Clone)]
1837pub struct rb_iseq_struct__bindgen_ty_1__bindgen_ty_2 {
1838    pub local_hooks: *mut rb_hook_list_struct,
1839    pub global_trace_events: rb_event_flag_t,
1840}
1841impl ::std::fmt::Debug for rb_iseq_struct__bindgen_ty_1 {
1842    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1843        write!(f, "rb_iseq_struct__bindgen_ty_1 {{ union }}")
1844    }
1845}
1846impl ::std::fmt::Debug for rb_iseq_struct {
1847    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1848        write!(
1849            f,
1850            "rb_iseq_struct {{ flags: {:?}, wrapper: {:?}, body: {:?}, aux: {:?} }}",
1851            self.flags, self.wrapper, self.body, self.aux
1852        )
1853    }
1854}
1855pub type rb_vm_at_exit_func = ::std::option::Option<unsafe extern "C" fn(arg1: *mut rb_vm_struct)>;
1856#[repr(C)]
1857#[derive(Debug, Copy, Clone)]
1858pub struct rb_at_exit_list {
1859    pub func: rb_vm_at_exit_func,
1860    pub next: *mut rb_at_exit_list,
1861}
1862#[repr(C)]
1863#[derive(Debug, Copy, Clone)]
1864pub struct rb_hook_list_struct {
1865    pub hooks: *mut rb_event_hook_struct,
1866    pub events: rb_event_flag_t,
1867    pub need_clean: ::std::os::raw::c_uint,
1868    pub running: ::std::os::raw::c_uint,
1869}
1870pub type rb_hook_list_t = rb_hook_list_struct;
1871#[repr(C)]
1872#[derive(Debug, Copy, Clone)]
1873pub struct rb_builtin_function {
1874    _unused: [u8; 0],
1875}
1876#[repr(C)]
1877#[derive(Copy, Clone)]
1878pub struct rb_vm_struct {
1879    pub self_: VALUE,
1880    pub gvl: rb_global_vm_lock_t,
1881    pub main_thread: *mut rb_thread_struct,
1882    pub running_thread: *const rb_thread_struct,
1883    pub main_altstack: *mut ::std::os::raw::c_void,
1884    pub fork_gen: rb_serial_t,
1885    pub waitpid_lock: rb_nativethread_lock_t,
1886    pub waiting_pids: list_head,
1887    pub waiting_grps: list_head,
1888    pub waiting_fds: list_head,
1889    pub living_threads: list_head,
1890    pub thgroup_default: VALUE,
1891    pub living_thread_num: ::std::os::raw::c_int,
1892    pub ubf_async_safe: ::std::os::raw::c_int,
1893    pub _bitfield_align_1: [u8; 0],
1894    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
1895    pub sleeper: ::std::os::raw::c_int,
1896    pub mark_object_ary: VALUE,
1897    pub special_exceptions: [VALUE; 5usize],
1898    pub top_self: VALUE,
1899    pub load_path: VALUE,
1900    pub load_path_snapshot: VALUE,
1901    pub load_path_check_cache: VALUE,
1902    pub expanded_load_path: VALUE,
1903    pub loaded_features: VALUE,
1904    pub loaded_features_snapshot: VALUE,
1905    pub loaded_features_index: *mut st_table,
1906    pub loading_table: *mut st_table,
1907    pub trap_list: rb_vm_struct__bindgen_ty_1,
1908    pub global_hooks: rb_hook_list_t,
1909    pub ensure_rollback_table: *mut st_table,
1910    pub postponed_job_buffer: *mut rb_postponed_job_struct,
1911    pub postponed_job_index: ::std::os::raw::c_int,
1912    pub src_encoding_index: ::std::os::raw::c_int,
1913    pub workqueue: list_head,
1914    pub workqueue_lock: rb_nativethread_lock_t,
1915    pub verbose: VALUE,
1916    pub debug: VALUE,
1917    pub orig_progname: VALUE,
1918    pub progname: VALUE,
1919    pub coverages: VALUE,
1920    pub coverage_mode: ::std::os::raw::c_int,
1921    pub defined_module_hash: *mut st_table,
1922    pub objspace: *mut rb_objspace,
1923    pub at_exit: *mut rb_at_exit_list,
1924    pub defined_strings: *mut VALUE,
1925    pub frozen_strings: *mut st_table,
1926    pub builtin_function_table: *const rb_builtin_function,
1927    pub builtin_inline_index: ::std::os::raw::c_int,
1928    pub default_params: rb_vm_struct__bindgen_ty_2,
1929    pub redefined_flag: [::std::os::raw::c_short; 29usize],
1930}
1931#[repr(C)]
1932#[derive(Debug, Copy, Clone)]
1933pub struct rb_vm_struct__bindgen_ty_1 {
1934    pub cmd: [VALUE; 65usize],
1935}
1936#[repr(C)]
1937#[derive(Debug, Copy, Clone)]
1938pub struct rb_vm_struct__bindgen_ty_2 {
1939    pub thread_vm_stack_size: usize,
1940    pub thread_machine_stack_size: usize,
1941    pub fiber_vm_stack_size: usize,
1942    pub fiber_machine_stack_size: usize,
1943}
1944impl ::std::fmt::Debug for rb_vm_struct {
1945    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1946        write ! (f , "rb_vm_struct {{ self: {:?}, gvl: {:?}, main_thread: {:?}, running_thread: {:?}, main_altstack: {:?}, fork_gen: {:?}, waitpid_lock: {:?}, waiting_pids: {:?}, waiting_grps: {:?}, waiting_fds: {:?}, living_threads: {:?}, thgroup_default: {:?}, living_thread_num: {:?}, ubf_async_safe: {:?}, running : {:?}, thread_abort_on_exception : {:?}, thread_report_on_exception : {:?}, safe_level_ : {:?}, sleeper: {:?}, mark_object_ary: {:?}, special_exceptions: {:?}, top_self: {:?}, load_path: {:?}, load_path_snapshot: {:?}, load_path_check_cache: {:?}, expanded_load_path: {:?}, loaded_features: {:?}, loaded_features_snapshot: {:?}, loaded_features_index: {:?}, loading_table: {:?}, trap_list: {:?}, global_hooks: {:?}, ensure_rollback_table: {:?}, postponed_job_buffer: {:?}, postponed_job_index: {:?}, src_encoding_index: {:?}, workqueue: {:?}, workqueue_lock: {:?}, verbose: {:?}, debug: {:?}, orig_progname: {:?}, progname: {:?}, coverages: {:?}, coverage_mode: {:?}, defined_module_hash: {:?}, objspace: {:?}, at_exit: {:?}, defined_strings: {:?}, frozen_strings: {:?}, builtin_function_table: {:?}, builtin_inline_index: {:?}, default_params: {:?}, redefined_flag: {:?} }}" , self . self_ , self . gvl , self . main_thread , self . running_thread , self . main_altstack , self . fork_gen , self . waitpid_lock , self . waiting_pids , self . waiting_grps , self . waiting_fds , self . living_threads , self . thgroup_default , self . living_thread_num , self . ubf_async_safe , self . running () , self . thread_abort_on_exception () , self . thread_report_on_exception () , self . safe_level_ () , self . sleeper , self . mark_object_ary , self . special_exceptions , self . top_self , self . load_path , self . load_path_snapshot , self . load_path_check_cache , self . expanded_load_path , self . loaded_features , self . loaded_features_snapshot , self . loaded_features_index , self . loading_table , self . trap_list , self . global_hooks , self . ensure_rollback_table , self . postponed_job_buffer , self . postponed_job_index , self . src_encoding_index , self . workqueue , self . workqueue_lock , self . verbose , self . debug , self . orig_progname , self . progname , self . coverages , self . coverage_mode , self . defined_module_hash , self . objspace , self . at_exit , self . defined_strings , self . frozen_strings , self . builtin_function_table , self . builtin_inline_index , self . default_params , self . redefined_flag)
1947    }
1948}
1949impl rb_vm_struct {
1950    #[inline]
1951    pub fn running(&self) -> ::std::os::raw::c_uint {
1952        unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) }
1953    }
1954    #[inline]
1955    pub fn set_running(&mut self, val: ::std::os::raw::c_uint) {
1956        unsafe {
1957            let val: u32 = ::std::mem::transmute(val);
1958            self._bitfield_1.set(0usize, 1u8, val as u64)
1959        }
1960    }
1961    #[inline]
1962    pub unsafe fn running_raw(this: *const Self) -> ::std::os::raw::c_uint {
1963        unsafe {
1964            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(
1965                ::std::ptr::addr_of!((*this)._bitfield_1),
1966                0usize,
1967                1u8,
1968            ) as u32)
1969        }
1970    }
1971    #[inline]
1972    pub unsafe fn set_running_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1973        unsafe {
1974            let val: u32 = ::std::mem::transmute(val);
1975            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(
1976                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1977                0usize,
1978                1u8,
1979                val as u64,
1980            )
1981        }
1982    }
1983    #[inline]
1984    pub fn thread_abort_on_exception(&self) -> ::std::os::raw::c_uint {
1985        unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u32) }
1986    }
1987    #[inline]
1988    pub fn set_thread_abort_on_exception(&mut self, val: ::std::os::raw::c_uint) {
1989        unsafe {
1990            let val: u32 = ::std::mem::transmute(val);
1991            self._bitfield_1.set(1usize, 1u8, val as u64)
1992        }
1993    }
1994    #[inline]
1995    pub unsafe fn thread_abort_on_exception_raw(this: *const Self) -> ::std::os::raw::c_uint {
1996        unsafe {
1997            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(
1998                ::std::ptr::addr_of!((*this)._bitfield_1),
1999                1usize,
2000                1u8,
2001            ) as u32)
2002        }
2003    }
2004    #[inline]
2005    pub unsafe fn set_thread_abort_on_exception_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2006        unsafe {
2007            let val: u32 = ::std::mem::transmute(val);
2008            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(
2009                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2010                1usize,
2011                1u8,
2012                val as u64,
2013            )
2014        }
2015    }
2016    #[inline]
2017    pub fn thread_report_on_exception(&self) -> ::std::os::raw::c_uint {
2018        unsafe { ::std::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u32) }
2019    }
2020    #[inline]
2021    pub fn set_thread_report_on_exception(&mut self, val: ::std::os::raw::c_uint) {
2022        unsafe {
2023            let val: u32 = ::std::mem::transmute(val);
2024            self._bitfield_1.set(2usize, 1u8, val as u64)
2025        }
2026    }
2027    #[inline]
2028    pub unsafe fn thread_report_on_exception_raw(this: *const Self) -> ::std::os::raw::c_uint {
2029        unsafe {
2030            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(
2031                ::std::ptr::addr_of!((*this)._bitfield_1),
2032                2usize,
2033                1u8,
2034            ) as u32)
2035        }
2036    }
2037    #[inline]
2038    pub unsafe fn set_thread_report_on_exception_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2039        unsafe {
2040            let val: u32 = ::std::mem::transmute(val);
2041            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(
2042                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2043                2usize,
2044                1u8,
2045                val as u64,
2046            )
2047        }
2048    }
2049    #[inline]
2050    pub fn safe_level_(&self) -> ::std::os::raw::c_uint {
2051        unsafe { ::std::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u32) }
2052    }
2053    #[inline]
2054    pub fn set_safe_level_(&mut self, val: ::std::os::raw::c_uint) {
2055        unsafe {
2056            let val: u32 = ::std::mem::transmute(val);
2057            self._bitfield_1.set(3usize, 1u8, val as u64)
2058        }
2059    }
2060    #[inline]
2061    pub unsafe fn safe_level__raw(this: *const Self) -> ::std::os::raw::c_uint {
2062        unsafe {
2063            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(
2064                ::std::ptr::addr_of!((*this)._bitfield_1),
2065                3usize,
2066                1u8,
2067            ) as u32)
2068        }
2069    }
2070    #[inline]
2071    pub unsafe fn set_safe_level__raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2072        unsafe {
2073            let val: u32 = ::std::mem::transmute(val);
2074            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(
2075                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2076                3usize,
2077                1u8,
2078                val as u64,
2079            )
2080        }
2081    }
2082    #[inline]
2083    pub fn new_bitfield_1(
2084        running: ::std::os::raw::c_uint,
2085        thread_abort_on_exception: ::std::os::raw::c_uint,
2086        thread_report_on_exception: ::std::os::raw::c_uint,
2087        safe_level_: ::std::os::raw::c_uint,
2088    ) -> __BindgenBitfieldUnit<[u8; 1usize]> {
2089        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
2090        __bindgen_bitfield_unit.set(0usize, 1u8, {
2091            let running: u32 = unsafe { ::std::mem::transmute(running) };
2092            running as u64
2093        });
2094        __bindgen_bitfield_unit.set(1usize, 1u8, {
2095            let thread_abort_on_exception: u32 =
2096                unsafe { ::std::mem::transmute(thread_abort_on_exception) };
2097            thread_abort_on_exception as u64
2098        });
2099        __bindgen_bitfield_unit.set(2usize, 1u8, {
2100            let thread_report_on_exception: u32 =
2101                unsafe { ::std::mem::transmute(thread_report_on_exception) };
2102            thread_report_on_exception as u64
2103        });
2104        __bindgen_bitfield_unit.set(3usize, 1u8, {
2105            let safe_level_: u32 = unsafe { ::std::mem::transmute(safe_level_) };
2106            safe_level_ as u64
2107        });
2108        __bindgen_bitfield_unit
2109    }
2110}
2111pub type rb_vm_t = rb_vm_struct;
2112#[repr(C)]
2113#[derive(Debug, Copy, Clone)]
2114pub struct rb_control_frame_struct {
2115    pub pc: *const VALUE,
2116    pub sp: *mut VALUE,
2117    pub iseq: *const rb_iseq_t,
2118    pub self_: VALUE,
2119    pub ep: *const VALUE,
2120    pub block_code: *const ::std::os::raw::c_void,
2121    pub __bp__: *mut VALUE,
2122}
2123pub type rb_control_frame_t = rb_control_frame_struct;
2124pub const rb_thread_status_THREAD_RUNNABLE: rb_thread_status = 0;
2125pub const rb_thread_status_THREAD_STOPPED: rb_thread_status = 1;
2126pub const rb_thread_status_THREAD_STOPPED_FOREVER: rb_thread_status = 2;
2127pub const rb_thread_status_THREAD_KILLED: rb_thread_status = 3;
2128pub type rb_thread_status = ::std::os::raw::c_uint;
2129pub type rb_jmpbuf_t = sigjmp_buf;
2130#[repr(C)]
2131#[derive(Debug, Copy, Clone)]
2132pub struct rb_vm_tag {
2133    pub tag: VALUE,
2134    pub retval: VALUE,
2135    pub buf: rb_jmpbuf_t,
2136    pub prev: *mut rb_vm_tag,
2137    pub state: ruby_tag_type,
2138}
2139#[repr(C)]
2140#[derive(Debug, Copy, Clone)]
2141pub struct rb_vm_protect_tag {
2142    pub prev: *mut rb_vm_protect_tag,
2143}
2144#[repr(C)]
2145#[derive(Debug, Copy, Clone)]
2146pub struct rb_unblock_callback {
2147    pub func: rb_unblock_function_t,
2148    pub arg: *mut ::std::os::raw::c_void,
2149}
2150#[repr(C)]
2151#[derive(Debug, Copy, Clone)]
2152pub struct rb_mutex_struct {
2153    _unused: [u8; 0],
2154}
2155#[repr(C)]
2156#[derive(Debug, Copy, Clone)]
2157pub struct rb_thread_list_struct {
2158    pub next: *mut rb_thread_list_struct,
2159    pub th: *mut rb_thread_struct,
2160}
2161pub type rb_thread_list_t = rb_thread_list_struct;
2162#[repr(C)]
2163#[derive(Debug, Copy, Clone)]
2164pub struct rb_ensure_entry {
2165    pub marker: VALUE,
2166    pub e_proc: ::std::option::Option<unsafe extern "C" fn(arg1: VALUE) -> VALUE>,
2167    pub data2: VALUE,
2168}
2169#[repr(C)]
2170#[derive(Debug, Copy, Clone)]
2171pub struct rb_ensure_list {
2172    pub next: *mut rb_ensure_list,
2173    pub entry: rb_ensure_entry,
2174}
2175pub type rb_ensure_list_t = rb_ensure_list;
2176pub type rb_fiber_t = rb_fiber_struct;
2177#[repr(C)]
2178#[derive(Debug, Copy, Clone)]
2179pub struct rb_execution_context_struct {
2180    pub vm_stack: *mut VALUE,
2181    pub vm_stack_size: usize,
2182    pub cfp: *mut rb_control_frame_t,
2183    pub tag: *mut rb_vm_tag,
2184    pub protect_tag: *mut rb_vm_protect_tag,
2185    pub interrupt_flag: rb_atomic_t,
2186    pub interrupt_mask: rb_atomic_t,
2187    pub fiber_ptr: *mut rb_fiber_t,
2188    pub thread_ptr: *mut rb_thread_struct,
2189    pub local_storage: *mut st_table,
2190    pub local_storage_recursive_hash: VALUE,
2191    pub local_storage_recursive_hash_for_trace: VALUE,
2192    pub root_lep: *const VALUE,
2193    pub root_svar: VALUE,
2194    pub ensure_list: *mut rb_ensure_list_t,
2195    pub trace_arg: *mut rb_trace_arg_struct,
2196    pub errinfo: VALUE,
2197    pub passed_block_handler: VALUE,
2198    pub raised_flag: u8,
2199    pub _bitfield_align_1: [u8; 0],
2200    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
2201    pub private_const_reference: VALUE,
2202    pub machine: rb_execution_context_struct__bindgen_ty_1,
2203}
2204#[repr(C)]
2205#[derive(Debug, Copy, Clone)]
2206pub struct rb_execution_context_struct__bindgen_ty_1 {
2207    pub stack_start: *mut VALUE,
2208    pub stack_end: *mut VALUE,
2209    pub stack_maxsize: usize,
2210    pub regs: jmp_buf,
2211}
2212impl rb_execution_context_struct {
2213    #[inline]
2214    pub fn method_missing_reason(&self) -> method_missing_reason {
2215        unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 8u8) as u32) }
2216    }
2217    #[inline]
2218    pub fn set_method_missing_reason(&mut self, val: method_missing_reason) {
2219        unsafe {
2220            let val: u32 = ::std::mem::transmute(val);
2221            self._bitfield_1.set(0usize, 8u8, val as u64)
2222        }
2223    }
2224    #[inline]
2225    pub unsafe fn method_missing_reason_raw(this: *const Self) -> method_missing_reason {
2226        unsafe {
2227            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(
2228                ::std::ptr::addr_of!((*this)._bitfield_1),
2229                0usize,
2230                8u8,
2231            ) as u32)
2232        }
2233    }
2234    #[inline]
2235    pub unsafe fn set_method_missing_reason_raw(this: *mut Self, val: method_missing_reason) {
2236        unsafe {
2237            let val: u32 = ::std::mem::transmute(val);
2238            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(
2239                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2240                0usize,
2241                8u8,
2242                val as u64,
2243            )
2244        }
2245    }
2246    #[inline]
2247    pub fn new_bitfield_1(
2248        method_missing_reason: method_missing_reason,
2249    ) -> __BindgenBitfieldUnit<[u8; 1usize]> {
2250        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
2251        __bindgen_bitfield_unit.set(0usize, 8u8, {
2252            let method_missing_reason: u32 =
2253                unsafe { ::std::mem::transmute(method_missing_reason) };
2254            method_missing_reason as u64
2255        });
2256        __bindgen_bitfield_unit
2257    }
2258}
2259pub type rb_execution_context_t = rb_execution_context_struct;
2260#[repr(C)]
2261#[derive(Copy, Clone)]
2262pub struct rb_thread_struct {
2263    pub vmlt_node: list_node,
2264    pub self_: VALUE,
2265    pub vm: *mut rb_vm_t,
2266    pub ec: *mut rb_execution_context_t,
2267    pub last_status: VALUE,
2268    pub calling: *mut rb_calling_info,
2269    pub top_self: VALUE,
2270    pub top_wrapper: VALUE,
2271    pub thread_id: rb_nativethread_id_t,
2272    pub _bitfield_align_1: [u8; 0],
2273    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
2274    pub priority: i8,
2275    pub running_time_us: u32,
2276    pub native_thread_data: native_thread_data_t,
2277    pub blocking_region_buffer: *mut ::std::os::raw::c_void,
2278    pub thgroup: VALUE,
2279    pub value: VALUE,
2280    pub pending_interrupt_queue: VALUE,
2281    pub pending_interrupt_mask_stack: VALUE,
2282    pub interrupt_lock: rb_nativethread_lock_t,
2283    pub unblock: rb_unblock_callback,
2284    pub locking_mutex: VALUE,
2285    pub keeping_mutexes: *mut rb_mutex_struct,
2286    pub join_list: *mut rb_thread_list_t,
2287    pub invoke_arg: rb_thread_struct__bindgen_ty_1,
2288    pub invoke_type: rb_thread_struct__bindgen_ty_2,
2289    pub stat_insn_usage: VALUE,
2290    pub root_fiber: *mut rb_fiber_t,
2291    pub root_jmpbuf: rb_jmpbuf_t,
2292    pub name: VALUE,
2293}
2294#[repr(C)]
2295#[derive(Copy, Clone)]
2296pub union rb_thread_struct__bindgen_ty_1 {
2297    pub proc_: rb_thread_struct__bindgen_ty_1__bindgen_ty_1,
2298    pub func: rb_thread_struct__bindgen_ty_1__bindgen_ty_2,
2299}
2300#[repr(C)]
2301#[derive(Debug, Copy, Clone)]
2302pub struct rb_thread_struct__bindgen_ty_1__bindgen_ty_1 {
2303    pub proc_: VALUE,
2304    pub args: VALUE,
2305    pub kw_splat: ::std::os::raw::c_int,
2306}
2307#[repr(C)]
2308#[derive(Debug, Copy, Clone)]
2309pub struct rb_thread_struct__bindgen_ty_1__bindgen_ty_2 {
2310    pub func:
2311        ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> VALUE>,
2312    pub arg: *mut ::std::os::raw::c_void,
2313}
2314impl ::std::fmt::Debug for rb_thread_struct__bindgen_ty_1 {
2315    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2316        write!(f, "rb_thread_struct__bindgen_ty_1 {{ union }}")
2317    }
2318}
2319pub const rb_thread_struct_thread_invoke_type_none: rb_thread_struct__bindgen_ty_2 = 0;
2320pub const rb_thread_struct_thread_invoke_type_proc: rb_thread_struct__bindgen_ty_2 = 1;
2321pub const rb_thread_struct_thread_invoke_type_func: rb_thread_struct__bindgen_ty_2 = 2;
2322pub type rb_thread_struct__bindgen_ty_2 = ::std::os::raw::c_uint;
2323impl ::std::fmt::Debug for rb_thread_struct {
2324    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2325        write ! (f , "rb_thread_struct {{ vmlt_node: {:?}, self: {:?}, vm: {:?}, ec: {:?}, last_status: {:?}, calling: {:?}, top_self: {:?}, top_wrapper: {:?}, thread_id: {:?}, status : {:?}, to_kill : {:?}, abort_on_exception : {:?}, report_on_exception : {:?}, pending_interrupt_queue_checked : {:?}, native_thread_data: {:?}, blocking_region_buffer: {:?}, thgroup: {:?}, value: {:?}, pending_interrupt_queue: {:?}, pending_interrupt_mask_stack: {:?}, interrupt_lock: {:?}, unblock: {:?}, locking_mutex: {:?}, keeping_mutexes: {:?}, join_list: {:?}, invoke_arg: {:?}, invoke_type: {:?}, stat_insn_usage: {:?}, root_fiber: {:?}, root_jmpbuf: {:?}, name: {:?} }}" , self . vmlt_node , self . self_ , self . vm , self . ec , self . last_status , self . calling , self . top_self , self . top_wrapper , self . thread_id , self . status () , self . to_kill () , self . abort_on_exception () , self . report_on_exception () , self . pending_interrupt_queue_checked () , self . native_thread_data , self . blocking_region_buffer , self . thgroup , self . value , self . pending_interrupt_queue , self . pending_interrupt_mask_stack , self . interrupt_lock , self . unblock , self . locking_mutex , self . keeping_mutexes , self . join_list , self . invoke_arg , self . invoke_type , self . stat_insn_usage , self . root_fiber , self . root_jmpbuf , self . name)
2326    }
2327}
2328impl rb_thread_struct {
2329    #[inline]
2330    pub fn status(&self) -> rb_thread_status {
2331        unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 2u8) as u32) }
2332    }
2333    #[inline]
2334    pub fn set_status(&mut self, val: rb_thread_status) {
2335        unsafe {
2336            let val: u32 = ::std::mem::transmute(val);
2337            self._bitfield_1.set(0usize, 2u8, val as u64)
2338        }
2339    }
2340    #[inline]
2341    pub unsafe fn status_raw(this: *const Self) -> rb_thread_status {
2342        unsafe {
2343            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(
2344                ::std::ptr::addr_of!((*this)._bitfield_1),
2345                0usize,
2346                2u8,
2347            ) as u32)
2348        }
2349    }
2350    #[inline]
2351    pub unsafe fn set_status_raw(this: *mut Self, val: rb_thread_status) {
2352        unsafe {
2353            let val: u32 = ::std::mem::transmute(val);
2354            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(
2355                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2356                0usize,
2357                2u8,
2358                val as u64,
2359            )
2360        }
2361    }
2362    #[inline]
2363    pub fn to_kill(&self) -> ::std::os::raw::c_uint {
2364        unsafe { ::std::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u32) }
2365    }
2366    #[inline]
2367    pub fn set_to_kill(&mut self, val: ::std::os::raw::c_uint) {
2368        unsafe {
2369            let val: u32 = ::std::mem::transmute(val);
2370            self._bitfield_1.set(2usize, 1u8, val as u64)
2371        }
2372    }
2373    #[inline]
2374    pub unsafe fn to_kill_raw(this: *const Self) -> ::std::os::raw::c_uint {
2375        unsafe {
2376            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(
2377                ::std::ptr::addr_of!((*this)._bitfield_1),
2378                2usize,
2379                1u8,
2380            ) as u32)
2381        }
2382    }
2383    #[inline]
2384    pub unsafe fn set_to_kill_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2385        unsafe {
2386            let val: u32 = ::std::mem::transmute(val);
2387            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(
2388                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2389                2usize,
2390                1u8,
2391                val as u64,
2392            )
2393        }
2394    }
2395    #[inline]
2396    pub fn abort_on_exception(&self) -> ::std::os::raw::c_uint {
2397        unsafe { ::std::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u32) }
2398    }
2399    #[inline]
2400    pub fn set_abort_on_exception(&mut self, val: ::std::os::raw::c_uint) {
2401        unsafe {
2402            let val: u32 = ::std::mem::transmute(val);
2403            self._bitfield_1.set(3usize, 1u8, val as u64)
2404        }
2405    }
2406    #[inline]
2407    pub unsafe fn abort_on_exception_raw(this: *const Self) -> ::std::os::raw::c_uint {
2408        unsafe {
2409            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(
2410                ::std::ptr::addr_of!((*this)._bitfield_1),
2411                3usize,
2412                1u8,
2413            ) as u32)
2414        }
2415    }
2416    #[inline]
2417    pub unsafe fn set_abort_on_exception_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2418        unsafe {
2419            let val: u32 = ::std::mem::transmute(val);
2420            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(
2421                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2422                3usize,
2423                1u8,
2424                val as u64,
2425            )
2426        }
2427    }
2428    #[inline]
2429    pub fn report_on_exception(&self) -> ::std::os::raw::c_uint {
2430        unsafe { ::std::mem::transmute(self._bitfield_1.get(4usize, 1u8) as u32) }
2431    }
2432    #[inline]
2433    pub fn set_report_on_exception(&mut self, val: ::std::os::raw::c_uint) {
2434        unsafe {
2435            let val: u32 = ::std::mem::transmute(val);
2436            self._bitfield_1.set(4usize, 1u8, val as u64)
2437        }
2438    }
2439    #[inline]
2440    pub unsafe fn report_on_exception_raw(this: *const Self) -> ::std::os::raw::c_uint {
2441        unsafe {
2442            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(
2443                ::std::ptr::addr_of!((*this)._bitfield_1),
2444                4usize,
2445                1u8,
2446            ) as u32)
2447        }
2448    }
2449    #[inline]
2450    pub unsafe fn set_report_on_exception_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2451        unsafe {
2452            let val: u32 = ::std::mem::transmute(val);
2453            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(
2454                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2455                4usize,
2456                1u8,
2457                val as u64,
2458            )
2459        }
2460    }
2461    #[inline]
2462    pub fn pending_interrupt_queue_checked(&self) -> ::std::os::raw::c_uint {
2463        unsafe { ::std::mem::transmute(self._bitfield_1.get(5usize, 1u8) as u32) }
2464    }
2465    #[inline]
2466    pub fn set_pending_interrupt_queue_checked(&mut self, val: ::std::os::raw::c_uint) {
2467        unsafe {
2468            let val: u32 = ::std::mem::transmute(val);
2469            self._bitfield_1.set(5usize, 1u8, val as u64)
2470        }
2471    }
2472    #[inline]
2473    pub unsafe fn pending_interrupt_queue_checked_raw(this: *const Self) -> ::std::os::raw::c_uint {
2474        unsafe {
2475            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(
2476                ::std::ptr::addr_of!((*this)._bitfield_1),
2477                5usize,
2478                1u8,
2479            ) as u32)
2480        }
2481    }
2482    #[inline]
2483    pub unsafe fn set_pending_interrupt_queue_checked_raw(
2484        this: *mut Self,
2485        val: ::std::os::raw::c_uint,
2486    ) {
2487        unsafe {
2488            let val: u32 = ::std::mem::transmute(val);
2489            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(
2490                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2491                5usize,
2492                1u8,
2493                val as u64,
2494            )
2495        }
2496    }
2497    #[inline]
2498    pub fn new_bitfield_1(
2499        status: rb_thread_status,
2500        to_kill: ::std::os::raw::c_uint,
2501        abort_on_exception: ::std::os::raw::c_uint,
2502        report_on_exception: ::std::os::raw::c_uint,
2503        pending_interrupt_queue_checked: ::std::os::raw::c_uint,
2504    ) -> __BindgenBitfieldUnit<[u8; 1usize]> {
2505        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
2506        __bindgen_bitfield_unit.set(0usize, 2u8, {
2507            let status: u32 = unsafe { ::std::mem::transmute(status) };
2508            status as u64
2509        });
2510        __bindgen_bitfield_unit.set(2usize, 1u8, {
2511            let to_kill: u32 = unsafe { ::std::mem::transmute(to_kill) };
2512            to_kill as u64
2513        });
2514        __bindgen_bitfield_unit.set(3usize, 1u8, {
2515            let abort_on_exception: u32 = unsafe { ::std::mem::transmute(abort_on_exception) };
2516            abort_on_exception as u64
2517        });
2518        __bindgen_bitfield_unit.set(4usize, 1u8, {
2519            let report_on_exception: u32 = unsafe { ::std::mem::transmute(report_on_exception) };
2520            report_on_exception as u64
2521        });
2522        __bindgen_bitfield_unit.set(5usize, 1u8, {
2523            let pending_interrupt_queue_checked: u32 =
2524                unsafe { ::std::mem::transmute(pending_interrupt_queue_checked) };
2525            pending_interrupt_queue_checked as u64
2526        });
2527        __bindgen_bitfield_unit
2528    }
2529}
2530pub type rb_thread_t = rb_thread_struct;
2531#[repr(C)]
2532#[derive(Debug, Copy, Clone)]
2533pub struct rb_trace_arg_struct {
2534    pub event: rb_event_flag_t,
2535    pub ec: *mut rb_execution_context_t,
2536    pub cfp: *const rb_control_frame_t,
2537    pub self_: VALUE,
2538    pub id: ID,
2539    pub called_id: ID,
2540    pub klass: VALUE,
2541    pub data: VALUE,
2542    pub klass_solved: ::std::os::raw::c_int,
2543    pub lineno: ::std::os::raw::c_int,
2544    pub path: VALUE,
2545}
2546#[repr(C)]
2547#[derive(Debug, Copy, Clone)]
2548pub struct iseq_compile_data {
2549    pub err_info: VALUE,
2550    pub catch_table_ary: VALUE,
2551    pub start_label: *mut iseq_label_data,
2552    pub end_label: *mut iseq_label_data,
2553    pub redo_label: *mut iseq_label_data,
2554    pub current_block: *const rb_iseq_t,
2555    pub ensure_node_stack: *mut iseq_compile_data_ensure_node_stack,
2556    pub node: iseq_compile_data__bindgen_ty_1,
2557    pub insn: iseq_compile_data__bindgen_ty_2,
2558    pub loopval_popped: ::std::os::raw::c_int,
2559    pub last_line: ::std::os::raw::c_int,
2560    pub label_no: ::std::os::raw::c_int,
2561    pub node_level: ::std::os::raw::c_int,
2562    pub ci_index: ::std::os::raw::c_uint,
2563    pub ci_kw_index: ::std::os::raw::c_uint,
2564    pub option: *const rb_compile_option_t,
2565    pub ivar_cache_table: *mut rb_id_table,
2566    pub builtin_function_table: *const rb_builtin_function,
2567}
2568#[repr(C)]
2569#[derive(Debug, Copy, Clone)]
2570pub struct iseq_compile_data__bindgen_ty_1 {
2571    pub storage_head: *mut iseq_compile_data_storage,
2572    pub storage_current: *mut iseq_compile_data_storage,
2573}
2574#[repr(C)]
2575#[derive(Debug, Copy, Clone)]
2576pub struct iseq_compile_data__bindgen_ty_2 {
2577    pub storage_head: *mut iseq_compile_data_storage,
2578    pub storage_current: *mut iseq_compile_data_storage,
2579}
2580#[repr(C)]
2581#[derive(Debug, Copy, Clone)]
2582pub struct rb_compile_option_struct {
2583    pub _bitfield_align_1: [u8; 0],
2584    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2usize]>,
2585    pub debug_level: ::std::os::raw::c_int,
2586}
2587impl rb_compile_option_struct {
2588    #[inline]
2589    pub fn inline_const_cache(&self) -> ::std::os::raw::c_uint {
2590        unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) }
2591    }
2592    #[inline]
2593    pub fn set_inline_const_cache(&mut self, val: ::std::os::raw::c_uint) {
2594        unsafe {
2595            let val: u32 = ::std::mem::transmute(val);
2596            self._bitfield_1.set(0usize, 1u8, val as u64)
2597        }
2598    }
2599    #[inline]
2600    pub unsafe fn inline_const_cache_raw(this: *const Self) -> ::std::os::raw::c_uint {
2601        unsafe {
2602            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(
2603                ::std::ptr::addr_of!((*this)._bitfield_1),
2604                0usize,
2605                1u8,
2606            ) as u32)
2607        }
2608    }
2609    #[inline]
2610    pub unsafe fn set_inline_const_cache_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2611        unsafe {
2612            let val: u32 = ::std::mem::transmute(val);
2613            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(
2614                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2615                0usize,
2616                1u8,
2617                val as u64,
2618            )
2619        }
2620    }
2621    #[inline]
2622    pub fn peephole_optimization(&self) -> ::std::os::raw::c_uint {
2623        unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u32) }
2624    }
2625    #[inline]
2626    pub fn set_peephole_optimization(&mut self, val: ::std::os::raw::c_uint) {
2627        unsafe {
2628            let val: u32 = ::std::mem::transmute(val);
2629            self._bitfield_1.set(1usize, 1u8, val as u64)
2630        }
2631    }
2632    #[inline]
2633    pub unsafe fn peephole_optimization_raw(this: *const Self) -> ::std::os::raw::c_uint {
2634        unsafe {
2635            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(
2636                ::std::ptr::addr_of!((*this)._bitfield_1),
2637                1usize,
2638                1u8,
2639            ) as u32)
2640        }
2641    }
2642    #[inline]
2643    pub unsafe fn set_peephole_optimization_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2644        unsafe {
2645            let val: u32 = ::std::mem::transmute(val);
2646            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(
2647                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2648                1usize,
2649                1u8,
2650                val as u64,
2651            )
2652        }
2653    }
2654    #[inline]
2655    pub fn tailcall_optimization(&self) -> ::std::os::raw::c_uint {
2656        unsafe { ::std::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u32) }
2657    }
2658    #[inline]
2659    pub fn set_tailcall_optimization(&mut self, val: ::std::os::raw::c_uint) {
2660        unsafe {
2661            let val: u32 = ::std::mem::transmute(val);
2662            self._bitfield_1.set(2usize, 1u8, val as u64)
2663        }
2664    }
2665    #[inline]
2666    pub unsafe fn tailcall_optimization_raw(this: *const Self) -> ::std::os::raw::c_uint {
2667        unsafe {
2668            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(
2669                ::std::ptr::addr_of!((*this)._bitfield_1),
2670                2usize,
2671                1u8,
2672            ) as u32)
2673        }
2674    }
2675    #[inline]
2676    pub unsafe fn set_tailcall_optimization_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2677        unsafe {
2678            let val: u32 = ::std::mem::transmute(val);
2679            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(
2680                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2681                2usize,
2682                1u8,
2683                val as u64,
2684            )
2685        }
2686    }
2687    #[inline]
2688    pub fn specialized_instruction(&self) -> ::std::os::raw::c_uint {
2689        unsafe { ::std::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u32) }
2690    }
2691    #[inline]
2692    pub fn set_specialized_instruction(&mut self, val: ::std::os::raw::c_uint) {
2693        unsafe {
2694            let val: u32 = ::std::mem::transmute(val);
2695            self._bitfield_1.set(3usize, 1u8, val as u64)
2696        }
2697    }
2698    #[inline]
2699    pub unsafe fn specialized_instruction_raw(this: *const Self) -> ::std::os::raw::c_uint {
2700        unsafe {
2701            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(
2702                ::std::ptr::addr_of!((*this)._bitfield_1),
2703                3usize,
2704                1u8,
2705            ) as u32)
2706        }
2707    }
2708    #[inline]
2709    pub unsafe fn set_specialized_instruction_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2710        unsafe {
2711            let val: u32 = ::std::mem::transmute(val);
2712            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(
2713                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2714                3usize,
2715                1u8,
2716                val as u64,
2717            )
2718        }
2719    }
2720    #[inline]
2721    pub fn operands_unification(&self) -> ::std::os::raw::c_uint {
2722        unsafe { ::std::mem::transmute(self._bitfield_1.get(4usize, 1u8) as u32) }
2723    }
2724    #[inline]
2725    pub fn set_operands_unification(&mut self, val: ::std::os::raw::c_uint) {
2726        unsafe {
2727            let val: u32 = ::std::mem::transmute(val);
2728            self._bitfield_1.set(4usize, 1u8, val as u64)
2729        }
2730    }
2731    #[inline]
2732    pub unsafe fn operands_unification_raw(this: *const Self) -> ::std::os::raw::c_uint {
2733        unsafe {
2734            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(
2735                ::std::ptr::addr_of!((*this)._bitfield_1),
2736                4usize,
2737                1u8,
2738            ) as u32)
2739        }
2740    }
2741    #[inline]
2742    pub unsafe fn set_operands_unification_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2743        unsafe {
2744            let val: u32 = ::std::mem::transmute(val);
2745            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(
2746                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2747                4usize,
2748                1u8,
2749                val as u64,
2750            )
2751        }
2752    }
2753    #[inline]
2754    pub fn instructions_unification(&self) -> ::std::os::raw::c_uint {
2755        unsafe { ::std::mem::transmute(self._bitfield_1.get(5usize, 1u8) as u32) }
2756    }
2757    #[inline]
2758    pub fn set_instructions_unification(&mut self, val: ::std::os::raw::c_uint) {
2759        unsafe {
2760            let val: u32 = ::std::mem::transmute(val);
2761            self._bitfield_1.set(5usize, 1u8, val as u64)
2762        }
2763    }
2764    #[inline]
2765    pub unsafe fn instructions_unification_raw(this: *const Self) -> ::std::os::raw::c_uint {
2766        unsafe {
2767            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(
2768                ::std::ptr::addr_of!((*this)._bitfield_1),
2769                5usize,
2770                1u8,
2771            ) as u32)
2772        }
2773    }
2774    #[inline]
2775    pub unsafe fn set_instructions_unification_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2776        unsafe {
2777            let val: u32 = ::std::mem::transmute(val);
2778            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(
2779                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2780                5usize,
2781                1u8,
2782                val as u64,
2783            )
2784        }
2785    }
2786    #[inline]
2787    pub fn stack_caching(&self) -> ::std::os::raw::c_uint {
2788        unsafe { ::std::mem::transmute(self._bitfield_1.get(6usize, 1u8) as u32) }
2789    }
2790    #[inline]
2791    pub fn set_stack_caching(&mut self, val: ::std::os::raw::c_uint) {
2792        unsafe {
2793            let val: u32 = ::std::mem::transmute(val);
2794            self._bitfield_1.set(6usize, 1u8, val as u64)
2795        }
2796    }
2797    #[inline]
2798    pub unsafe fn stack_caching_raw(this: *const Self) -> ::std::os::raw::c_uint {
2799        unsafe {
2800            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(
2801                ::std::ptr::addr_of!((*this)._bitfield_1),
2802                6usize,
2803                1u8,
2804            ) as u32)
2805        }
2806    }
2807    #[inline]
2808    pub unsafe fn set_stack_caching_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2809        unsafe {
2810            let val: u32 = ::std::mem::transmute(val);
2811            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(
2812                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2813                6usize,
2814                1u8,
2815                val as u64,
2816            )
2817        }
2818    }
2819    #[inline]
2820    pub fn frozen_string_literal(&self) -> ::std::os::raw::c_uint {
2821        unsafe { ::std::mem::transmute(self._bitfield_1.get(7usize, 1u8) as u32) }
2822    }
2823    #[inline]
2824    pub fn set_frozen_string_literal(&mut self, val: ::std::os::raw::c_uint) {
2825        unsafe {
2826            let val: u32 = ::std::mem::transmute(val);
2827            self._bitfield_1.set(7usize, 1u8, val as u64)
2828        }
2829    }
2830    #[inline]
2831    pub unsafe fn frozen_string_literal_raw(this: *const Self) -> ::std::os::raw::c_uint {
2832        unsafe {
2833            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(
2834                ::std::ptr::addr_of!((*this)._bitfield_1),
2835                7usize,
2836                1u8,
2837            ) as u32)
2838        }
2839    }
2840    #[inline]
2841    pub unsafe fn set_frozen_string_literal_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2842        unsafe {
2843            let val: u32 = ::std::mem::transmute(val);
2844            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(
2845                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2846                7usize,
2847                1u8,
2848                val as u64,
2849            )
2850        }
2851    }
2852    #[inline]
2853    pub fn debug_frozen_string_literal(&self) -> ::std::os::raw::c_uint {
2854        unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 1u8) as u32) }
2855    }
2856    #[inline]
2857    pub fn set_debug_frozen_string_literal(&mut self, val: ::std::os::raw::c_uint) {
2858        unsafe {
2859            let val: u32 = ::std::mem::transmute(val);
2860            self._bitfield_1.set(8usize, 1u8, val as u64)
2861        }
2862    }
2863    #[inline]
2864    pub unsafe fn debug_frozen_string_literal_raw(this: *const Self) -> ::std::os::raw::c_uint {
2865        unsafe {
2866            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(
2867                ::std::ptr::addr_of!((*this)._bitfield_1),
2868                8usize,
2869                1u8,
2870            ) as u32)
2871        }
2872    }
2873    #[inline]
2874    pub unsafe fn set_debug_frozen_string_literal_raw(
2875        this: *mut Self,
2876        val: ::std::os::raw::c_uint,
2877    ) {
2878        unsafe {
2879            let val: u32 = ::std::mem::transmute(val);
2880            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(
2881                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2882                8usize,
2883                1u8,
2884                val as u64,
2885            )
2886        }
2887    }
2888    #[inline]
2889    pub fn coverage_enabled(&self) -> ::std::os::raw::c_uint {
2890        unsafe { ::std::mem::transmute(self._bitfield_1.get(9usize, 1u8) as u32) }
2891    }
2892    #[inline]
2893    pub fn set_coverage_enabled(&mut self, val: ::std::os::raw::c_uint) {
2894        unsafe {
2895            let val: u32 = ::std::mem::transmute(val);
2896            self._bitfield_1.set(9usize, 1u8, val as u64)
2897        }
2898    }
2899    #[inline]
2900    pub unsafe fn coverage_enabled_raw(this: *const Self) -> ::std::os::raw::c_uint {
2901        unsafe {
2902            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(
2903                ::std::ptr::addr_of!((*this)._bitfield_1),
2904                9usize,
2905                1u8,
2906            ) as u32)
2907        }
2908    }
2909    #[inline]
2910    pub unsafe fn set_coverage_enabled_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2911        unsafe {
2912            let val: u32 = ::std::mem::transmute(val);
2913            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(
2914                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2915                9usize,
2916                1u8,
2917                val as u64,
2918            )
2919        }
2920    }
2921    #[inline]
2922    pub fn new_bitfield_1(
2923        inline_const_cache: ::std::os::raw::c_uint,
2924        peephole_optimization: ::std::os::raw::c_uint,
2925        tailcall_optimization: ::std::os::raw::c_uint,
2926        specialized_instruction: ::std::os::raw::c_uint,
2927        operands_unification: ::std::os::raw::c_uint,
2928        instructions_unification: ::std::os::raw::c_uint,
2929        stack_caching: ::std::os::raw::c_uint,
2930        frozen_string_literal: ::std::os::raw::c_uint,
2931        debug_frozen_string_literal: ::std::os::raw::c_uint,
2932        coverage_enabled: ::std::os::raw::c_uint,
2933    ) -> __BindgenBitfieldUnit<[u8; 2usize]> {
2934        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 2usize]> = Default::default();
2935        __bindgen_bitfield_unit.set(0usize, 1u8, {
2936            let inline_const_cache: u32 = unsafe { ::std::mem::transmute(inline_const_cache) };
2937            inline_const_cache as u64
2938        });
2939        __bindgen_bitfield_unit.set(1usize, 1u8, {
2940            let peephole_optimization: u32 =
2941                unsafe { ::std::mem::transmute(peephole_optimization) };
2942            peephole_optimization as u64
2943        });
2944        __bindgen_bitfield_unit.set(2usize, 1u8, {
2945            let tailcall_optimization: u32 =
2946                unsafe { ::std::mem::transmute(tailcall_optimization) };
2947            tailcall_optimization as u64
2948        });
2949        __bindgen_bitfield_unit.set(3usize, 1u8, {
2950            let specialized_instruction: u32 =
2951                unsafe { ::std::mem::transmute(specialized_instruction) };
2952            specialized_instruction as u64
2953        });
2954        __bindgen_bitfield_unit.set(4usize, 1u8, {
2955            let operands_unification: u32 = unsafe { ::std::mem::transmute(operands_unification) };
2956            operands_unification as u64
2957        });
2958        __bindgen_bitfield_unit.set(5usize, 1u8, {
2959            let instructions_unification: u32 =
2960                unsafe { ::std::mem::transmute(instructions_unification) };
2961            instructions_unification as u64
2962        });
2963        __bindgen_bitfield_unit.set(6usize, 1u8, {
2964            let stack_caching: u32 = unsafe { ::std::mem::transmute(stack_caching) };
2965            stack_caching as u64
2966        });
2967        __bindgen_bitfield_unit.set(7usize, 1u8, {
2968            let frozen_string_literal: u32 =
2969                unsafe { ::std::mem::transmute(frozen_string_literal) };
2970            frozen_string_literal as u64
2971        });
2972        __bindgen_bitfield_unit.set(8usize, 1u8, {
2973            let debug_frozen_string_literal: u32 =
2974                unsafe { ::std::mem::transmute(debug_frozen_string_literal) };
2975            debug_frozen_string_literal as u64
2976        });
2977        __bindgen_bitfield_unit.set(9usize, 1u8, {
2978            let coverage_enabled: u32 = unsafe { ::std::mem::transmute(coverage_enabled) };
2979            coverage_enabled as u64
2980        });
2981        __bindgen_bitfield_unit
2982    }
2983}
2984#[repr(C)]
2985#[derive(Debug, Copy, Clone)]
2986pub struct iseq_insn_info_entry {
2987    pub line_no: ::std::os::raw::c_int,
2988    pub events: rb_event_flag_t,
2989}
2990#[repr(C)]
2991#[derive(Debug, Copy, Clone)]
2992pub struct iseq_catch_table_entry {
2993    pub type_: iseq_catch_table_entry_catch_type,
2994    pub iseq: *mut rb_iseq_t,
2995    pub start: ::std::os::raw::c_uint,
2996    pub end: ::std::os::raw::c_uint,
2997    pub cont: ::std::os::raw::c_uint,
2998    pub sp: ::std::os::raw::c_uint,
2999}
3000pub const iseq_catch_table_entry_catch_type_CATCH_TYPE_RESCUE: iseq_catch_table_entry_catch_type =
3001    3;
3002pub const iseq_catch_table_entry_catch_type_CATCH_TYPE_ENSURE: iseq_catch_table_entry_catch_type =
3003    5;
3004pub const iseq_catch_table_entry_catch_type_CATCH_TYPE_RETRY: iseq_catch_table_entry_catch_type = 7;
3005pub const iseq_catch_table_entry_catch_type_CATCH_TYPE_BREAK: iseq_catch_table_entry_catch_type = 9;
3006pub const iseq_catch_table_entry_catch_type_CATCH_TYPE_REDO: iseq_catch_table_entry_catch_type = 11;
3007pub const iseq_catch_table_entry_catch_type_CATCH_TYPE_NEXT: iseq_catch_table_entry_catch_type = 13;
3008pub type iseq_catch_table_entry_catch_type = ::std::os::raw::c_uint;
3009#[repr(C, packed)]
3010pub struct iseq_catch_table {
3011    pub size: ::std::os::raw::c_uint,
3012    pub entries: __IncompleteArrayField<iseq_catch_table_entry>,
3013}
3014#[repr(C)]
3015#[derive(Debug)]
3016pub struct iseq_compile_data_storage {
3017    pub next: *mut iseq_compile_data_storage,
3018    pub pos: ::std::os::raw::c_uint,
3019    pub size: ::std::os::raw::c_uint,
3020    pub buff: __IncompleteArrayField<::std::os::raw::c_char>,
3021}
3022#[repr(C)]
3023#[derive(Debug, Copy, Clone)]
3024pub struct rb_id_table {
3025    pub _address: u8,
3026}
3027#[repr(C)]
3028#[derive(Debug, Copy, Clone)]
3029pub struct succ_index_table {
3030    pub _address: u8,
3031}
3032#[repr(C)]
3033#[derive(Debug, Copy, Clone)]
3034pub struct rb_event_hook_struct {
3035    pub _address: u8,
3036}
3037#[repr(C)]
3038#[derive(Debug, Copy, Clone)]
3039pub struct rb_postponed_job_struct {
3040    pub _address: u8,
3041}
3042#[repr(C)]
3043#[derive(Debug, Copy, Clone)]
3044pub struct iseq_label_data {
3045    pub _address: u8,
3046}
3047#[repr(C)]
3048#[derive(Debug, Copy, Clone)]
3049pub struct iseq_compile_data_ensure_node_stack {
3050    pub _address: u8,
3051}