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