rbspy_ruby_structs/
ruby_2_3_1.rs

1/* automatically generated by rust-bindgen 0.71.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 = *(core::ptr::addr_of!((*this).storage) as *const u8).offset(byte_index as isize);
40        Self::extract_bit(byte, index)
41    }
42    #[inline]
43    fn change_bit(byte: u8, index: usize, val: bool) -> u8 {
44        let bit_index = if cfg!(target_endian = "big") {
45            7 - (index % 8)
46        } else {
47            index % 8
48        };
49        let mask = 1 << bit_index;
50        if val {
51            byte | mask
52        } else {
53            byte & !mask
54        }
55    }
56    #[inline]
57    pub fn set_bit(&mut self, index: usize, val: bool) {
58        debug_assert!(index / 8 < self.storage.as_ref().len());
59        let byte_index = index / 8;
60        let byte = &mut self.storage.as_mut()[byte_index];
61        *byte = Self::change_bit(*byte, index, val);
62    }
63    #[inline]
64    pub unsafe fn raw_set_bit(this: *mut Self, index: usize, val: bool) {
65        debug_assert!(index / 8 < core::mem::size_of::<Storage>());
66        let byte_index = index / 8;
67        let byte =
68            (core::ptr::addr_of_mut!((*this).storage) as *mut u8).offset(byte_index as isize);
69        *byte = Self::change_bit(*byte, index, val);
70    }
71    #[inline]
72    pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 {
73        debug_assert!(bit_width <= 64);
74        debug_assert!(bit_offset / 8 < self.storage.as_ref().len());
75        debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len());
76        let mut val = 0;
77        for i in 0..(bit_width as usize) {
78            if self.get_bit(i + bit_offset) {
79                let index = if cfg!(target_endian = "big") {
80                    bit_width as usize - 1 - i
81                } else {
82                    i
83                };
84                val |= 1 << index;
85            }
86        }
87        val
88    }
89    #[inline]
90    pub unsafe fn raw_get(this: *const Self, bit_offset: usize, bit_width: u8) -> u64 {
91        debug_assert!(bit_width <= 64);
92        debug_assert!(bit_offset / 8 < core::mem::size_of::<Storage>());
93        debug_assert!((bit_offset + (bit_width as usize)) / 8 <= core::mem::size_of::<Storage>());
94        let mut val = 0;
95        for i in 0..(bit_width as usize) {
96            if Self::raw_get_bit(this, i + bit_offset) {
97                let index = if cfg!(target_endian = "big") {
98                    bit_width as usize - 1 - i
99                } else {
100                    i
101                };
102                val |= 1 << index;
103            }
104        }
105        val
106    }
107    #[inline]
108    pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) {
109        debug_assert!(bit_width <= 64);
110        debug_assert!(bit_offset / 8 < self.storage.as_ref().len());
111        debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len());
112        for i in 0..(bit_width as usize) {
113            let mask = 1 << i;
114            let val_bit_is_set = val & mask == mask;
115            let index = if cfg!(target_endian = "big") {
116                bit_width as usize - 1 - i
117            } else {
118                i
119            };
120            self.set_bit(index + bit_offset, val_bit_is_set);
121        }
122    }
123    #[inline]
124    pub unsafe fn raw_set(this: *mut Self, bit_offset: usize, bit_width: u8, val: u64) {
125        debug_assert!(bit_width <= 64);
126        debug_assert!(bit_offset / 8 < core::mem::size_of::<Storage>());
127        debug_assert!((bit_offset + (bit_width as usize)) / 8 <= core::mem::size_of::<Storage>());
128        for i in 0..(bit_width as usize) {
129            let mask = 1 << i;
130            let val_bit_is_set = val & mask == mask;
131            let index = if cfg!(target_endian = "big") {
132                bit_width as usize - 1 - i
133            } else {
134                i
135            };
136            Self::raw_set_bit(this, index + bit_offset, val_bit_is_set);
137        }
138    }
139}
140pub type __clockid_t = ::std::os::raw::c_int;
141pub type clockid_t = __clockid_t;
142#[repr(C)]
143#[derive(Debug, Copy, Clone)]
144pub struct __sigset_t {
145    pub __val: [usize; 16usize],
146}
147#[repr(C)]
148#[derive(Debug, Copy, Clone)]
149pub struct __pthread_internal_list {
150    pub __prev: *mut __pthread_internal_list,
151    pub __next: *mut __pthread_internal_list,
152}
153pub type __pthread_list_t = __pthread_internal_list;
154#[repr(C)]
155#[derive(Debug, Copy, Clone)]
156pub struct __pthread_mutex_s {
157    pub __lock: ::std::os::raw::c_int,
158    pub __count: ::std::os::raw::c_uint,
159    pub __owner: ::std::os::raw::c_int,
160    pub __nusers: ::std::os::raw::c_uint,
161    pub __kind: ::std::os::raw::c_int,
162    pub __spins: ::std::os::raw::c_short,
163    pub __elision: ::std::os::raw::c_short,
164    pub __list: __pthread_list_t,
165}
166#[repr(C)]
167#[derive(Copy, Clone)]
168pub struct __pthread_cond_s {
169    pub __bindgen_anon_1: __pthread_cond_s__bindgen_ty_1,
170    pub __bindgen_anon_2: __pthread_cond_s__bindgen_ty_2,
171    pub __g_refs: [::std::os::raw::c_uint; 2usize],
172    pub __g_size: [::std::os::raw::c_uint; 2usize],
173    pub __g1_orig_size: ::std::os::raw::c_uint,
174    pub __wrefs: ::std::os::raw::c_uint,
175    pub __g_signals: [::std::os::raw::c_uint; 2usize],
176}
177#[repr(C)]
178#[derive(Copy, Clone)]
179pub union __pthread_cond_s__bindgen_ty_1 {
180    pub __wseq: ::std::os::raw::c_ulonglong,
181    pub __wseq32: __pthread_cond_s__bindgen_ty_1__bindgen_ty_1,
182}
183#[repr(C)]
184#[derive(Debug, Copy, Clone)]
185pub struct __pthread_cond_s__bindgen_ty_1__bindgen_ty_1 {
186    pub __low: ::std::os::raw::c_uint,
187    pub __high: ::std::os::raw::c_uint,
188}
189impl ::std::fmt::Debug for __pthread_cond_s__bindgen_ty_1 {
190    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
191        write!(f, "__pthread_cond_s__bindgen_ty_1 {{ union }}")
192    }
193}
194#[repr(C)]
195#[derive(Copy, Clone)]
196pub union __pthread_cond_s__bindgen_ty_2 {
197    pub __g1_start: ::std::os::raw::c_ulonglong,
198    pub __g1_start32: __pthread_cond_s__bindgen_ty_2__bindgen_ty_1,
199}
200#[repr(C)]
201#[derive(Debug, Copy, Clone)]
202pub struct __pthread_cond_s__bindgen_ty_2__bindgen_ty_1 {
203    pub __low: ::std::os::raw::c_uint,
204    pub __high: ::std::os::raw::c_uint,
205}
206impl ::std::fmt::Debug for __pthread_cond_s__bindgen_ty_2 {
207    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
208        write!(f, "__pthread_cond_s__bindgen_ty_2 {{ union }}")
209    }
210}
211impl ::std::fmt::Debug for __pthread_cond_s {
212    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
213        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)
214    }
215}
216pub type pthread_t = usize;
217#[repr(C)]
218#[derive(Copy, Clone)]
219pub union pthread_mutex_t {
220    pub __data: __pthread_mutex_s,
221    pub __size: [::std::os::raw::c_char; 40usize],
222    pub __align: ::std::os::raw::c_long,
223}
224impl ::std::fmt::Debug for pthread_mutex_t {
225    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
226        write!(f, "pthread_mutex_t {{ union }}")
227    }
228}
229#[repr(C)]
230#[derive(Copy, Clone)]
231pub union pthread_cond_t {
232    pub __data: __pthread_cond_s,
233    pub __size: [::std::os::raw::c_char; 48usize],
234    pub __align: ::std::os::raw::c_longlong,
235}
236impl ::std::fmt::Debug for pthread_cond_t {
237    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
238        write!(f, "pthread_cond_t {{ union }}")
239    }
240}
241pub type VALUE = usize;
242pub type ID = usize;
243pub const ruby_fl_type_RUBY_FL_WB_PROTECTED: ruby_fl_type = 32;
244pub const ruby_fl_type_RUBY_FL_PROMOTED0: ruby_fl_type = 32;
245pub const ruby_fl_type_RUBY_FL_PROMOTED1: ruby_fl_type = 64;
246pub const ruby_fl_type_RUBY_FL_PROMOTED: ruby_fl_type = 96;
247pub const ruby_fl_type_RUBY_FL_FINALIZE: ruby_fl_type = 128;
248pub const ruby_fl_type_RUBY_FL_TAINT: ruby_fl_type = 256;
249pub const ruby_fl_type_RUBY_FL_UNTRUSTED: ruby_fl_type = 256;
250pub const ruby_fl_type_RUBY_FL_EXIVAR: ruby_fl_type = 1024;
251pub const ruby_fl_type_RUBY_FL_FREEZE: ruby_fl_type = 2048;
252pub const ruby_fl_type_RUBY_FL_USHIFT: ruby_fl_type = 12;
253pub const ruby_fl_type_RUBY_FL_USER0: ruby_fl_type = 4096;
254pub const ruby_fl_type_RUBY_FL_USER1: ruby_fl_type = 8192;
255pub const ruby_fl_type_RUBY_FL_USER2: ruby_fl_type = 16384;
256pub const ruby_fl_type_RUBY_FL_USER3: ruby_fl_type = 32768;
257pub const ruby_fl_type_RUBY_FL_USER4: ruby_fl_type = 65536;
258pub const ruby_fl_type_RUBY_FL_USER5: ruby_fl_type = 131072;
259pub const ruby_fl_type_RUBY_FL_USER6: ruby_fl_type = 262144;
260pub const ruby_fl_type_RUBY_FL_USER7: ruby_fl_type = 524288;
261pub const ruby_fl_type_RUBY_FL_USER8: ruby_fl_type = 1048576;
262pub const ruby_fl_type_RUBY_FL_USER9: ruby_fl_type = 2097152;
263pub const ruby_fl_type_RUBY_FL_USER10: ruby_fl_type = 4194304;
264pub const ruby_fl_type_RUBY_FL_USER11: ruby_fl_type = 8388608;
265pub const ruby_fl_type_RUBY_FL_USER12: ruby_fl_type = 16777216;
266pub const ruby_fl_type_RUBY_FL_USER13: ruby_fl_type = 33554432;
267pub const ruby_fl_type_RUBY_FL_USER14: ruby_fl_type = 67108864;
268pub const ruby_fl_type_RUBY_FL_USER15: ruby_fl_type = 134217728;
269pub const ruby_fl_type_RUBY_FL_USER16: ruby_fl_type = 268435456;
270pub const ruby_fl_type_RUBY_FL_USER17: ruby_fl_type = 536870912;
271pub const ruby_fl_type_RUBY_FL_USER18: ruby_fl_type = 1073741824;
272pub const ruby_fl_type_RUBY_FL_USER19: ruby_fl_type = -2147483648;
273pub const ruby_fl_type_RUBY_ELTS_SHARED: ruby_fl_type = 16384;
274pub const ruby_fl_type_RUBY_FL_DUPPED: ruby_fl_type = 1311;
275pub const ruby_fl_type_RUBY_FL_SINGLETON: ruby_fl_type = 4096;
276pub type ruby_fl_type = ::std::os::raw::c_int;
277#[repr(C)]
278#[derive(Debug, Copy, Clone)]
279pub struct RBasic {
280    pub flags: VALUE,
281    pub klass: VALUE,
282}
283#[repr(C)]
284#[derive(Copy, Clone)]
285pub struct RString {
286    pub basic: RBasic,
287    pub as_: RString__bindgen_ty_1,
288}
289#[repr(C)]
290#[derive(Copy, Clone)]
291pub union RString__bindgen_ty_1 {
292    pub heap: RString__bindgen_ty_1__bindgen_ty_1,
293    pub ary: [::std::os::raw::c_char; 24usize],
294}
295#[repr(C)]
296#[derive(Copy, Clone)]
297pub struct RString__bindgen_ty_1__bindgen_ty_1 {
298    pub len: ::std::os::raw::c_long,
299    pub ptr: *mut ::std::os::raw::c_char,
300    pub aux: RString__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1,
301}
302#[repr(C)]
303#[derive(Copy, Clone)]
304pub union RString__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 {
305    pub capa: ::std::os::raw::c_long,
306    pub shared: VALUE,
307}
308impl ::std::fmt::Debug for RString__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 {
309    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
310        write!(
311            f,
312            "RString__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 {{ union }}"
313        )
314    }
315}
316impl ::std::fmt::Debug for RString__bindgen_ty_1__bindgen_ty_1 {
317    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
318        write!(
319            f,
320            "RString__bindgen_ty_1__bindgen_ty_1 {{ len: {:?}, ptr: {:?}, aux: {:?} }}",
321            self.len, self.ptr, self.aux
322        )
323    }
324}
325impl ::std::fmt::Debug for RString__bindgen_ty_1 {
326    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
327        write!(f, "RString__bindgen_ty_1 {{ union }}")
328    }
329}
330impl ::std::fmt::Debug for RString {
331    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
332        write!(
333            f,
334            "RString {{ basic: {:?}, as: {:?} }}",
335            self.basic, self.as_
336        )
337    }
338}
339#[repr(C)]
340#[derive(Copy, Clone)]
341pub struct RArray {
342    pub basic: RBasic,
343    pub as_: RArray__bindgen_ty_1,
344}
345#[repr(C)]
346#[derive(Copy, Clone)]
347pub union RArray__bindgen_ty_1 {
348    pub heap: RArray__bindgen_ty_1__bindgen_ty_1,
349    pub ary: [VALUE; 3usize],
350}
351#[repr(C)]
352#[derive(Copy, Clone)]
353pub struct RArray__bindgen_ty_1__bindgen_ty_1 {
354    pub len: ::std::os::raw::c_long,
355    pub aux: RArray__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1,
356    pub ptr: *const VALUE,
357}
358#[repr(C)]
359#[derive(Copy, Clone)]
360pub union RArray__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 {
361    pub capa: ::std::os::raw::c_long,
362    pub shared: VALUE,
363}
364impl ::std::fmt::Debug for RArray__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 {
365    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
366        write!(
367            f,
368            "RArray__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 {{ union }}"
369        )
370    }
371}
372impl ::std::fmt::Debug for RArray__bindgen_ty_1__bindgen_ty_1 {
373    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
374        write!(
375            f,
376            "RArray__bindgen_ty_1__bindgen_ty_1 {{ len: {:?}, aux: {:?}, ptr: {:?} }}",
377            self.len, self.aux, self.ptr
378        )
379    }
380}
381impl ::std::fmt::Debug for RArray__bindgen_ty_1 {
382    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
383        write!(f, "RArray__bindgen_ty_1 {{ union }}")
384    }
385}
386impl ::std::fmt::Debug for RArray {
387    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
388        write!(
389            f,
390            "RArray {{ basic: {:?}, as: {:?} }}",
391            self.basic, self.as_
392        )
393    }
394}
395pub type st_data_t = usize;
396pub type st_index_t = st_data_t;
397#[repr(C)]
398#[derive(Debug, Copy, Clone)]
399pub struct st_hash_type {
400    pub compare: ::std::option::Option<unsafe extern "C" fn() -> ::std::os::raw::c_int>,
401    pub hash: ::std::option::Option<unsafe extern "C" fn() -> st_index_t>,
402}
403#[repr(C)]
404#[derive(Copy, Clone)]
405pub struct st_table {
406    pub type_: *const st_hash_type,
407    pub num_bins: st_index_t,
408    pub _bitfield_align_1: [u64; 0],
409    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
410    pub as_: st_table__bindgen_ty_1,
411}
412#[repr(C)]
413#[derive(Copy, Clone)]
414pub union st_table__bindgen_ty_1 {
415    pub big: st_table__bindgen_ty_1__bindgen_ty_1,
416    pub packed: st_table__bindgen_ty_1__bindgen_ty_2,
417}
418#[repr(C)]
419#[derive(Debug, Copy, Clone)]
420pub struct st_table__bindgen_ty_1__bindgen_ty_1 {
421    pub bins: *mut *mut st_table_entry,
422    pub private_list_head: [*mut ::std::os::raw::c_void; 2usize],
423}
424#[repr(C)]
425#[derive(Debug, Copy, Clone)]
426pub struct st_table__bindgen_ty_1__bindgen_ty_2 {
427    pub entries: *mut st_packed_entry,
428    pub real_entries: st_index_t,
429}
430impl ::std::fmt::Debug for st_table__bindgen_ty_1 {
431    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
432        write!(f, "st_table__bindgen_ty_1 {{ union }}")
433    }
434}
435impl ::std::fmt::Debug for st_table {
436    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
437        write ! (f , "st_table {{ type: {:?}, num_bins: {:?}, entries_packed : {:?}, num_entries : {:?}, as: {:?} }}" , self . type_ , self . num_bins , self . entries_packed () , self . num_entries () , self . as_)
438    }
439}
440impl st_table {
441    #[inline]
442    pub fn entries_packed(&self) -> ::std::os::raw::c_uint {
443        unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) }
444    }
445    #[inline]
446    pub fn set_entries_packed(&mut self, val: ::std::os::raw::c_uint) {
447        unsafe {
448            let val: u32 = ::std::mem::transmute(val);
449            self._bitfield_1.set(0usize, 1u8, val as u64)
450        }
451    }
452    #[inline]
453    pub unsafe fn entries_packed_raw(this: *const Self) -> ::std::os::raw::c_uint {
454        unsafe {
455            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 8usize]>>::raw_get(
456                ::std::ptr::addr_of!((*this)._bitfield_1),
457                0usize,
458                1u8,
459            ) as u32)
460        }
461    }
462    #[inline]
463    pub unsafe fn set_entries_packed_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
464        unsafe {
465            let val: u32 = ::std::mem::transmute(val);
466            <__BindgenBitfieldUnit<[u8; 8usize]>>::raw_set(
467                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
468                0usize,
469                1u8,
470                val as u64,
471            )
472        }
473    }
474    #[inline]
475    pub fn num_entries(&self) -> st_index_t {
476        unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 63u8) as usize) }
477    }
478    #[inline]
479    pub fn set_num_entries(&mut self, val: st_index_t) {
480        unsafe {
481            let val: usize = ::std::mem::transmute(val);
482            self._bitfield_1.set(1usize, 63u8, val as u64)
483        }
484    }
485    #[inline]
486    pub unsafe fn num_entries_raw(this: *const Self) -> st_index_t {
487        unsafe {
488            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 8usize]>>::raw_get(
489                ::std::ptr::addr_of!((*this)._bitfield_1),
490                1usize,
491                63u8,
492            ) as u64)
493        }
494    }
495    #[inline]
496    pub unsafe fn set_num_entries_raw(this: *mut Self, val: st_index_t) {
497        unsafe {
498            let val: usize = ::std::mem::transmute(val);
499            <__BindgenBitfieldUnit<[u8; 8usize]>>::raw_set(
500                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
501                1usize,
502                63u8,
503                val as u64,
504            )
505        }
506    }
507    #[inline]
508    pub fn new_bitfield_1(
509        entries_packed: ::std::os::raw::c_uint,
510        num_entries: st_index_t,
511    ) -> __BindgenBitfieldUnit<[u8; 8usize]> {
512        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 8usize]> = Default::default();
513        __bindgen_bitfield_unit.set(0usize, 1u8, {
514            let entries_packed: u32 = unsafe { ::std::mem::transmute(entries_packed) };
515            entries_packed as u64
516        });
517        __bindgen_bitfield_unit.set(1usize, 63u8, {
518            let num_entries: usize = unsafe { ::std::mem::transmute(num_entries) };
519            num_entries as u64
520        });
521        __bindgen_bitfield_unit
522    }
523}
524pub type rb_unblock_function_t =
525    ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>;
526pub type rb_event_flag_t = u32;
527pub const ruby_id_types_RUBY_ID_STATIC_SYM: ruby_id_types = 1;
528pub const ruby_id_types_RUBY_ID_LOCAL: ruby_id_types = 0;
529pub const ruby_id_types_RUBY_ID_INSTANCE: ruby_id_types = 2;
530pub const ruby_id_types_RUBY_ID_GLOBAL: ruby_id_types = 6;
531pub const ruby_id_types_RUBY_ID_ATTRSET: ruby_id_types = 8;
532pub const ruby_id_types_RUBY_ID_CONST: ruby_id_types = 10;
533pub const ruby_id_types_RUBY_ID_CLASS: ruby_id_types = 12;
534pub const ruby_id_types_RUBY_ID_JUNK: ruby_id_types = 14;
535pub const ruby_id_types_RUBY_ID_INTERNAL: ruby_id_types = 14;
536pub const ruby_id_types_RUBY_ID_SCOPE_SHIFT: ruby_id_types = 4;
537pub const ruby_id_types_RUBY_ID_SCOPE_MASK: ruby_id_types = 14;
538pub type ruby_id_types = ::std::os::raw::c_uint;
539pub const ruby_method_ids_idDot2: ruby_method_ids = 128;
540pub const ruby_method_ids_idDot3: ruby_method_ids = 129;
541pub const ruby_method_ids_idUPlus: ruby_method_ids = 130;
542pub const ruby_method_ids_idUMinus: ruby_method_ids = 131;
543pub const ruby_method_ids_idPow: ruby_method_ids = 132;
544pub const ruby_method_ids_idCmp: ruby_method_ids = 134;
545pub const ruby_method_ids_idPLUS: ruby_method_ids = 43;
546pub const ruby_method_ids_idMINUS: ruby_method_ids = 45;
547pub const ruby_method_ids_idMULT: ruby_method_ids = 42;
548pub const ruby_method_ids_idDIV: ruby_method_ids = 47;
549pub const ruby_method_ids_idMOD: ruby_method_ids = 37;
550pub const ruby_method_ids_idLTLT: ruby_method_ids = 135;
551pub const ruby_method_ids_idGTGT: ruby_method_ids = 136;
552pub const ruby_method_ids_idLT: ruby_method_ids = 60;
553pub const ruby_method_ids_idLE: ruby_method_ids = 137;
554pub const ruby_method_ids_idGT: ruby_method_ids = 62;
555pub const ruby_method_ids_idGE: ruby_method_ids = 138;
556pub const ruby_method_ids_idEq: ruby_method_ids = 139;
557pub const ruby_method_ids_idEqq: ruby_method_ids = 140;
558pub const ruby_method_ids_idNeq: ruby_method_ids = 141;
559pub const ruby_method_ids_idNot: ruby_method_ids = 33;
560pub const ruby_method_ids_idBackquote: ruby_method_ids = 96;
561pub const ruby_method_ids_idEqTilde: ruby_method_ids = 142;
562pub const ruby_method_ids_idNeqTilde: ruby_method_ids = 143;
563pub const ruby_method_ids_idAREF: ruby_method_ids = 144;
564pub const ruby_method_ids_idASET: ruby_method_ids = 145;
565pub const ruby_method_ids_idCOLON2: ruby_method_ids = 146;
566pub const ruby_method_ids_idANDOP: ruby_method_ids = 148;
567pub const ruby_method_ids_idOROP: ruby_method_ids = 149;
568pub const ruby_method_ids_idANDDOT: ruby_method_ids = 150;
569pub const ruby_method_ids_tPRESERVED_ID_BEGIN: ruby_method_ids = 150;
570pub const ruby_method_ids_idNULL: ruby_method_ids = 151;
571pub const ruby_method_ids_idEmptyP: ruby_method_ids = 152;
572pub const ruby_method_ids_idEqlP: ruby_method_ids = 153;
573pub const ruby_method_ids_idRespond_to: ruby_method_ids = 154;
574pub const ruby_method_ids_idRespond_to_missing: ruby_method_ids = 155;
575pub const ruby_method_ids_idIFUNC: ruby_method_ids = 156;
576pub const ruby_method_ids_idCFUNC: ruby_method_ids = 157;
577pub const ruby_method_ids_id_core_set_method_alias: ruby_method_ids = 158;
578pub const ruby_method_ids_id_core_set_variable_alias: ruby_method_ids = 159;
579pub const ruby_method_ids_id_core_undef_method: ruby_method_ids = 160;
580pub const ruby_method_ids_id_core_define_method: ruby_method_ids = 161;
581pub const ruby_method_ids_id_core_define_singleton_method: ruby_method_ids = 162;
582pub const ruby_method_ids_id_core_set_postexe: ruby_method_ids = 163;
583pub const ruby_method_ids_id_core_hash_from_ary: ruby_method_ids = 164;
584pub const ruby_method_ids_id_core_hash_merge_ary: ruby_method_ids = 165;
585pub const ruby_method_ids_id_core_hash_merge_ptr: ruby_method_ids = 166;
586pub const ruby_method_ids_id_core_hash_merge_kwd: ruby_method_ids = 167;
587pub const ruby_method_ids_id_debug_created_info: ruby_method_ids = 168;
588pub const ruby_method_ids_tPRESERVED_ID_END: ruby_method_ids = 169;
589pub const ruby_method_ids_tFreeze: ruby_method_ids = 170;
590pub const ruby_method_ids_tInspect: ruby_method_ids = 171;
591pub const ruby_method_ids_tIntern: ruby_method_ids = 172;
592pub const ruby_method_ids_tObject_id: ruby_method_ids = 173;
593pub const ruby_method_ids_tConst_missing: ruby_method_ids = 174;
594pub const ruby_method_ids_tMethodMissing: ruby_method_ids = 175;
595pub const ruby_method_ids_tMethod_added: ruby_method_ids = 176;
596pub const ruby_method_ids_tSingleton_method_added: ruby_method_ids = 177;
597pub const ruby_method_ids_tMethod_removed: ruby_method_ids = 178;
598pub const ruby_method_ids_tSingleton_method_removed: ruby_method_ids = 179;
599pub const ruby_method_ids_tMethod_undefined: ruby_method_ids = 180;
600pub const ruby_method_ids_tSingleton_method_undefined: ruby_method_ids = 181;
601pub const ruby_method_ids_tLength: ruby_method_ids = 182;
602pub const ruby_method_ids_tSize: ruby_method_ids = 183;
603pub const ruby_method_ids_tGets: ruby_method_ids = 184;
604pub const ruby_method_ids_tSucc: ruby_method_ids = 185;
605pub const ruby_method_ids_tEach: ruby_method_ids = 186;
606pub const ruby_method_ids_tProc: ruby_method_ids = 187;
607pub const ruby_method_ids_tLambda: ruby_method_ids = 188;
608pub const ruby_method_ids_tSend: ruby_method_ids = 189;
609pub const ruby_method_ids_t__send__: ruby_method_ids = 190;
610pub const ruby_method_ids_t__attached__: ruby_method_ids = 191;
611pub const ruby_method_ids_tInitialize: ruby_method_ids = 192;
612pub const ruby_method_ids_tInitialize_copy: ruby_method_ids = 193;
613pub const ruby_method_ids_tInitialize_clone: ruby_method_ids = 194;
614pub const ruby_method_ids_tInitialize_dup: ruby_method_ids = 195;
615pub const ruby_method_ids_tTo_int: ruby_method_ids = 196;
616pub const ruby_method_ids_tTo_ary: ruby_method_ids = 197;
617pub const ruby_method_ids_tTo_str: ruby_method_ids = 198;
618pub const ruby_method_ids_tTo_sym: ruby_method_ids = 199;
619pub const ruby_method_ids_tTo_hash: ruby_method_ids = 200;
620pub const ruby_method_ids_tTo_proc: ruby_method_ids = 201;
621pub const ruby_method_ids_tTo_io: ruby_method_ids = 202;
622pub const ruby_method_ids_tTo_a: ruby_method_ids = 203;
623pub const ruby_method_ids_tTo_s: ruby_method_ids = 204;
624pub const ruby_method_ids_tTo_i: ruby_method_ids = 205;
625pub const ruby_method_ids_tBt: ruby_method_ids = 206;
626pub const ruby_method_ids_tBt_locations: ruby_method_ids = 207;
627pub const ruby_method_ids_tCall: ruby_method_ids = 208;
628pub const ruby_method_ids_tMesg: ruby_method_ids = 209;
629pub const ruby_method_ids_tException: ruby_method_ids = 210;
630pub const ruby_method_ids_tUScore: ruby_method_ids = 211;
631pub const ruby_method_ids_tNEXT_ID: ruby_method_ids = 212;
632pub const ruby_method_ids_idFreeze: ruby_method_ids = 2721;
633pub const ruby_method_ids_idInspect: ruby_method_ids = 2737;
634pub const ruby_method_ids_idIntern: ruby_method_ids = 2753;
635pub const ruby_method_ids_idObject_id: ruby_method_ids = 2769;
636pub const ruby_method_ids_idConst_missing: ruby_method_ids = 2785;
637pub const ruby_method_ids_idMethodMissing: ruby_method_ids = 2801;
638pub const ruby_method_ids_idMethod_added: ruby_method_ids = 2817;
639pub const ruby_method_ids_idSingleton_method_added: ruby_method_ids = 2833;
640pub const ruby_method_ids_idMethod_removed: ruby_method_ids = 2849;
641pub const ruby_method_ids_idSingleton_method_removed: ruby_method_ids = 2865;
642pub const ruby_method_ids_idMethod_undefined: ruby_method_ids = 2881;
643pub const ruby_method_ids_idSingleton_method_undefined: ruby_method_ids = 2897;
644pub const ruby_method_ids_idLength: ruby_method_ids = 2913;
645pub const ruby_method_ids_idSize: ruby_method_ids = 2929;
646pub const ruby_method_ids_idGets: ruby_method_ids = 2945;
647pub const ruby_method_ids_idSucc: ruby_method_ids = 2961;
648pub const ruby_method_ids_idEach: ruby_method_ids = 2977;
649pub const ruby_method_ids_idProc: ruby_method_ids = 2993;
650pub const ruby_method_ids_idLambda: ruby_method_ids = 3009;
651pub const ruby_method_ids_idSend: ruby_method_ids = 3025;
652pub const ruby_method_ids_id__send__: ruby_method_ids = 3041;
653pub const ruby_method_ids_id__attached__: ruby_method_ids = 3057;
654pub const ruby_method_ids_idInitialize: ruby_method_ids = 3073;
655pub const ruby_method_ids_idInitialize_copy: ruby_method_ids = 3089;
656pub const ruby_method_ids_idInitialize_clone: ruby_method_ids = 3105;
657pub const ruby_method_ids_idInitialize_dup: ruby_method_ids = 3121;
658pub const ruby_method_ids_idTo_int: ruby_method_ids = 3137;
659pub const ruby_method_ids_idTo_ary: ruby_method_ids = 3153;
660pub const ruby_method_ids_idTo_str: ruby_method_ids = 3169;
661pub const ruby_method_ids_idTo_sym: ruby_method_ids = 3185;
662pub const ruby_method_ids_idTo_hash: ruby_method_ids = 3201;
663pub const ruby_method_ids_idTo_proc: ruby_method_ids = 3217;
664pub const ruby_method_ids_idTo_io: ruby_method_ids = 3233;
665pub const ruby_method_ids_idTo_a: ruby_method_ids = 3249;
666pub const ruby_method_ids_idTo_s: ruby_method_ids = 3265;
667pub const ruby_method_ids_idTo_i: ruby_method_ids = 3281;
668pub const ruby_method_ids_idBt: ruby_method_ids = 3297;
669pub const ruby_method_ids_idBt_locations: ruby_method_ids = 3313;
670pub const ruby_method_ids_idCall: ruby_method_ids = 3329;
671pub const ruby_method_ids_idMesg: ruby_method_ids = 3345;
672pub const ruby_method_ids_idException: ruby_method_ids = 3361;
673pub const ruby_method_ids_idUScore: ruby_method_ids = 3377;
674pub const ruby_method_ids_tLAST_OP_ID: ruby_method_ids = 168;
675pub const ruby_method_ids_idLAST_OP_ID: ruby_method_ids = 10;
676pub type ruby_method_ids = ::std::os::raw::c_uint;
677pub type rb_serial_t = ::std::os::raw::c_ulonglong;
678pub const imemo_type_imemo_none: imemo_type = 0;
679pub const imemo_type_imemo_cref: imemo_type = 1;
680pub const imemo_type_imemo_svar: imemo_type = 2;
681pub const imemo_type_imemo_throw_data: imemo_type = 3;
682pub const imemo_type_imemo_ifunc: imemo_type = 4;
683pub const imemo_type_imemo_memo: imemo_type = 5;
684pub const imemo_type_imemo_ment: imemo_type = 6;
685pub const imemo_type_imemo_iseq: imemo_type = 7;
686pub const imemo_type_imemo_mask: imemo_type = 7;
687pub type imemo_type = ::std::os::raw::c_uint;
688#[repr(C)]
689#[derive(Debug, Copy, Clone)]
690pub struct vm_svar {
691    pub flags: VALUE,
692    pub cref_or_me: VALUE,
693    pub lastline: VALUE,
694    pub backref: VALUE,
695    pub others: VALUE,
696}
697pub const rb_method_visibility_t_METHOD_VISI_UNDEF: rb_method_visibility_t = 0;
698pub const rb_method_visibility_t_METHOD_VISI_PUBLIC: rb_method_visibility_t = 1;
699pub const rb_method_visibility_t_METHOD_VISI_PRIVATE: rb_method_visibility_t = 2;
700pub const rb_method_visibility_t_METHOD_VISI_PROTECTED: rb_method_visibility_t = 3;
701pub const rb_method_visibility_t_METHOD_VISI_MASK: rb_method_visibility_t = 3;
702pub type rb_method_visibility_t = ::std::os::raw::c_uint;
703#[repr(C)]
704#[repr(align(4))]
705#[derive(Debug, Copy, Clone)]
706pub struct rb_scope_visi_struct {
707    pub _bitfield_align_1: [u8; 0],
708    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
709    pub __bindgen_padding_0: [u8; 3usize],
710}
711impl rb_scope_visi_struct {
712    #[inline]
713    pub fn method_visi(&self) -> rb_method_visibility_t {
714        unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 3u8) as u32) }
715    }
716    #[inline]
717    pub fn set_method_visi(&mut self, val: rb_method_visibility_t) {
718        unsafe {
719            let val: u32 = ::std::mem::transmute(val);
720            self._bitfield_1.set(0usize, 3u8, val as u64)
721        }
722    }
723    #[inline]
724    pub unsafe fn method_visi_raw(this: *const Self) -> rb_method_visibility_t {
725        unsafe {
726            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(
727                ::std::ptr::addr_of!((*this)._bitfield_1),
728                0usize,
729                3u8,
730            ) as u32)
731        }
732    }
733    #[inline]
734    pub unsafe fn set_method_visi_raw(this: *mut Self, val: rb_method_visibility_t) {
735        unsafe {
736            let val: u32 = ::std::mem::transmute(val);
737            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(
738                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
739                0usize,
740                3u8,
741                val as u64,
742            )
743        }
744    }
745    #[inline]
746    pub fn module_func(&self) -> ::std::os::raw::c_uint {
747        unsafe { ::std::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u32) }
748    }
749    #[inline]
750    pub fn set_module_func(&mut self, val: ::std::os::raw::c_uint) {
751        unsafe {
752            let val: u32 = ::std::mem::transmute(val);
753            self._bitfield_1.set(3usize, 1u8, val as u64)
754        }
755    }
756    #[inline]
757    pub unsafe fn module_func_raw(this: *const Self) -> ::std::os::raw::c_uint {
758        unsafe {
759            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(
760                ::std::ptr::addr_of!((*this)._bitfield_1),
761                3usize,
762                1u8,
763            ) as u32)
764        }
765    }
766    #[inline]
767    pub unsafe fn set_module_func_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
768        unsafe {
769            let val: u32 = ::std::mem::transmute(val);
770            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(
771                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
772                3usize,
773                1u8,
774                val as u64,
775            )
776        }
777    }
778    #[inline]
779    pub fn new_bitfield_1(
780        method_visi: rb_method_visibility_t,
781        module_func: ::std::os::raw::c_uint,
782    ) -> __BindgenBitfieldUnit<[u8; 1usize]> {
783        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
784        __bindgen_bitfield_unit.set(0usize, 3u8, {
785            let method_visi: u32 = unsafe { ::std::mem::transmute(method_visi) };
786            method_visi as u64
787        });
788        __bindgen_bitfield_unit.set(3usize, 1u8, {
789            let module_func: u32 = unsafe { ::std::mem::transmute(module_func) };
790            module_func as u64
791        });
792        __bindgen_bitfield_unit
793    }
794}
795pub type rb_scope_visibility_t = rb_scope_visi_struct;
796#[repr(C)]
797#[derive(Debug, Copy, Clone)]
798pub struct rb_cref_struct {
799    pub flags: VALUE,
800    pub refinements: VALUE,
801    pub klass: VALUE,
802    pub next: *mut rb_cref_struct,
803    pub scope_visi: rb_scope_visibility_t,
804}
805pub type rb_cref_t = rb_cref_struct;
806#[repr(C)]
807#[derive(Debug, Copy, Clone)]
808pub struct rb_method_entry_struct {
809    pub flags: VALUE,
810    pub defined_class: VALUE,
811    pub def: *mut rb_method_definition_struct,
812    pub called_id: ID,
813    pub owner: VALUE,
814}
815#[repr(C)]
816#[derive(Debug, Copy, Clone)]
817pub struct rb_callable_method_entry_struct {
818    pub flags: VALUE,
819    pub defined_class: VALUE,
820    pub def: *mut rb_method_definition_struct,
821    pub called_id: ID,
822    pub owner: VALUE,
823}
824pub type rb_callable_method_entry_t = rb_callable_method_entry_struct;
825pub const rb_method_type_t_VM_METHOD_TYPE_ISEQ: rb_method_type_t = 0;
826pub const rb_method_type_t_VM_METHOD_TYPE_CFUNC: rb_method_type_t = 1;
827pub const rb_method_type_t_VM_METHOD_TYPE_ATTRSET: rb_method_type_t = 2;
828pub const rb_method_type_t_VM_METHOD_TYPE_IVAR: rb_method_type_t = 3;
829pub const rb_method_type_t_VM_METHOD_TYPE_BMETHOD: rb_method_type_t = 4;
830pub const rb_method_type_t_VM_METHOD_TYPE_ZSUPER: rb_method_type_t = 5;
831pub const rb_method_type_t_VM_METHOD_TYPE_ALIAS: rb_method_type_t = 6;
832pub const rb_method_type_t_VM_METHOD_TYPE_UNDEF: rb_method_type_t = 7;
833pub const rb_method_type_t_VM_METHOD_TYPE_NOTIMPLEMENTED: rb_method_type_t = 8;
834pub const rb_method_type_t_VM_METHOD_TYPE_OPTIMIZED: rb_method_type_t = 9;
835pub const rb_method_type_t_VM_METHOD_TYPE_MISSING: rb_method_type_t = 10;
836pub const rb_method_type_t_VM_METHOD_TYPE_REFINED: rb_method_type_t = 11;
837pub type rb_method_type_t = ::std::os::raw::c_uint;
838pub type rb_iseq_t = rb_iseq_struct;
839#[repr(C)]
840#[derive(Debug, Copy, Clone)]
841pub struct rb_method_iseq_struct {
842    pub iseqptr: *const rb_iseq_t,
843    pub cref: *mut rb_cref_t,
844}
845pub type rb_method_iseq_t = rb_method_iseq_struct;
846#[repr(C)]
847#[derive(Debug, Copy, Clone)]
848pub struct rb_method_cfunc_struct {
849    pub func: ::std::option::Option<unsafe extern "C" fn() -> VALUE>,
850    pub invoker: ::std::option::Option<
851        unsafe extern "C" fn(
852            func: ::std::option::Option<unsafe extern "C" fn() -> VALUE>,
853            recv: VALUE,
854            argc: ::std::os::raw::c_int,
855            argv: *const VALUE,
856        ) -> VALUE,
857    >,
858    pub argc: ::std::os::raw::c_int,
859}
860pub type rb_method_cfunc_t = rb_method_cfunc_struct;
861#[repr(C)]
862#[derive(Debug, Copy, Clone)]
863pub struct rb_method_attr_struct {
864    pub id: ID,
865    pub location: VALUE,
866}
867pub type rb_method_attr_t = rb_method_attr_struct;
868#[repr(C)]
869#[derive(Debug, Copy, Clone)]
870pub struct rb_method_alias_struct {
871    pub original_me: *const rb_method_entry_struct,
872}
873pub type rb_method_alias_t = rb_method_alias_struct;
874#[repr(C)]
875#[derive(Debug, Copy, Clone)]
876pub struct rb_method_refined_struct {
877    pub orig_me: *const rb_method_entry_struct,
878    pub owner: VALUE,
879}
880pub type rb_method_refined_t = rb_method_refined_struct;
881#[repr(C)]
882#[derive(Copy, Clone)]
883pub struct rb_method_definition_struct {
884    pub _bitfield_align_1: [u32; 0],
885    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 12usize]>,
886    pub body: rb_method_definition_struct__bindgen_ty_1,
887    pub original_id: ID,
888}
889#[repr(C)]
890#[derive(Copy, Clone)]
891pub union rb_method_definition_struct__bindgen_ty_1 {
892    pub iseq: rb_method_iseq_t,
893    pub cfunc: rb_method_cfunc_t,
894    pub attr: rb_method_attr_t,
895    pub alias: rb_method_alias_t,
896    pub refined: rb_method_refined_t,
897    pub proc_: VALUE,
898    pub optimize_type: rb_method_definition_struct__bindgen_ty_1_method_optimized_type,
899}
900pub const rb_method_definition_struct__bindgen_ty_1_method_optimized_type_OPTIMIZED_METHOD_TYPE_SEND : rb_method_definition_struct__bindgen_ty_1_method_optimized_type = 0 ;
901pub const rb_method_definition_struct__bindgen_ty_1_method_optimized_type_OPTIMIZED_METHOD_TYPE_CALL : rb_method_definition_struct__bindgen_ty_1_method_optimized_type = 1 ;
902pub const rb_method_definition_struct__bindgen_ty_1_method_optimized_type_OPTIMIZED_METHOD_TYPE__MAX : rb_method_definition_struct__bindgen_ty_1_method_optimized_type = 2 ;
903pub type rb_method_definition_struct__bindgen_ty_1_method_optimized_type = ::std::os::raw::c_uint;
904impl ::std::fmt::Debug for rb_method_definition_struct__bindgen_ty_1 {
905    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
906        write!(f, "rb_method_definition_struct__bindgen_ty_1 {{ union }}")
907    }
908}
909impl rb_method_definition_struct {
910    #[inline]
911    pub fn type_(&self) -> rb_method_type_t {
912        unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 8u8) as u32) }
913    }
914    #[inline]
915    pub fn set_type(&mut self, val: rb_method_type_t) {
916        unsafe {
917            let val: u32 = ::std::mem::transmute(val);
918            self._bitfield_1.set(0usize, 8u8, val as u64)
919        }
920    }
921    #[inline]
922    pub unsafe fn type__raw(this: *const Self) -> rb_method_type_t {
923        unsafe {
924            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 12usize]>>::raw_get(
925                ::std::ptr::addr_of!((*this)._bitfield_1),
926                0usize,
927                8u8,
928            ) as u32)
929        }
930    }
931    #[inline]
932    pub unsafe fn set_type_raw(this: *mut Self, val: rb_method_type_t) {
933        unsafe {
934            let val: u32 = ::std::mem::transmute(val);
935            <__BindgenBitfieldUnit<[u8; 12usize]>>::raw_set(
936                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
937                0usize,
938                8u8,
939                val as u64,
940            )
941        }
942    }
943    #[inline]
944    pub fn alias_count(&self) -> ::std::os::raw::c_int {
945        unsafe { ::std::mem::transmute(self._bitfield_1.get(32usize, 28u8) as u32) }
946    }
947    #[inline]
948    pub fn set_alias_count(&mut self, val: ::std::os::raw::c_int) {
949        unsafe {
950            let val: u32 = ::std::mem::transmute(val);
951            self._bitfield_1.set(32usize, 28u8, val as u64)
952        }
953    }
954    #[inline]
955    pub unsafe fn alias_count_raw(this: *const Self) -> ::std::os::raw::c_int {
956        unsafe {
957            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 12usize]>>::raw_get(
958                ::std::ptr::addr_of!((*this)._bitfield_1),
959                32usize,
960                28u8,
961            ) as u32)
962        }
963    }
964    #[inline]
965    pub unsafe fn set_alias_count_raw(this: *mut Self, val: ::std::os::raw::c_int) {
966        unsafe {
967            let val: u32 = ::std::mem::transmute(val);
968            <__BindgenBitfieldUnit<[u8; 12usize]>>::raw_set(
969                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
970                32usize,
971                28u8,
972                val as u64,
973            )
974        }
975    }
976    #[inline]
977    pub fn complemented_count(&self) -> ::std::os::raw::c_int {
978        unsafe { ::std::mem::transmute(self._bitfield_1.get(64usize, 28u8) as u32) }
979    }
980    #[inline]
981    pub fn set_complemented_count(&mut self, val: ::std::os::raw::c_int) {
982        unsafe {
983            let val: u32 = ::std::mem::transmute(val);
984            self._bitfield_1.set(64usize, 28u8, val as u64)
985        }
986    }
987    #[inline]
988    pub unsafe fn complemented_count_raw(this: *const Self) -> ::std::os::raw::c_int {
989        unsafe {
990            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 12usize]>>::raw_get(
991                ::std::ptr::addr_of!((*this)._bitfield_1),
992                64usize,
993                28u8,
994            ) as u32)
995        }
996    }
997    #[inline]
998    pub unsafe fn set_complemented_count_raw(this: *mut Self, val: ::std::os::raw::c_int) {
999        unsafe {
1000            let val: u32 = ::std::mem::transmute(val);
1001            <__BindgenBitfieldUnit<[u8; 12usize]>>::raw_set(
1002                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1003                64usize,
1004                28u8,
1005                val as u64,
1006            )
1007        }
1008    }
1009    #[inline]
1010    pub fn new_bitfield_1(
1011        type_: rb_method_type_t,
1012        alias_count: ::std::os::raw::c_int,
1013        complemented_count: ::std::os::raw::c_int,
1014    ) -> __BindgenBitfieldUnit<[u8; 12usize]> {
1015        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 12usize]> = Default::default();
1016        __bindgen_bitfield_unit.set(0usize, 8u8, {
1017            let type_: u32 = unsafe { ::std::mem::transmute(type_) };
1018            type_ as u64
1019        });
1020        __bindgen_bitfield_unit.set(32usize, 28u8, {
1021            let alias_count: u32 = unsafe { ::std::mem::transmute(alias_count) };
1022            alias_count as u64
1023        });
1024        __bindgen_bitfield_unit.set(64usize, 28u8, {
1025            let complemented_count: u32 = unsafe { ::std::mem::transmute(complemented_count) };
1026            complemented_count as u64
1027        });
1028        __bindgen_bitfield_unit
1029    }
1030}
1031pub type rb_atomic_t = ::std::os::raw::c_uint;
1032#[repr(C)]
1033#[derive(Debug, Copy, Clone)]
1034pub struct list_node {
1035    pub next: *mut list_node,
1036    pub prev: *mut list_node,
1037}
1038#[repr(C)]
1039#[derive(Debug, Copy, Clone)]
1040pub struct list_head {
1041    pub n: list_node,
1042}
1043pub type __jmp_buf = [::std::os::raw::c_long; 8usize];
1044pub type rb_nativethread_id_t = pthread_t;
1045pub type rb_nativethread_lock_t = pthread_mutex_t;
1046#[repr(C)]
1047#[derive(Copy, Clone)]
1048pub struct rb_thread_cond_struct {
1049    pub cond: pthread_cond_t,
1050    pub clockid: clockid_t,
1051}
1052impl ::std::fmt::Debug for rb_thread_cond_struct {
1053    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1054        write!(
1055            f,
1056            "rb_thread_cond_struct {{ cond: {:?}, clockid: {:?} }}",
1057            self.cond, self.clockid
1058        )
1059    }
1060}
1061pub type rb_nativethread_cond_t = rb_thread_cond_struct;
1062#[repr(C)]
1063#[derive(Copy, Clone)]
1064pub struct native_thread_data_struct {
1065    pub ubf_list: list_node,
1066    pub sleep_cond: rb_nativethread_cond_t,
1067}
1068impl ::std::fmt::Debug for native_thread_data_struct {
1069    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1070        write!(
1071            f,
1072            "native_thread_data_struct {{ ubf_list: {:?}, sleep_cond: {:?} }}",
1073            self.ubf_list, self.sleep_cond
1074        )
1075    }
1076}
1077pub type native_thread_data_t = native_thread_data_struct;
1078#[repr(C)]
1079#[derive(Copy, Clone)]
1080pub struct rb_global_vm_lock_struct {
1081    pub acquired: ::std::os::raw::c_ulong,
1082    pub lock: rb_nativethread_lock_t,
1083    pub waiting: ::std::os::raw::c_ulong,
1084    pub cond: rb_nativethread_cond_t,
1085    pub switch_cond: rb_nativethread_cond_t,
1086    pub switch_wait_cond: rb_nativethread_cond_t,
1087    pub need_yield: ::std::os::raw::c_int,
1088    pub wait_yield: ::std::os::raw::c_int,
1089}
1090impl ::std::fmt::Debug for rb_global_vm_lock_struct {
1091    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1092        write ! (f , "rb_global_vm_lock_struct {{ acquired: {:?}, lock: {:?}, waiting: {:?}, cond: {:?}, switch_cond: {:?}, switch_wait_cond: {:?}, need_yield: {:?}, wait_yield: {:?} }}" , self . acquired , self . lock , self . waiting , self . cond , self . switch_cond , self . switch_wait_cond , self . need_yield , self . wait_yield)
1093    }
1094}
1095pub type rb_global_vm_lock_t = rb_global_vm_lock_struct;
1096#[repr(C)]
1097#[derive(Debug, Copy, Clone)]
1098pub struct __jmp_buf_tag {
1099    pub __jmpbuf: __jmp_buf,
1100    pub __mask_was_saved: ::std::os::raw::c_int,
1101    pub __saved_mask: __sigset_t,
1102}
1103pub type jmp_buf = [__jmp_buf_tag; 1usize];
1104pub type rb_compile_option_t = rb_compile_option_struct;
1105#[repr(C)]
1106#[derive(Copy, Clone)]
1107pub struct iseq_inline_cache_entry {
1108    pub ic_serial: rb_serial_t,
1109    pub ic_cref: *const rb_cref_t,
1110    pub ic_value: iseq_inline_cache_entry__bindgen_ty_1,
1111}
1112#[repr(C)]
1113#[derive(Copy, Clone)]
1114pub union iseq_inline_cache_entry__bindgen_ty_1 {
1115    pub index: usize,
1116    pub value: VALUE,
1117}
1118impl ::std::fmt::Debug for iseq_inline_cache_entry__bindgen_ty_1 {
1119    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1120        write!(f, "iseq_inline_cache_entry__bindgen_ty_1 {{ union }}")
1121    }
1122}
1123impl ::std::fmt::Debug for iseq_inline_cache_entry {
1124    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1125        write!(
1126            f,
1127            "iseq_inline_cache_entry {{ ic_serial: {:?}, ic_cref: {:?}, ic_value: {:?} }}",
1128            self.ic_serial, self.ic_cref, self.ic_value
1129        )
1130    }
1131}
1132#[repr(C)]
1133#[derive(Copy, Clone)]
1134pub union iseq_inline_storage_entry {
1135    pub once: iseq_inline_storage_entry__bindgen_ty_1,
1136    pub cache: iseq_inline_cache_entry,
1137}
1138#[repr(C)]
1139#[derive(Debug, Copy, Clone)]
1140pub struct iseq_inline_storage_entry__bindgen_ty_1 {
1141    pub running_thread: *mut rb_thread_struct,
1142    pub value: VALUE,
1143}
1144impl ::std::fmt::Debug for iseq_inline_storage_entry {
1145    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1146        write!(f, "iseq_inline_storage_entry {{ union }}")
1147    }
1148}
1149pub const method_missing_reason_MISSING_NOENTRY: method_missing_reason = 0;
1150pub const method_missing_reason_MISSING_PRIVATE: method_missing_reason = 1;
1151pub const method_missing_reason_MISSING_PROTECTED: method_missing_reason = 2;
1152pub const method_missing_reason_MISSING_VCALL: method_missing_reason = 4;
1153pub const method_missing_reason_MISSING_SUPER: method_missing_reason = 8;
1154pub const method_missing_reason_MISSING_MISSING: method_missing_reason = 16;
1155pub const method_missing_reason_MISSING_NONE: method_missing_reason = 32;
1156pub type method_missing_reason = ::std::os::raw::c_uint;
1157#[repr(C)]
1158#[derive(Debug, Copy, Clone)]
1159pub struct rb_call_info {
1160    pub mid: ID,
1161    pub flag: ::std::os::raw::c_uint,
1162    pub orig_argc: ::std::os::raw::c_int,
1163}
1164#[repr(C)]
1165#[derive(Debug, Copy, Clone)]
1166pub struct rb_calling_info {
1167    pub blockptr: *mut rb_block_struct,
1168    pub recv: VALUE,
1169    pub argc: ::std::os::raw::c_int,
1170}
1171pub type vm_call_handler = ::std::option::Option<
1172    unsafe extern "C" fn(
1173        th: *mut rb_thread_struct,
1174        cfp: *mut rb_control_frame_struct,
1175        calling: *mut rb_calling_info,
1176        ci: *const rb_call_info,
1177        cc: *mut rb_call_cache,
1178    ) -> VALUE,
1179>;
1180#[repr(C)]
1181#[derive(Copy, Clone)]
1182pub struct rb_call_cache {
1183    pub method_state: rb_serial_t,
1184    pub class_serial: rb_serial_t,
1185    pub me: *const rb_callable_method_entry_t,
1186    pub call: vm_call_handler,
1187    pub aux: rb_call_cache__bindgen_ty_1,
1188}
1189#[repr(C)]
1190#[derive(Copy, Clone)]
1191pub union rb_call_cache__bindgen_ty_1 {
1192    pub index: ::std::os::raw::c_uint,
1193    pub method_missing_reason: method_missing_reason,
1194    pub inc_sp: ::std::os::raw::c_int,
1195}
1196impl ::std::fmt::Debug for rb_call_cache__bindgen_ty_1 {
1197    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1198        write!(f, "rb_call_cache__bindgen_ty_1 {{ union }}")
1199    }
1200}
1201impl ::std::fmt::Debug for rb_call_cache {
1202    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1203        write ! (f , "rb_call_cache {{ method_state: {:?}, class_serial: {:?}, me: {:?}, call: {:?}, aux: {:?} }}" , self . method_state , self . class_serial , self . me , self . call , self . aux)
1204    }
1205}
1206#[repr(C)]
1207#[derive(Debug, Copy, Clone)]
1208pub struct rb_iseq_location_struct {
1209    pub path: VALUE,
1210    pub absolute_path: VALUE,
1211    pub base_label: VALUE,
1212    pub label: VALUE,
1213    pub first_lineno: VALUE,
1214}
1215pub type rb_iseq_location_t = rb_iseq_location_struct;
1216#[repr(C)]
1217#[derive(Debug, Copy, Clone)]
1218pub struct rb_iseq_constant_body {
1219    pub type_: rb_iseq_constant_body_iseq_type,
1220    pub stack_max: ::std::os::raw::c_uint,
1221    pub local_size: ::std::os::raw::c_uint,
1222    pub iseq_size: ::std::os::raw::c_uint,
1223    pub iseq_encoded: *const VALUE,
1224    pub param: rb_iseq_constant_body__bindgen_ty_1,
1225    pub location: rb_iseq_location_t,
1226    pub line_info_table: *const iseq_line_info_entry,
1227    pub local_table: *const ID,
1228    pub catch_table: *const iseq_catch_table,
1229    pub parent_iseq: *const rb_iseq_struct,
1230    pub local_iseq: *mut rb_iseq_struct,
1231    pub is_entries: *mut iseq_inline_storage_entry,
1232    pub ci_entries: *mut rb_call_info,
1233    pub cc_entries: *mut rb_call_cache,
1234    pub mark_ary: VALUE,
1235    pub local_table_size: ::std::os::raw::c_uint,
1236    pub is_size: ::std::os::raw::c_uint,
1237    pub ci_size: ::std::os::raw::c_uint,
1238    pub ci_kw_size: ::std::os::raw::c_uint,
1239    pub line_info_size: ::std::os::raw::c_uint,
1240}
1241pub const rb_iseq_constant_body_iseq_type_ISEQ_TYPE_TOP: rb_iseq_constant_body_iseq_type = 0;
1242pub const rb_iseq_constant_body_iseq_type_ISEQ_TYPE_METHOD: rb_iseq_constant_body_iseq_type = 1;
1243pub const rb_iseq_constant_body_iseq_type_ISEQ_TYPE_BLOCK: rb_iseq_constant_body_iseq_type = 2;
1244pub const rb_iseq_constant_body_iseq_type_ISEQ_TYPE_CLASS: rb_iseq_constant_body_iseq_type = 3;
1245pub const rb_iseq_constant_body_iseq_type_ISEQ_TYPE_RESCUE: rb_iseq_constant_body_iseq_type = 4;
1246pub const rb_iseq_constant_body_iseq_type_ISEQ_TYPE_ENSURE: rb_iseq_constant_body_iseq_type = 5;
1247pub const rb_iseq_constant_body_iseq_type_ISEQ_TYPE_EVAL: rb_iseq_constant_body_iseq_type = 6;
1248pub const rb_iseq_constant_body_iseq_type_ISEQ_TYPE_MAIN: rb_iseq_constant_body_iseq_type = 7;
1249pub const rb_iseq_constant_body_iseq_type_ISEQ_TYPE_DEFINED_GUARD: rb_iseq_constant_body_iseq_type =
1250    8;
1251pub type rb_iseq_constant_body_iseq_type = ::std::os::raw::c_uint;
1252#[repr(C)]
1253#[derive(Debug, Copy, Clone)]
1254pub struct rb_iseq_constant_body__bindgen_ty_1 {
1255    pub flags: rb_iseq_constant_body__bindgen_ty_1__bindgen_ty_1,
1256    pub size: ::std::os::raw::c_uint,
1257    pub lead_num: ::std::os::raw::c_int,
1258    pub opt_num: ::std::os::raw::c_int,
1259    pub rest_start: ::std::os::raw::c_int,
1260    pub post_start: ::std::os::raw::c_int,
1261    pub post_num: ::std::os::raw::c_int,
1262    pub block_start: ::std::os::raw::c_int,
1263    pub opt_table: *const VALUE,
1264    pub keyword: *const rb_iseq_constant_body__bindgen_ty_1_rb_iseq_param_keyword,
1265}
1266#[repr(C)]
1267#[repr(align(4))]
1268#[derive(Debug, Copy, Clone)]
1269pub struct rb_iseq_constant_body__bindgen_ty_1__bindgen_ty_1 {
1270    pub _bitfield_align_1: [u8; 0],
1271    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
1272    pub __bindgen_padding_0: [u8; 3usize],
1273}
1274impl rb_iseq_constant_body__bindgen_ty_1__bindgen_ty_1 {
1275    #[inline]
1276    pub fn has_lead(&self) -> ::std::os::raw::c_uint {
1277        unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) }
1278    }
1279    #[inline]
1280    pub fn set_has_lead(&mut self, val: ::std::os::raw::c_uint) {
1281        unsafe {
1282            let val: u32 = ::std::mem::transmute(val);
1283            self._bitfield_1.set(0usize, 1u8, val as u64)
1284        }
1285    }
1286    #[inline]
1287    pub unsafe fn has_lead_raw(this: *const Self) -> ::std::os::raw::c_uint {
1288        unsafe {
1289            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(
1290                ::std::ptr::addr_of!((*this)._bitfield_1),
1291                0usize,
1292                1u8,
1293            ) as u32)
1294        }
1295    }
1296    #[inline]
1297    pub unsafe fn set_has_lead_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1298        unsafe {
1299            let val: u32 = ::std::mem::transmute(val);
1300            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(
1301                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1302                0usize,
1303                1u8,
1304                val as u64,
1305            )
1306        }
1307    }
1308    #[inline]
1309    pub fn has_opt(&self) -> ::std::os::raw::c_uint {
1310        unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u32) }
1311    }
1312    #[inline]
1313    pub fn set_has_opt(&mut self, val: ::std::os::raw::c_uint) {
1314        unsafe {
1315            let val: u32 = ::std::mem::transmute(val);
1316            self._bitfield_1.set(1usize, 1u8, val as u64)
1317        }
1318    }
1319    #[inline]
1320    pub unsafe fn has_opt_raw(this: *const Self) -> ::std::os::raw::c_uint {
1321        unsafe {
1322            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(
1323                ::std::ptr::addr_of!((*this)._bitfield_1),
1324                1usize,
1325                1u8,
1326            ) as u32)
1327        }
1328    }
1329    #[inline]
1330    pub unsafe fn set_has_opt_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1331        unsafe {
1332            let val: u32 = ::std::mem::transmute(val);
1333            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(
1334                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1335                1usize,
1336                1u8,
1337                val as u64,
1338            )
1339        }
1340    }
1341    #[inline]
1342    pub fn has_rest(&self) -> ::std::os::raw::c_uint {
1343        unsafe { ::std::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u32) }
1344    }
1345    #[inline]
1346    pub fn set_has_rest(&mut self, val: ::std::os::raw::c_uint) {
1347        unsafe {
1348            let val: u32 = ::std::mem::transmute(val);
1349            self._bitfield_1.set(2usize, 1u8, val as u64)
1350        }
1351    }
1352    #[inline]
1353    pub unsafe fn has_rest_raw(this: *const Self) -> ::std::os::raw::c_uint {
1354        unsafe {
1355            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(
1356                ::std::ptr::addr_of!((*this)._bitfield_1),
1357                2usize,
1358                1u8,
1359            ) as u32)
1360        }
1361    }
1362    #[inline]
1363    pub unsafe fn set_has_rest_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1364        unsafe {
1365            let val: u32 = ::std::mem::transmute(val);
1366            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(
1367                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1368                2usize,
1369                1u8,
1370                val as u64,
1371            )
1372        }
1373    }
1374    #[inline]
1375    pub fn has_post(&self) -> ::std::os::raw::c_uint {
1376        unsafe { ::std::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u32) }
1377    }
1378    #[inline]
1379    pub fn set_has_post(&mut self, val: ::std::os::raw::c_uint) {
1380        unsafe {
1381            let val: u32 = ::std::mem::transmute(val);
1382            self._bitfield_1.set(3usize, 1u8, val as u64)
1383        }
1384    }
1385    #[inline]
1386    pub unsafe fn has_post_raw(this: *const Self) -> ::std::os::raw::c_uint {
1387        unsafe {
1388            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(
1389                ::std::ptr::addr_of!((*this)._bitfield_1),
1390                3usize,
1391                1u8,
1392            ) as u32)
1393        }
1394    }
1395    #[inline]
1396    pub unsafe fn set_has_post_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1397        unsafe {
1398            let val: u32 = ::std::mem::transmute(val);
1399            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(
1400                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1401                3usize,
1402                1u8,
1403                val as u64,
1404            )
1405        }
1406    }
1407    #[inline]
1408    pub fn has_kw(&self) -> ::std::os::raw::c_uint {
1409        unsafe { ::std::mem::transmute(self._bitfield_1.get(4usize, 1u8) as u32) }
1410    }
1411    #[inline]
1412    pub fn set_has_kw(&mut self, val: ::std::os::raw::c_uint) {
1413        unsafe {
1414            let val: u32 = ::std::mem::transmute(val);
1415            self._bitfield_1.set(4usize, 1u8, val as u64)
1416        }
1417    }
1418    #[inline]
1419    pub unsafe fn has_kw_raw(this: *const Self) -> ::std::os::raw::c_uint {
1420        unsafe {
1421            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(
1422                ::std::ptr::addr_of!((*this)._bitfield_1),
1423                4usize,
1424                1u8,
1425            ) as u32)
1426        }
1427    }
1428    #[inline]
1429    pub unsafe fn set_has_kw_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1430        unsafe {
1431            let val: u32 = ::std::mem::transmute(val);
1432            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(
1433                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1434                4usize,
1435                1u8,
1436                val as u64,
1437            )
1438        }
1439    }
1440    #[inline]
1441    pub fn has_kwrest(&self) -> ::std::os::raw::c_uint {
1442        unsafe { ::std::mem::transmute(self._bitfield_1.get(5usize, 1u8) as u32) }
1443    }
1444    #[inline]
1445    pub fn set_has_kwrest(&mut self, val: ::std::os::raw::c_uint) {
1446        unsafe {
1447            let val: u32 = ::std::mem::transmute(val);
1448            self._bitfield_1.set(5usize, 1u8, val as u64)
1449        }
1450    }
1451    #[inline]
1452    pub unsafe fn has_kwrest_raw(this: *const Self) -> ::std::os::raw::c_uint {
1453        unsafe {
1454            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(
1455                ::std::ptr::addr_of!((*this)._bitfield_1),
1456                5usize,
1457                1u8,
1458            ) as u32)
1459        }
1460    }
1461    #[inline]
1462    pub unsafe fn set_has_kwrest_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1463        unsafe {
1464            let val: u32 = ::std::mem::transmute(val);
1465            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(
1466                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1467                5usize,
1468                1u8,
1469                val as u64,
1470            )
1471        }
1472    }
1473    #[inline]
1474    pub fn has_block(&self) -> ::std::os::raw::c_uint {
1475        unsafe { ::std::mem::transmute(self._bitfield_1.get(6usize, 1u8) as u32) }
1476    }
1477    #[inline]
1478    pub fn set_has_block(&mut self, val: ::std::os::raw::c_uint) {
1479        unsafe {
1480            let val: u32 = ::std::mem::transmute(val);
1481            self._bitfield_1.set(6usize, 1u8, val as u64)
1482        }
1483    }
1484    #[inline]
1485    pub unsafe fn has_block_raw(this: *const Self) -> ::std::os::raw::c_uint {
1486        unsafe {
1487            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(
1488                ::std::ptr::addr_of!((*this)._bitfield_1),
1489                6usize,
1490                1u8,
1491            ) as u32)
1492        }
1493    }
1494    #[inline]
1495    pub unsafe fn set_has_block_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1496        unsafe {
1497            let val: u32 = ::std::mem::transmute(val);
1498            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(
1499                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1500                6usize,
1501                1u8,
1502                val as u64,
1503            )
1504        }
1505    }
1506    #[inline]
1507    pub fn ambiguous_param0(&self) -> ::std::os::raw::c_uint {
1508        unsafe { ::std::mem::transmute(self._bitfield_1.get(7usize, 1u8) as u32) }
1509    }
1510    #[inline]
1511    pub fn set_ambiguous_param0(&mut self, val: ::std::os::raw::c_uint) {
1512        unsafe {
1513            let val: u32 = ::std::mem::transmute(val);
1514            self._bitfield_1.set(7usize, 1u8, val as u64)
1515        }
1516    }
1517    #[inline]
1518    pub unsafe fn ambiguous_param0_raw(this: *const Self) -> ::std::os::raw::c_uint {
1519        unsafe {
1520            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(
1521                ::std::ptr::addr_of!((*this)._bitfield_1),
1522                7usize,
1523                1u8,
1524            ) as u32)
1525        }
1526    }
1527    #[inline]
1528    pub unsafe fn set_ambiguous_param0_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1529        unsafe {
1530            let val: u32 = ::std::mem::transmute(val);
1531            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(
1532                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1533                7usize,
1534                1u8,
1535                val as u64,
1536            )
1537        }
1538    }
1539    #[inline]
1540    pub fn new_bitfield_1(
1541        has_lead: ::std::os::raw::c_uint,
1542        has_opt: ::std::os::raw::c_uint,
1543        has_rest: ::std::os::raw::c_uint,
1544        has_post: ::std::os::raw::c_uint,
1545        has_kw: ::std::os::raw::c_uint,
1546        has_kwrest: ::std::os::raw::c_uint,
1547        has_block: ::std::os::raw::c_uint,
1548        ambiguous_param0: ::std::os::raw::c_uint,
1549    ) -> __BindgenBitfieldUnit<[u8; 1usize]> {
1550        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
1551        __bindgen_bitfield_unit.set(0usize, 1u8, {
1552            let has_lead: u32 = unsafe { ::std::mem::transmute(has_lead) };
1553            has_lead as u64
1554        });
1555        __bindgen_bitfield_unit.set(1usize, 1u8, {
1556            let has_opt: u32 = unsafe { ::std::mem::transmute(has_opt) };
1557            has_opt as u64
1558        });
1559        __bindgen_bitfield_unit.set(2usize, 1u8, {
1560            let has_rest: u32 = unsafe { ::std::mem::transmute(has_rest) };
1561            has_rest as u64
1562        });
1563        __bindgen_bitfield_unit.set(3usize, 1u8, {
1564            let has_post: u32 = unsafe { ::std::mem::transmute(has_post) };
1565            has_post as u64
1566        });
1567        __bindgen_bitfield_unit.set(4usize, 1u8, {
1568            let has_kw: u32 = unsafe { ::std::mem::transmute(has_kw) };
1569            has_kw as u64
1570        });
1571        __bindgen_bitfield_unit.set(5usize, 1u8, {
1572            let has_kwrest: u32 = unsafe { ::std::mem::transmute(has_kwrest) };
1573            has_kwrest as u64
1574        });
1575        __bindgen_bitfield_unit.set(6usize, 1u8, {
1576            let has_block: u32 = unsafe { ::std::mem::transmute(has_block) };
1577            has_block as u64
1578        });
1579        __bindgen_bitfield_unit.set(7usize, 1u8, {
1580            let ambiguous_param0: u32 = unsafe { ::std::mem::transmute(ambiguous_param0) };
1581            ambiguous_param0 as u64
1582        });
1583        __bindgen_bitfield_unit
1584    }
1585}
1586#[repr(C)]
1587#[derive(Debug, Copy, Clone)]
1588pub struct rb_iseq_constant_body__bindgen_ty_1_rb_iseq_param_keyword {
1589    pub num: ::std::os::raw::c_int,
1590    pub required_num: ::std::os::raw::c_int,
1591    pub bits_start: ::std::os::raw::c_int,
1592    pub rest_start: ::std::os::raw::c_int,
1593    pub table: *const ID,
1594    pub default_values: *const VALUE,
1595}
1596#[repr(C)]
1597#[derive(Copy, Clone)]
1598pub struct rb_iseq_struct {
1599    pub flags: VALUE,
1600    pub reserved1: VALUE,
1601    pub body: *mut rb_iseq_constant_body,
1602    pub aux: rb_iseq_struct__bindgen_ty_1,
1603}
1604#[repr(C)]
1605#[derive(Copy, Clone)]
1606pub union rb_iseq_struct__bindgen_ty_1 {
1607    pub compile_data: *mut iseq_compile_data,
1608    pub loader: rb_iseq_struct__bindgen_ty_1__bindgen_ty_1,
1609}
1610#[repr(C)]
1611#[derive(Debug, Copy, Clone)]
1612pub struct rb_iseq_struct__bindgen_ty_1__bindgen_ty_1 {
1613    pub obj: VALUE,
1614    pub index: ::std::os::raw::c_int,
1615}
1616impl ::std::fmt::Debug for rb_iseq_struct__bindgen_ty_1 {
1617    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1618        write!(f, "rb_iseq_struct__bindgen_ty_1 {{ union }}")
1619    }
1620}
1621impl ::std::fmt::Debug for rb_iseq_struct {
1622    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1623        write!(
1624            f,
1625            "rb_iseq_struct {{ flags: {:?}, reserved1: {:?}, body: {:?}, aux: {:?} }}",
1626            self.flags, self.reserved1, self.body, self.aux
1627        )
1628    }
1629}
1630pub type rb_vm_at_exit_func = ::std::option::Option<unsafe extern "C" fn(arg1: *mut rb_vm_struct)>;
1631#[repr(C)]
1632#[derive(Debug, Copy, Clone)]
1633pub struct rb_at_exit_list {
1634    pub func: rb_vm_at_exit_func,
1635    pub next: *mut rb_at_exit_list,
1636}
1637#[repr(C)]
1638#[derive(Debug, Copy, Clone)]
1639pub struct rb_objspace {
1640    _unused: [u8; 0],
1641}
1642#[repr(C)]
1643#[derive(Debug, Copy, Clone)]
1644pub struct rb_hook_list_struct {
1645    pub hooks: *mut rb_event_hook_struct,
1646    pub events: rb_event_flag_t,
1647    pub need_clean: ::std::os::raw::c_int,
1648}
1649pub type rb_hook_list_t = rb_hook_list_struct;
1650#[repr(C)]
1651#[derive(Copy, Clone)]
1652pub struct rb_vm_struct {
1653    pub self_: VALUE,
1654    pub gvl: rb_global_vm_lock_t,
1655    pub thread_destruct_lock: rb_nativethread_lock_t,
1656    pub main_thread: *mut rb_thread_struct,
1657    pub running_thread: *mut rb_thread_struct,
1658    pub living_threads: list_head,
1659    pub living_thread_num: usize,
1660    pub thgroup_default: VALUE,
1661    pub running: ::std::os::raw::c_int,
1662    pub thread_abort_on_exception: ::std::os::raw::c_int,
1663    pub trace_running: ::std::os::raw::c_int,
1664    pub sleeper: ::std::os::raw::c_int,
1665    pub mark_object_ary: VALUE,
1666    pub special_exceptions: [VALUE; 4usize],
1667    pub top_self: VALUE,
1668    pub load_path: VALUE,
1669    pub load_path_snapshot: VALUE,
1670    pub load_path_check_cache: VALUE,
1671    pub expanded_load_path: VALUE,
1672    pub loaded_features: VALUE,
1673    pub loaded_features_snapshot: VALUE,
1674    pub loaded_features_index: *mut st_table,
1675    pub loading_table: *mut st_table,
1676    pub trap_list: [rb_vm_struct__bindgen_ty_1; 65usize],
1677    pub event_hooks: rb_hook_list_t,
1678    pub ensure_rollback_table: *mut st_table,
1679    pub postponed_job_buffer: *mut rb_postponed_job_struct,
1680    pub postponed_job_index: ::std::os::raw::c_int,
1681    pub src_encoding_index: ::std::os::raw::c_int,
1682    pub verbose: VALUE,
1683    pub debug: VALUE,
1684    pub orig_progname: VALUE,
1685    pub progname: VALUE,
1686    pub coverages: VALUE,
1687    pub defined_module_hash: VALUE,
1688    pub objspace: *mut rb_objspace,
1689    pub at_exit: *mut rb_at_exit_list,
1690    pub defined_strings: *mut VALUE,
1691    pub frozen_strings: *mut st_table,
1692    pub default_params: rb_vm_struct__bindgen_ty_2,
1693    pub redefined_flag: [::std::os::raw::c_short; 22usize],
1694}
1695#[repr(C)]
1696#[derive(Debug, Copy, Clone)]
1697pub struct rb_vm_struct__bindgen_ty_1 {
1698    pub cmd: VALUE,
1699    pub safe: ::std::os::raw::c_int,
1700}
1701#[repr(C)]
1702#[derive(Debug, Copy, Clone)]
1703pub struct rb_vm_struct__bindgen_ty_2 {
1704    pub thread_vm_stack_size: usize,
1705    pub thread_machine_stack_size: usize,
1706    pub fiber_vm_stack_size: usize,
1707    pub fiber_machine_stack_size: usize,
1708}
1709impl ::std::fmt::Debug for rb_vm_struct {
1710    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1711        write ! (f , "rb_vm_struct {{ self: {:?}, gvl: {:?}, thread_destruct_lock: {:?}, main_thread: {:?}, running_thread: {:?}, living_threads: {:?}, thgroup_default: {:?}, running: {:?}, thread_abort_on_exception: {:?}, trace_running: {:?}, 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: {:?}, event_hooks: {:?}, ensure_rollback_table: {:?}, postponed_job_buffer: {:?}, postponed_job_index: {:?}, src_encoding_index: {:?}, verbose: {:?}, debug: {:?}, orig_progname: {:?}, progname: {:?}, coverages: {:?}, defined_module_hash: {:?}, objspace: {:?}, at_exit: {:?}, defined_strings: {:?}, frozen_strings: {:?}, default_params: {:?}, redefined_flag: {:?} }}" , self . self_ , self . gvl , self . thread_destruct_lock , self . main_thread , self . running_thread , self . living_threads , self . thgroup_default , self . running , self . thread_abort_on_exception , self . trace_running , 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 . event_hooks , self . ensure_rollback_table , self . postponed_job_buffer , self . postponed_job_index , self . src_encoding_index , self . verbose , self . debug , self . orig_progname , self . progname , self . coverages , self . defined_module_hash , self . objspace , self . at_exit , self . defined_strings , self . frozen_strings , self . default_params , self . redefined_flag)
1712    }
1713}
1714pub type rb_vm_t = rb_vm_struct;
1715#[repr(C)]
1716#[derive(Debug, Copy, Clone)]
1717pub struct rb_control_frame_struct {
1718    pub pc: *const VALUE,
1719    pub sp: *mut VALUE,
1720    pub iseq: *const rb_iseq_t,
1721    pub flag: VALUE,
1722    pub self_: VALUE,
1723    pub ep: *mut VALUE,
1724    pub block_iseq: *const rb_iseq_t,
1725    pub proc_: VALUE,
1726}
1727pub type rb_control_frame_t = rb_control_frame_struct;
1728#[repr(C)]
1729#[derive(Debug, Copy, Clone)]
1730pub struct rb_block_struct {
1731    pub self_: VALUE,
1732    pub ep: *mut VALUE,
1733    pub iseq: *const rb_iseq_t,
1734    pub proc_: VALUE,
1735}
1736pub type rb_block_t = rb_block_struct;
1737pub const rb_thread_status_THREAD_RUNNABLE: rb_thread_status = 0;
1738pub const rb_thread_status_THREAD_STOPPED: rb_thread_status = 1;
1739pub const rb_thread_status_THREAD_STOPPED_FOREVER: rb_thread_status = 2;
1740pub const rb_thread_status_THREAD_KILLED: rb_thread_status = 3;
1741pub type rb_thread_status = ::std::os::raw::c_uint;
1742pub type rb_jmpbuf_t = jmp_buf;
1743#[repr(C)]
1744#[derive(Debug, Copy, Clone)]
1745pub struct rb_vm_tag {
1746    pub tag: VALUE,
1747    pub retval: VALUE,
1748    pub buf: rb_jmpbuf_t,
1749    pub prev: *mut rb_vm_tag,
1750}
1751#[repr(C)]
1752#[derive(Debug, Copy, Clone)]
1753pub struct rb_vm_protect_tag {
1754    pub prev: *mut rb_vm_protect_tag,
1755}
1756#[repr(C)]
1757#[derive(Debug, Copy, Clone)]
1758pub struct rb_unblock_callback {
1759    pub func: rb_unblock_function_t,
1760    pub arg: *mut ::std::os::raw::c_void,
1761}
1762#[repr(C)]
1763#[derive(Debug, Copy, Clone)]
1764pub struct rb_mutex_struct {
1765    _unused: [u8; 0],
1766}
1767#[repr(C)]
1768#[derive(Debug, Copy, Clone)]
1769pub struct rb_thread_list_struct {
1770    pub next: *mut rb_thread_list_struct,
1771    pub th: *mut rb_thread_struct,
1772}
1773pub type rb_thread_list_t = rb_thread_list_struct;
1774#[repr(C)]
1775#[derive(Debug, Copy, Clone)]
1776pub struct rb_ensure_entry {
1777    pub marker: VALUE,
1778    pub e_proc: ::std::option::Option<unsafe extern "C" fn() -> VALUE>,
1779    pub data2: VALUE,
1780}
1781#[repr(C)]
1782#[derive(Debug, Copy, Clone)]
1783pub struct rb_ensure_list {
1784    pub next: *mut rb_ensure_list,
1785    pub entry: rb_ensure_entry,
1786}
1787pub type rb_ensure_list_t = rb_ensure_list;
1788#[repr(C)]
1789#[derive(Debug, Copy, Clone)]
1790pub struct rb_fiber_struct {
1791    _unused: [u8; 0],
1792}
1793pub type rb_fiber_t = rb_fiber_struct;
1794#[repr(C)]
1795#[derive(Copy, Clone)]
1796pub struct rb_thread_struct {
1797    pub vmlt_node: list_node,
1798    pub self_: VALUE,
1799    pub vm: *mut rb_vm_t,
1800    pub stack: *mut VALUE,
1801    pub stack_size: usize,
1802    pub cfp: *mut rb_control_frame_t,
1803    pub safe_level: ::std::os::raw::c_int,
1804    pub raised_flag: ::std::os::raw::c_int,
1805    pub last_status: VALUE,
1806    pub state: ::std::os::raw::c_int,
1807    pub waiting_fd: ::std::os::raw::c_int,
1808    pub passed_block: *const rb_block_t,
1809    pub passed_bmethod_me: *const rb_callable_method_entry_t,
1810    pub calling: *mut rb_calling_info,
1811    pub top_self: VALUE,
1812    pub top_wrapper: VALUE,
1813    pub base_block: *mut rb_block_t,
1814    pub root_lep: *mut VALUE,
1815    pub root_svar: VALUE,
1816    pub thread_id: rb_nativethread_id_t,
1817    pub status: rb_thread_status,
1818    pub to_kill: ::std::os::raw::c_int,
1819    pub priority: ::std::os::raw::c_int,
1820    pub native_thread_data: native_thread_data_t,
1821    pub blocking_region_buffer: *mut ::std::os::raw::c_void,
1822    pub thgroup: VALUE,
1823    pub value: VALUE,
1824    pub errinfo: VALUE,
1825    pub pending_interrupt_queue: VALUE,
1826    pub pending_interrupt_mask_stack: VALUE,
1827    pub pending_interrupt_queue_checked: ::std::os::raw::c_int,
1828    pub interrupt_flag: rb_atomic_t,
1829    pub interrupt_mask: ::std::os::raw::c_ulong,
1830    pub interrupt_lock: rb_nativethread_lock_t,
1831    pub interrupt_cond: rb_nativethread_cond_t,
1832    pub unblock: rb_unblock_callback,
1833    pub locking_mutex: VALUE,
1834    pub keeping_mutexes: *mut rb_mutex_struct,
1835    pub tag: *mut rb_vm_tag,
1836    pub protect_tag: *mut rb_vm_protect_tag,
1837    pub parse_in_eval: ::std::os::raw::c_int,
1838    pub mild_compile_error: ::std::os::raw::c_int,
1839    pub local_storage: *mut st_table,
1840    pub local_storage_recursive_hash: VALUE,
1841    pub local_storage_recursive_hash_for_trace: VALUE,
1842    pub join_list: *mut rb_thread_list_t,
1843    pub first_proc: VALUE,
1844    pub first_args: VALUE,
1845    pub first_func: ::std::option::Option<unsafe extern "C" fn() -> VALUE>,
1846    pub machine: rb_thread_struct__bindgen_ty_1,
1847    pub stat_insn_usage: VALUE,
1848    pub event_hooks: rb_hook_list_t,
1849    pub trace_arg: *mut rb_trace_arg_struct,
1850    pub fiber: *mut rb_fiber_t,
1851    pub root_fiber: *mut rb_fiber_t,
1852    pub root_jmpbuf: rb_jmpbuf_t,
1853    pub ensure_list: *mut rb_ensure_list_t,
1854    pub method_missing_reason: method_missing_reason,
1855    pub abort_on_exception: ::std::os::raw::c_int,
1856    pub altstack: *mut ::std::os::raw::c_void,
1857    pub running_time_us: ::std::os::raw::c_ulong,
1858    pub name: VALUE,
1859}
1860#[repr(C)]
1861#[derive(Debug, Copy, Clone)]
1862pub struct rb_thread_struct__bindgen_ty_1 {
1863    pub stack_start: *mut VALUE,
1864    pub stack_end: *mut VALUE,
1865    pub stack_maxsize: usize,
1866    pub regs: jmp_buf,
1867}
1868impl ::std::fmt::Debug for rb_thread_struct {
1869    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1870        write ! (f , "rb_thread_struct {{ vmlt_node: {:?}, self: {:?}, vm: {:?}, stack: {:?}, cfp: {:?}, safe_level: {:?}, raised_flag: {:?}, last_status: {:?}, state: {:?}, waiting_fd: {:?}, passed_block: {:?}, passed_bmethod_me: {:?}, calling: {:?}, top_self: {:?}, top_wrapper: {:?}, base_block: {:?}, root_lep: {:?}, root_svar: {:?}, thread_id: {:?}, status: {:?}, to_kill: {:?}, priority: {:?}, native_thread_data: {:?}, blocking_region_buffer: {:?}, thgroup: {:?}, value: {:?}, errinfo: {:?}, pending_interrupt_queue: {:?}, pending_interrupt_mask_stack: {:?}, pending_interrupt_queue_checked: {:?}, interrupt_flag: {:?}, interrupt_mask: {:?}, interrupt_lock: {:?}, interrupt_cond: {:?}, unblock: {:?}, locking_mutex: {:?}, keeping_mutexes: {:?}, tag: {:?}, protect_tag: {:?}, parse_in_eval: {:?}, mild_compile_error: {:?}, local_storage: {:?}, local_storage_recursive_hash: {:?}, local_storage_recursive_hash_for_trace: {:?}, join_list: {:?}, first_proc: {:?}, first_args: {:?}, first_func: {:?}, machine: {:?}, stat_insn_usage: {:?}, event_hooks: {:?}, trace_arg: {:?}, fiber: {:?}, root_fiber: {:?}, root_jmpbuf: {:?}, ensure_list: {:?}, method_missing_reason: {:?}, abort_on_exception: {:?}, altstack: {:?}, running_time_us: {:?}, name: {:?} }}" , self . vmlt_node , self . self_ , self . vm , self . stack , self . cfp , self . safe_level , self . raised_flag , self . last_status , self . state , self . waiting_fd , self . passed_block , self . passed_bmethod_me , self . calling , self . top_self , self . top_wrapper , self . base_block , self . root_lep , self . root_svar , self . thread_id , self . status , self . to_kill , self . priority , self . native_thread_data , self . blocking_region_buffer , self . thgroup , self . value , self . errinfo , self . pending_interrupt_queue , self . pending_interrupt_mask_stack , self . pending_interrupt_queue_checked , self . interrupt_flag , self . interrupt_mask , self . interrupt_lock , self . interrupt_cond , self . unblock , self . locking_mutex , self . keeping_mutexes , self . tag , self . protect_tag , self . parse_in_eval , self . mild_compile_error , self . local_storage , self . local_storage_recursive_hash , self . local_storage_recursive_hash_for_trace , self . join_list , self . first_proc , self . first_args , self . first_func , self . machine , self . stat_insn_usage , self . event_hooks , self . trace_arg , self . fiber , self . root_fiber , self . root_jmpbuf , self . ensure_list , self . method_missing_reason , self . abort_on_exception , self . altstack , self . running_time_us , self . name)
1871    }
1872}
1873pub type rb_thread_t = rb_thread_struct;
1874#[repr(C)]
1875#[derive(Debug, Copy, Clone)]
1876pub struct rb_trace_arg_struct {
1877    pub event: rb_event_flag_t,
1878    pub th: *mut rb_thread_t,
1879    pub cfp: *mut rb_control_frame_t,
1880    pub self_: VALUE,
1881    pub id: ID,
1882    pub klass: VALUE,
1883    pub data: VALUE,
1884    pub klass_solved: ::std::os::raw::c_int,
1885    pub lineno: ::std::os::raw::c_int,
1886    pub path: VALUE,
1887}
1888#[repr(C)]
1889#[derive(Debug, Copy, Clone)]
1890pub struct rb_compile_option_struct {
1891    pub inline_const_cache: ::std::os::raw::c_int,
1892    pub peephole_optimization: ::std::os::raw::c_int,
1893    pub tailcall_optimization: ::std::os::raw::c_int,
1894    pub specialized_instruction: ::std::os::raw::c_int,
1895    pub operands_unification: ::std::os::raw::c_int,
1896    pub instructions_unification: ::std::os::raw::c_int,
1897    pub stack_caching: ::std::os::raw::c_int,
1898    pub trace_instruction: ::std::os::raw::c_int,
1899    pub frozen_string_literal: ::std::os::raw::c_int,
1900    pub debug_frozen_string_literal: ::std::os::raw::c_int,
1901    pub debug_level: ::std::os::raw::c_int,
1902}
1903#[repr(C)]
1904#[derive(Debug, Copy, Clone)]
1905pub struct iseq_line_info_entry {
1906    pub position: ::std::os::raw::c_uint,
1907    pub line_no: ::std::os::raw::c_uint,
1908}
1909#[repr(C)]
1910#[derive(Debug, Copy, Clone)]
1911pub struct iseq_catch_table_entry {
1912    pub type_: iseq_catch_table_entry_catch_type,
1913    pub iseq: *const rb_iseq_t,
1914    pub start: ::std::os::raw::c_uint,
1915    pub end: ::std::os::raw::c_uint,
1916    pub cont: ::std::os::raw::c_uint,
1917    pub sp: ::std::os::raw::c_uint,
1918}
1919pub const iseq_catch_table_entry_catch_type_CATCH_TYPE_RESCUE: iseq_catch_table_entry_catch_type =
1920    3;
1921pub const iseq_catch_table_entry_catch_type_CATCH_TYPE_ENSURE: iseq_catch_table_entry_catch_type =
1922    5;
1923pub const iseq_catch_table_entry_catch_type_CATCH_TYPE_RETRY: iseq_catch_table_entry_catch_type = 7;
1924pub const iseq_catch_table_entry_catch_type_CATCH_TYPE_BREAK: iseq_catch_table_entry_catch_type = 9;
1925pub const iseq_catch_table_entry_catch_type_CATCH_TYPE_REDO: iseq_catch_table_entry_catch_type = 11;
1926pub const iseq_catch_table_entry_catch_type_CATCH_TYPE_NEXT: iseq_catch_table_entry_catch_type = 13;
1927pub type iseq_catch_table_entry_catch_type = ::std::os::raw::c_uint;
1928#[repr(C)]
1929#[derive(Copy, Clone)]
1930pub struct iseq_catch_table {
1931    pub size: ::std::os::raw::c_uint,
1932    pub entries: [iseq_catch_table_entry; 1usize],
1933}
1934#[repr(C)]
1935#[derive(Debug, Copy, Clone)]
1936pub struct iseq_compile_data_storage {
1937    pub next: *mut iseq_compile_data_storage,
1938    pub pos: ::std::os::raw::c_uint,
1939    pub size: ::std::os::raw::c_uint,
1940    pub buff: [::std::os::raw::c_char; 1usize],
1941}
1942#[repr(C)]
1943#[derive(Debug, Copy, Clone)]
1944pub struct iseq_compile_data {
1945    pub err_info: VALUE,
1946    pub mark_ary: VALUE,
1947    pub catch_table_ary: VALUE,
1948    pub start_label: *mut iseq_label_data,
1949    pub end_label: *mut iseq_label_data,
1950    pub redo_label: *mut iseq_label_data,
1951    pub current_block: *const rb_iseq_t,
1952    pub ensure_node: VALUE,
1953    pub for_iseq: VALUE,
1954    pub ensure_node_stack: *mut iseq_compile_data_ensure_node_stack,
1955    pub loopval_popped: ::std::os::raw::c_int,
1956    pub cached_const: ::std::os::raw::c_int,
1957    pub storage_head: *mut iseq_compile_data_storage,
1958    pub storage_current: *mut iseq_compile_data_storage,
1959    pub last_line: ::std::os::raw::c_int,
1960    pub last_coverable_line: ::std::os::raw::c_int,
1961    pub label_no: ::std::os::raw::c_int,
1962    pub node_level: ::std::os::raw::c_int,
1963    pub ci_index: ::std::os::raw::c_uint,
1964    pub ci_kw_index: ::std::os::raw::c_uint,
1965    pub option: *const rb_compile_option_t,
1966}
1967#[repr(C)]
1968#[derive(Debug, Copy, Clone)]
1969pub struct st_table_entry {
1970    pub _address: u8,
1971}
1972#[repr(C)]
1973#[derive(Debug, Copy, Clone)]
1974pub struct st_packed_entry {
1975    pub _address: u8,
1976}
1977#[repr(C)]
1978#[derive(Debug, Copy, Clone)]
1979pub struct rb_event_hook_struct {
1980    pub _address: u8,
1981}
1982#[repr(C)]
1983#[derive(Debug, Copy, Clone)]
1984pub struct rb_postponed_job_struct {
1985    pub _address: u8,
1986}
1987#[repr(C)]
1988#[derive(Debug, Copy, Clone)]
1989pub struct iseq_label_data {
1990    pub _address: u8,
1991}
1992#[repr(C)]
1993#[derive(Debug, Copy, Clone)]
1994pub struct iseq_compile_data_ensure_node_stack {
1995    pub _address: u8,
1996}