rbspy_ruby_structs/
ruby_2_7_8.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}
708#[repr(C)]
709#[derive(Debug, Copy, Clone)]
710pub struct rb_fiber_struct {
711    _unused: [u8; 0],
712}
713#[repr(C)]
714#[derive(Debug, Copy, Clone)]
715pub struct rb_objspace {
716    _unused: [u8; 0],
717}
718pub const method_missing_reason_MISSING_NOENTRY: method_missing_reason = 0;
719pub const method_missing_reason_MISSING_PRIVATE: method_missing_reason = 1;
720pub const method_missing_reason_MISSING_PROTECTED: method_missing_reason = 2;
721pub const method_missing_reason_MISSING_FCALL: method_missing_reason = 4;
722pub const method_missing_reason_MISSING_VCALL: method_missing_reason = 8;
723pub const method_missing_reason_MISSING_SUPER: method_missing_reason = 16;
724pub const method_missing_reason_MISSING_MISSING: method_missing_reason = 32;
725pub const method_missing_reason_MISSING_NONE: method_missing_reason = 64;
726pub type method_missing_reason = ::std::os::raw::c_uint;
727#[repr(C)]
728#[derive(Copy, Clone)]
729pub struct rb_call_cache {
730    pub method_state: rb_serial_t,
731    pub class_serial: [rb_serial_t; 3usize],
732    pub me: *const rb_callable_method_entry_struct,
733    pub method_serial: usize,
734    pub call: ::std::option::Option<
735        unsafe extern "C" fn(
736            ec: *mut rb_execution_context_struct,
737            cfp: *mut rb_control_frame_struct,
738            calling: *mut rb_calling_info,
739            cd: *mut rb_call_data,
740        ) -> VALUE,
741    >,
742    pub aux: rb_call_cache__bindgen_ty_1,
743}
744#[repr(C)]
745#[derive(Copy, Clone)]
746pub union rb_call_cache__bindgen_ty_1 {
747    pub index: ::std::os::raw::c_uint,
748    pub method_missing_reason: method_missing_reason,
749}
750impl ::std::fmt::Debug for rb_call_cache__bindgen_ty_1 {
751    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
752        write!(f, "rb_call_cache__bindgen_ty_1 {{ union }}")
753    }
754}
755impl ::std::fmt::Debug for rb_call_cache {
756    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
757        write ! (f , "rb_call_cache {{ method_state: {:?}, class_serial: {:?}, me: {:?}, call: {:?}, aux: {:?} }}" , self . method_state , self . class_serial , self . me , self . call , self . aux)
758    }
759}
760#[repr(C)]
761#[derive(Debug, Copy, Clone)]
762pub struct rb_call_info {
763    pub mid: ID,
764    pub flag: ::std::os::raw::c_uint,
765    pub orig_argc: ::std::os::raw::c_int,
766}
767#[repr(C)]
768#[derive(Copy, Clone)]
769pub struct rb_call_data {
770    pub cc: rb_call_cache,
771    pub ci: rb_call_info,
772}
773impl ::std::fmt::Debug for rb_call_data {
774    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
775        write!(f, "rb_call_data {{ cc: {:?}, ci: {:?} }}", self.cc, self.ci)
776    }
777}
778pub const rb_method_visibility_t_METHOD_VISI_UNDEF: rb_method_visibility_t = 0;
779pub const rb_method_visibility_t_METHOD_VISI_PUBLIC: rb_method_visibility_t = 1;
780pub const rb_method_visibility_t_METHOD_VISI_PRIVATE: rb_method_visibility_t = 2;
781pub const rb_method_visibility_t_METHOD_VISI_PROTECTED: rb_method_visibility_t = 3;
782pub const rb_method_visibility_t_METHOD_VISI_MASK: rb_method_visibility_t = 3;
783pub type rb_method_visibility_t = ::std::os::raw::c_uint;
784#[repr(C)]
785#[repr(align(4))]
786#[derive(Debug, Copy, Clone)]
787pub struct rb_scope_visi_struct {
788    pub _bitfield_align_1: [u8; 0],
789    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
790    pub __bindgen_padding_0: [u8; 3usize],
791}
792impl rb_scope_visi_struct {
793    #[inline]
794    pub fn method_visi(&self) -> rb_method_visibility_t {
795        unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 3u8) as u32) }
796    }
797    #[inline]
798    pub fn set_method_visi(&mut self, val: rb_method_visibility_t) {
799        unsafe {
800            let val: u32 = ::std::mem::transmute(val);
801            self._bitfield_1.set(0usize, 3u8, val as u64)
802        }
803    }
804    #[inline]
805    pub unsafe fn method_visi_raw(this: *const Self) -> rb_method_visibility_t {
806        unsafe {
807            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(
808                ::std::ptr::addr_of!((*this)._bitfield_1),
809                0usize,
810                3u8,
811            ) as u32)
812        }
813    }
814    #[inline]
815    pub unsafe fn set_method_visi_raw(this: *mut Self, val: rb_method_visibility_t) {
816        unsafe {
817            let val: u32 = ::std::mem::transmute(val);
818            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(
819                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
820                0usize,
821                3u8,
822                val as u64,
823            )
824        }
825    }
826    #[inline]
827    pub fn module_func(&self) -> ::std::os::raw::c_uint {
828        unsafe { ::std::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u32) }
829    }
830    #[inline]
831    pub fn set_module_func(&mut self, val: ::std::os::raw::c_uint) {
832        unsafe {
833            let val: u32 = ::std::mem::transmute(val);
834            self._bitfield_1.set(3usize, 1u8, val as u64)
835        }
836    }
837    #[inline]
838    pub unsafe fn module_func_raw(this: *const Self) -> ::std::os::raw::c_uint {
839        unsafe {
840            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(
841                ::std::ptr::addr_of!((*this)._bitfield_1),
842                3usize,
843                1u8,
844            ) as u32)
845        }
846    }
847    #[inline]
848    pub unsafe fn set_module_func_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
849        unsafe {
850            let val: u32 = ::std::mem::transmute(val);
851            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(
852                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
853                3usize,
854                1u8,
855                val as u64,
856            )
857        }
858    }
859    #[inline]
860    pub fn new_bitfield_1(
861        method_visi: rb_method_visibility_t,
862        module_func: ::std::os::raw::c_uint,
863    ) -> __BindgenBitfieldUnit<[u8; 1usize]> {
864        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
865        __bindgen_bitfield_unit.set(0usize, 3u8, {
866            let method_visi: u32 = unsafe { ::std::mem::transmute(method_visi) };
867            method_visi as u64
868        });
869        __bindgen_bitfield_unit.set(3usize, 1u8, {
870            let module_func: u32 = unsafe { ::std::mem::transmute(module_func) };
871            module_func as u64
872        });
873        __bindgen_bitfield_unit
874    }
875}
876pub type rb_scope_visibility_t = rb_scope_visi_struct;
877#[repr(C)]
878#[derive(Debug, Copy, Clone)]
879pub struct rb_cref_struct {
880    pub flags: VALUE,
881    pub refinements: VALUE,
882    pub klass: VALUE,
883    pub next: *mut rb_cref_struct,
884    pub scope_visi: rb_scope_visibility_t,
885}
886pub type rb_cref_t = rb_cref_struct;
887#[repr(C)]
888#[derive(Debug, Copy, Clone)]
889pub struct rb_method_entry_struct {
890    pub flags: VALUE,
891    pub defined_class: VALUE,
892    pub def: *mut rb_method_definition_struct,
893    pub called_id: ID,
894    pub owner: VALUE,
895}
896#[repr(C)]
897#[derive(Debug, Copy, Clone)]
898pub struct rb_callable_method_entry_struct {
899    pub flags: VALUE,
900    pub defined_class: VALUE,
901    pub def: *mut rb_method_definition_struct,
902    pub called_id: ID,
903    pub owner: VALUE,
904}
905pub const rb_method_type_t_VM_METHOD_TYPE_ISEQ: rb_method_type_t = 0;
906pub const rb_method_type_t_VM_METHOD_TYPE_CFUNC: rb_method_type_t = 1;
907pub const rb_method_type_t_VM_METHOD_TYPE_ATTRSET: rb_method_type_t = 2;
908pub const rb_method_type_t_VM_METHOD_TYPE_IVAR: rb_method_type_t = 3;
909pub const rb_method_type_t_VM_METHOD_TYPE_BMETHOD: rb_method_type_t = 4;
910pub const rb_method_type_t_VM_METHOD_TYPE_ZSUPER: rb_method_type_t = 5;
911pub const rb_method_type_t_VM_METHOD_TYPE_ALIAS: rb_method_type_t = 6;
912pub const rb_method_type_t_VM_METHOD_TYPE_UNDEF: rb_method_type_t = 7;
913pub const rb_method_type_t_VM_METHOD_TYPE_NOTIMPLEMENTED: rb_method_type_t = 8;
914pub const rb_method_type_t_VM_METHOD_TYPE_OPTIMIZED: rb_method_type_t = 9;
915pub const rb_method_type_t_VM_METHOD_TYPE_MISSING: rb_method_type_t = 10;
916pub const rb_method_type_t_VM_METHOD_TYPE_REFINED: rb_method_type_t = 11;
917pub type rb_method_type_t = ::std::os::raw::c_uint;
918pub type rb_iseq_t = rb_iseq_struct;
919#[repr(C)]
920#[derive(Debug, Copy, Clone)]
921pub struct rb_method_iseq_struct {
922    pub iseqptr: *mut rb_iseq_t,
923    pub cref: *mut rb_cref_t,
924}
925pub type rb_method_iseq_t = rb_method_iseq_struct;
926#[repr(C)]
927#[derive(Debug, Copy, Clone)]
928pub struct rb_method_cfunc_struct {
929    pub func: ::std::option::Option<unsafe extern "C" fn() -> VALUE>,
930    pub invoker: ::std::option::Option<
931        unsafe extern "C" fn(
932            recv: VALUE,
933            argc: ::std::os::raw::c_int,
934            argv: *const VALUE,
935            func: ::std::option::Option<unsafe extern "C" fn() -> VALUE>,
936        ) -> VALUE,
937    >,
938    pub argc: ::std::os::raw::c_int,
939}
940pub type rb_method_cfunc_t = rb_method_cfunc_struct;
941#[repr(C)]
942#[derive(Debug, Copy, Clone)]
943pub struct rb_method_attr_struct {
944    pub id: ID,
945    pub location: VALUE,
946}
947pub type rb_method_attr_t = rb_method_attr_struct;
948#[repr(C)]
949#[derive(Debug, Copy, Clone)]
950pub struct rb_method_alias_struct {
951    pub original_me: *mut rb_method_entry_struct,
952}
953pub type rb_method_alias_t = rb_method_alias_struct;
954#[repr(C)]
955#[derive(Debug, Copy, Clone)]
956pub struct rb_method_refined_struct {
957    pub orig_me: *mut rb_method_entry_struct,
958    pub owner: VALUE,
959}
960pub type rb_method_refined_t = rb_method_refined_struct;
961#[repr(C)]
962#[derive(Debug, Copy, Clone)]
963pub struct rb_method_bmethod_struct {
964    pub proc_: VALUE,
965    pub hooks: *mut rb_hook_list_struct,
966}
967pub type rb_method_bmethod_t = rb_method_bmethod_struct;
968pub const method_optimized_type_OPTIMIZED_METHOD_TYPE_SEND: method_optimized_type = 0;
969pub const method_optimized_type_OPTIMIZED_METHOD_TYPE_CALL: method_optimized_type = 1;
970pub const method_optimized_type_OPTIMIZED_METHOD_TYPE_BLOCK_CALL: method_optimized_type = 2;
971pub const method_optimized_type_OPTIMIZED_METHOD_TYPE__MAX: method_optimized_type = 3;
972pub type method_optimized_type = ::std::os::raw::c_uint;
973#[repr(C)]
974#[derive(Copy, Clone)]
975pub struct rb_method_definition_struct {
976    pub _bitfield_align_1: [u32; 0],
977    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
978    pub body: rb_method_definition_struct__bindgen_ty_1,
979    pub original_id: ID,
980    pub method_serial: usize,
981}
982#[repr(C)]
983#[derive(Copy, Clone)]
984pub union rb_method_definition_struct__bindgen_ty_1 {
985    pub iseq: rb_method_iseq_t,
986    pub cfunc: rb_method_cfunc_t,
987    pub attr: rb_method_attr_t,
988    pub alias: rb_method_alias_t,
989    pub refined: rb_method_refined_t,
990    pub bmethod: rb_method_bmethod_t,
991    pub optimize_type: method_optimized_type,
992}
993impl ::std::fmt::Debug for rb_method_definition_struct__bindgen_ty_1 {
994    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
995        write!(f, "rb_method_definition_struct__bindgen_ty_1 {{ union }}")
996    }
997}
998impl rb_method_definition_struct {
999    #[inline]
1000    pub fn type_(&self) -> rb_method_type_t {
1001        unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 4u8) as u32) }
1002    }
1003    #[inline]
1004    pub fn set_type(&mut self, val: rb_method_type_t) {
1005        unsafe {
1006            let val: u32 = ::std::mem::transmute(val);
1007            self._bitfield_1.set(0usize, 4u8, val as u64)
1008        }
1009    }
1010    #[inline]
1011    pub unsafe fn type__raw(this: *const Self) -> rb_method_type_t {
1012        unsafe {
1013            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 8usize]>>::raw_get(
1014                ::std::ptr::addr_of!((*this)._bitfield_1),
1015                0usize,
1016                4u8,
1017            ) as u32)
1018        }
1019    }
1020    #[inline]
1021    pub unsafe fn set_type_raw(this: *mut Self, val: rb_method_type_t) {
1022        unsafe {
1023            let val: u32 = ::std::mem::transmute(val);
1024            <__BindgenBitfieldUnit<[u8; 8usize]>>::raw_set(
1025                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1026                0usize,
1027                4u8,
1028                val as u64,
1029            )
1030        }
1031    }
1032    #[inline]
1033    pub fn alias_count(&self) -> ::std::os::raw::c_int {
1034        unsafe { ::std::mem::transmute(self._bitfield_1.get(4usize, 28u8) as u32) }
1035    }
1036    #[inline]
1037    pub fn set_alias_count(&mut self, val: ::std::os::raw::c_int) {
1038        unsafe {
1039            let val: u32 = ::std::mem::transmute(val);
1040            self._bitfield_1.set(4usize, 28u8, val as u64)
1041        }
1042    }
1043    #[inline]
1044    pub unsafe fn alias_count_raw(this: *const Self) -> ::std::os::raw::c_int {
1045        unsafe {
1046            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 8usize]>>::raw_get(
1047                ::std::ptr::addr_of!((*this)._bitfield_1),
1048                4usize,
1049                28u8,
1050            ) as u32)
1051        }
1052    }
1053    #[inline]
1054    pub unsafe fn set_alias_count_raw(this: *mut Self, val: ::std::os::raw::c_int) {
1055        unsafe {
1056            let val: u32 = ::std::mem::transmute(val);
1057            <__BindgenBitfieldUnit<[u8; 8usize]>>::raw_set(
1058                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1059                4usize,
1060                28u8,
1061                val as u64,
1062            )
1063        }
1064    }
1065    #[inline]
1066    pub fn complemented_count(&self) -> ::std::os::raw::c_int {
1067        unsafe { ::std::mem::transmute(self._bitfield_1.get(32usize, 28u8) as u32) }
1068    }
1069    #[inline]
1070    pub fn set_complemented_count(&mut self, val: ::std::os::raw::c_int) {
1071        unsafe {
1072            let val: u32 = ::std::mem::transmute(val);
1073            self._bitfield_1.set(32usize, 28u8, val as u64)
1074        }
1075    }
1076    #[inline]
1077    pub unsafe fn complemented_count_raw(this: *const Self) -> ::std::os::raw::c_int {
1078        unsafe {
1079            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 8usize]>>::raw_get(
1080                ::std::ptr::addr_of!((*this)._bitfield_1),
1081                32usize,
1082                28u8,
1083            ) as u32)
1084        }
1085    }
1086    #[inline]
1087    pub unsafe fn set_complemented_count_raw(this: *mut Self, val: ::std::os::raw::c_int) {
1088        unsafe {
1089            let val: u32 = ::std::mem::transmute(val);
1090            <__BindgenBitfieldUnit<[u8; 8usize]>>::raw_set(
1091                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1092                32usize,
1093                28u8,
1094                val as u64,
1095            )
1096        }
1097    }
1098    #[inline]
1099    pub fn no_redef_warning(&self) -> ::std::os::raw::c_uint {
1100        unsafe { ::std::mem::transmute(self._bitfield_1.get(60usize, 1u8) as u32) }
1101    }
1102    #[inline]
1103    pub fn set_no_redef_warning(&mut self, val: ::std::os::raw::c_uint) {
1104        unsafe {
1105            let val: u32 = ::std::mem::transmute(val);
1106            self._bitfield_1.set(60usize, 1u8, val as u64)
1107        }
1108    }
1109    #[inline]
1110    pub unsafe fn no_redef_warning_raw(this: *const Self) -> ::std::os::raw::c_uint {
1111        unsafe {
1112            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 8usize]>>::raw_get(
1113                ::std::ptr::addr_of!((*this)._bitfield_1),
1114                60usize,
1115                1u8,
1116            ) as u32)
1117        }
1118    }
1119    #[inline]
1120    pub unsafe fn set_no_redef_warning_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1121        unsafe {
1122            let val: u32 = ::std::mem::transmute(val);
1123            <__BindgenBitfieldUnit<[u8; 8usize]>>::raw_set(
1124                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1125                60usize,
1126                1u8,
1127                val as u64,
1128            )
1129        }
1130    }
1131    #[inline]
1132    pub fn new_bitfield_1(
1133        type_: rb_method_type_t,
1134        alias_count: ::std::os::raw::c_int,
1135        complemented_count: ::std::os::raw::c_int,
1136        no_redef_warning: ::std::os::raw::c_uint,
1137    ) -> __BindgenBitfieldUnit<[u8; 8usize]> {
1138        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 8usize]> = Default::default();
1139        __bindgen_bitfield_unit.set(0usize, 4u8, {
1140            let type_: u32 = unsafe { ::std::mem::transmute(type_) };
1141            type_ as u64
1142        });
1143        __bindgen_bitfield_unit.set(4usize, 28u8, {
1144            let alias_count: u32 = unsafe { ::std::mem::transmute(alias_count) };
1145            alias_count as u64
1146        });
1147        __bindgen_bitfield_unit.set(32usize, 28u8, {
1148            let complemented_count: u32 = unsafe { ::std::mem::transmute(complemented_count) };
1149            complemented_count as u64
1150        });
1151        __bindgen_bitfield_unit.set(60usize, 1u8, {
1152            let no_redef_warning: u32 = unsafe { ::std::mem::transmute(no_redef_warning) };
1153            no_redef_warning as u64
1154        });
1155        __bindgen_bitfield_unit
1156    }
1157}
1158pub type rb_atomic_t = ::std::os::raw::c_uint;
1159#[repr(C)]
1160#[derive(Debug, Copy, Clone)]
1161pub struct list_node {
1162    pub next: *mut list_node,
1163    pub prev: *mut list_node,
1164}
1165#[repr(C)]
1166#[derive(Debug, Copy, Clone)]
1167pub struct list_head {
1168    pub n: list_node,
1169}
1170pub type __jmp_buf = [::std::os::raw::c_long; 8usize];
1171pub type rb_nativethread_id_t = pthread_t;
1172pub type rb_nativethread_lock_t = pthread_mutex_t;
1173pub type rb_nativethread_cond_t = pthread_cond_t;
1174#[repr(C)]
1175#[derive(Copy, Clone)]
1176pub struct native_thread_data_struct {
1177    pub node: native_thread_data_struct__bindgen_ty_1,
1178    pub cond: native_thread_data_struct__bindgen_ty_2,
1179}
1180#[repr(C)]
1181#[derive(Copy, Clone)]
1182pub union native_thread_data_struct__bindgen_ty_1 {
1183    pub ubf: list_node,
1184    pub gvl: list_node,
1185}
1186impl ::std::fmt::Debug for native_thread_data_struct__bindgen_ty_1 {
1187    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1188        write!(f, "native_thread_data_struct__bindgen_ty_1 {{ union }}")
1189    }
1190}
1191#[repr(C)]
1192#[derive(Copy, Clone)]
1193pub union native_thread_data_struct__bindgen_ty_2 {
1194    pub intr: rb_nativethread_cond_t,
1195    pub gvlq: rb_nativethread_cond_t,
1196}
1197impl ::std::fmt::Debug for native_thread_data_struct__bindgen_ty_2 {
1198    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1199        write!(f, "native_thread_data_struct__bindgen_ty_2 {{ union }}")
1200    }
1201}
1202impl ::std::fmt::Debug for native_thread_data_struct {
1203    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1204        write!(
1205            f,
1206            "native_thread_data_struct {{ node: {:?}, cond: {:?} }}",
1207            self.node, self.cond
1208        )
1209    }
1210}
1211pub type native_thread_data_t = native_thread_data_struct;
1212#[repr(C)]
1213#[derive(Copy, Clone)]
1214pub struct rb_global_vm_lock_struct {
1215    pub owner: *const rb_thread_struct,
1216    pub lock: rb_nativethread_lock_t,
1217    pub waitq: list_head,
1218    pub timer: *const rb_thread_struct,
1219    pub timer_err: ::std::os::raw::c_int,
1220    pub switch_cond: rb_nativethread_cond_t,
1221    pub switch_wait_cond: rb_nativethread_cond_t,
1222    pub need_yield: ::std::os::raw::c_int,
1223    pub wait_yield: ::std::os::raw::c_int,
1224}
1225impl ::std::fmt::Debug for rb_global_vm_lock_struct {
1226    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1227        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)
1228    }
1229}
1230pub type rb_global_vm_lock_t = rb_global_vm_lock_struct;
1231#[repr(C)]
1232#[derive(Debug, Copy, Clone)]
1233pub struct __jmp_buf_tag {
1234    pub __jmpbuf: __jmp_buf,
1235    pub __mask_was_saved: ::std::os::raw::c_int,
1236    pub __saved_mask: __sigset_t,
1237}
1238pub type jmp_buf = [__jmp_buf_tag; 1usize];
1239pub type sigjmp_buf = [__jmp_buf_tag; 1usize];
1240pub type rb_snum_t = ::std::os::raw::c_long;
1241pub const ruby_tag_type_RUBY_TAG_NONE: ruby_tag_type = 0;
1242pub const ruby_tag_type_RUBY_TAG_RETURN: ruby_tag_type = 1;
1243pub const ruby_tag_type_RUBY_TAG_BREAK: ruby_tag_type = 2;
1244pub const ruby_tag_type_RUBY_TAG_NEXT: ruby_tag_type = 3;
1245pub const ruby_tag_type_RUBY_TAG_RETRY: ruby_tag_type = 4;
1246pub const ruby_tag_type_RUBY_TAG_REDO: ruby_tag_type = 5;
1247pub const ruby_tag_type_RUBY_TAG_RAISE: ruby_tag_type = 6;
1248pub const ruby_tag_type_RUBY_TAG_THROW: ruby_tag_type = 7;
1249pub const ruby_tag_type_RUBY_TAG_FATAL: ruby_tag_type = 8;
1250pub const ruby_tag_type_RUBY_TAG_MASK: ruby_tag_type = 15;
1251pub type ruby_tag_type = ::std::os::raw::c_uint;
1252pub type rb_compile_option_t = rb_compile_option_struct;
1253#[repr(C)]
1254#[derive(Debug, Copy, Clone)]
1255pub struct iseq_inline_cache_entry {
1256    pub ic_serial: rb_serial_t,
1257    pub ic_cref: *const rb_cref_t,
1258    pub value: VALUE,
1259}
1260#[repr(C)]
1261#[derive(Debug, Copy, Clone)]
1262pub struct iseq_inline_iv_cache_entry {
1263    pub ic_serial: rb_serial_t,
1264    pub index: usize,
1265}
1266#[repr(C)]
1267#[derive(Copy, Clone)]
1268pub union iseq_inline_storage_entry {
1269    pub once: iseq_inline_storage_entry__bindgen_ty_1,
1270    pub cache: iseq_inline_cache_entry,
1271    pub iv_cache: iseq_inline_iv_cache_entry,
1272}
1273#[repr(C)]
1274#[derive(Debug, Copy, Clone)]
1275pub struct iseq_inline_storage_entry__bindgen_ty_1 {
1276    pub running_thread: *mut rb_thread_struct,
1277    pub value: VALUE,
1278}
1279impl ::std::fmt::Debug for iseq_inline_storage_entry {
1280    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1281        write!(f, "iseq_inline_storage_entry {{ union }}")
1282    }
1283}
1284#[repr(C)]
1285#[derive(Debug, Copy, Clone)]
1286pub struct rb_calling_info {
1287    pub block_handler: VALUE,
1288    pub recv: VALUE,
1289    pub argc: ::std::os::raw::c_int,
1290    pub kw_splat: ::std::os::raw::c_int,
1291}
1292#[repr(C)]
1293#[derive(Debug, Copy, Clone)]
1294pub struct rb_iseq_location_struct {
1295    pub pathobj: VALUE,
1296    pub base_label: VALUE,
1297    pub label: VALUE,
1298    pub first_lineno: VALUE,
1299    pub node_id: ::std::os::raw::c_int,
1300    pub code_location: rb_code_location_t,
1301}
1302pub type rb_iseq_location_t = rb_iseq_location_struct;
1303#[repr(C)]
1304#[derive(Debug, Copy, Clone)]
1305pub struct rb_mjit_unit {
1306    _unused: [u8; 0],
1307}
1308#[repr(C)]
1309#[derive(Debug, Copy, Clone)]
1310pub struct rb_iseq_constant_body {
1311    pub type_: rb_iseq_constant_body_iseq_type,
1312    pub iseq_size: ::std::os::raw::c_uint,
1313    pub iseq_encoded: *mut VALUE,
1314    pub param: rb_iseq_constant_body__bindgen_ty_1,
1315    pub location: rb_iseq_location_t,
1316    pub insns_info: rb_iseq_constant_body_iseq_insn_info,
1317    pub local_table: *const ID,
1318    pub catch_table: *mut iseq_catch_table,
1319    pub parent_iseq: *const rb_iseq_struct,
1320    pub local_iseq: *mut rb_iseq_struct,
1321    pub is_entries: *mut iseq_inline_storage_entry,
1322    pub call_data: *mut rb_call_data,
1323    pub variable: rb_iseq_constant_body__bindgen_ty_2,
1324    pub local_table_size: ::std::os::raw::c_uint,
1325    pub is_size: ::std::os::raw::c_uint,
1326    pub ci_size: ::std::os::raw::c_uint,
1327    pub ci_kw_size: ::std::os::raw::c_uint,
1328    pub stack_max: ::std::os::raw::c_uint,
1329    pub catch_except_p: ::std::os::raw::c_char,
1330    pub jit_func: ::std::option::Option<
1331        unsafe extern "C" fn(
1332            arg1: *mut rb_execution_context_struct,
1333            arg2: *mut rb_control_frame_struct,
1334        ) -> VALUE,
1335    >,
1336    pub total_calls: ::std::os::raw::c_ulong,
1337    pub jit_unit: *mut rb_mjit_unit,
1338    pub iseq_unique_id: usize,
1339}
1340pub const rb_iseq_constant_body_iseq_type_ISEQ_TYPE_TOP: rb_iseq_constant_body_iseq_type = 0;
1341pub const rb_iseq_constant_body_iseq_type_ISEQ_TYPE_METHOD: rb_iseq_constant_body_iseq_type = 1;
1342pub const rb_iseq_constant_body_iseq_type_ISEQ_TYPE_BLOCK: rb_iseq_constant_body_iseq_type = 2;
1343pub const rb_iseq_constant_body_iseq_type_ISEQ_TYPE_CLASS: rb_iseq_constant_body_iseq_type = 3;
1344pub const rb_iseq_constant_body_iseq_type_ISEQ_TYPE_RESCUE: rb_iseq_constant_body_iseq_type = 4;
1345pub const rb_iseq_constant_body_iseq_type_ISEQ_TYPE_ENSURE: rb_iseq_constant_body_iseq_type = 5;
1346pub const rb_iseq_constant_body_iseq_type_ISEQ_TYPE_EVAL: rb_iseq_constant_body_iseq_type = 6;
1347pub const rb_iseq_constant_body_iseq_type_ISEQ_TYPE_MAIN: rb_iseq_constant_body_iseq_type = 7;
1348pub const rb_iseq_constant_body_iseq_type_ISEQ_TYPE_PLAIN: rb_iseq_constant_body_iseq_type = 8;
1349pub type rb_iseq_constant_body_iseq_type = ::std::os::raw::c_uint;
1350#[repr(C)]
1351#[derive(Debug, Copy, Clone)]
1352pub struct rb_iseq_constant_body__bindgen_ty_1 {
1353    pub flags: rb_iseq_constant_body__bindgen_ty_1__bindgen_ty_1,
1354    pub size: ::std::os::raw::c_uint,
1355    pub lead_num: ::std::os::raw::c_int,
1356    pub opt_num: ::std::os::raw::c_int,
1357    pub rest_start: ::std::os::raw::c_int,
1358    pub post_start: ::std::os::raw::c_int,
1359    pub post_num: ::std::os::raw::c_int,
1360    pub block_start: ::std::os::raw::c_int,
1361    pub opt_table: *const VALUE,
1362    pub keyword: *const rb_iseq_constant_body__bindgen_ty_1_rb_iseq_param_keyword,
1363}
1364#[repr(C)]
1365#[repr(align(4))]
1366#[derive(Debug, Copy, Clone)]
1367pub struct rb_iseq_constant_body__bindgen_ty_1__bindgen_ty_1 {
1368    pub _bitfield_align_1: [u8; 0],
1369    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2usize]>,
1370    pub __bindgen_padding_0: u16,
1371}
1372impl rb_iseq_constant_body__bindgen_ty_1__bindgen_ty_1 {
1373    #[inline]
1374    pub fn has_lead(&self) -> ::std::os::raw::c_uint {
1375        unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) }
1376    }
1377    #[inline]
1378    pub fn set_has_lead(&mut self, val: ::std::os::raw::c_uint) {
1379        unsafe {
1380            let val: u32 = ::std::mem::transmute(val);
1381            self._bitfield_1.set(0usize, 1u8, val as u64)
1382        }
1383    }
1384    #[inline]
1385    pub unsafe fn has_lead_raw(this: *const Self) -> ::std::os::raw::c_uint {
1386        unsafe {
1387            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(
1388                ::std::ptr::addr_of!((*this)._bitfield_1),
1389                0usize,
1390                1u8,
1391            ) as u32)
1392        }
1393    }
1394    #[inline]
1395    pub unsafe fn set_has_lead_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1396        unsafe {
1397            let val: u32 = ::std::mem::transmute(val);
1398            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(
1399                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1400                0usize,
1401                1u8,
1402                val as u64,
1403            )
1404        }
1405    }
1406    #[inline]
1407    pub fn has_opt(&self) -> ::std::os::raw::c_uint {
1408        unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u32) }
1409    }
1410    #[inline]
1411    pub fn set_has_opt(&mut self, val: ::std::os::raw::c_uint) {
1412        unsafe {
1413            let val: u32 = ::std::mem::transmute(val);
1414            self._bitfield_1.set(1usize, 1u8, val as u64)
1415        }
1416    }
1417    #[inline]
1418    pub unsafe fn has_opt_raw(this: *const Self) -> ::std::os::raw::c_uint {
1419        unsafe {
1420            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(
1421                ::std::ptr::addr_of!((*this)._bitfield_1),
1422                1usize,
1423                1u8,
1424            ) as u32)
1425        }
1426    }
1427    #[inline]
1428    pub unsafe fn set_has_opt_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1429        unsafe {
1430            let val: u32 = ::std::mem::transmute(val);
1431            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(
1432                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1433                1usize,
1434                1u8,
1435                val as u64,
1436            )
1437        }
1438    }
1439    #[inline]
1440    pub fn has_rest(&self) -> ::std::os::raw::c_uint {
1441        unsafe { ::std::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u32) }
1442    }
1443    #[inline]
1444    pub fn set_has_rest(&mut self, val: ::std::os::raw::c_uint) {
1445        unsafe {
1446            let val: u32 = ::std::mem::transmute(val);
1447            self._bitfield_1.set(2usize, 1u8, val as u64)
1448        }
1449    }
1450    #[inline]
1451    pub unsafe fn has_rest_raw(this: *const Self) -> ::std::os::raw::c_uint {
1452        unsafe {
1453            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(
1454                ::std::ptr::addr_of!((*this)._bitfield_1),
1455                2usize,
1456                1u8,
1457            ) as u32)
1458        }
1459    }
1460    #[inline]
1461    pub unsafe fn set_has_rest_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1462        unsafe {
1463            let val: u32 = ::std::mem::transmute(val);
1464            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(
1465                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1466                2usize,
1467                1u8,
1468                val as u64,
1469            )
1470        }
1471    }
1472    #[inline]
1473    pub fn has_post(&self) -> ::std::os::raw::c_uint {
1474        unsafe { ::std::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u32) }
1475    }
1476    #[inline]
1477    pub fn set_has_post(&mut self, val: ::std::os::raw::c_uint) {
1478        unsafe {
1479            let val: u32 = ::std::mem::transmute(val);
1480            self._bitfield_1.set(3usize, 1u8, val as u64)
1481        }
1482    }
1483    #[inline]
1484    pub unsafe fn has_post_raw(this: *const Self) -> ::std::os::raw::c_uint {
1485        unsafe {
1486            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(
1487                ::std::ptr::addr_of!((*this)._bitfield_1),
1488                3usize,
1489                1u8,
1490            ) as u32)
1491        }
1492    }
1493    #[inline]
1494    pub unsafe fn set_has_post_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1495        unsafe {
1496            let val: u32 = ::std::mem::transmute(val);
1497            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(
1498                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1499                3usize,
1500                1u8,
1501                val as u64,
1502            )
1503        }
1504    }
1505    #[inline]
1506    pub fn has_kw(&self) -> ::std::os::raw::c_uint {
1507        unsafe { ::std::mem::transmute(self._bitfield_1.get(4usize, 1u8) as u32) }
1508    }
1509    #[inline]
1510    pub fn set_has_kw(&mut self, val: ::std::os::raw::c_uint) {
1511        unsafe {
1512            let val: u32 = ::std::mem::transmute(val);
1513            self._bitfield_1.set(4usize, 1u8, val as u64)
1514        }
1515    }
1516    #[inline]
1517    pub unsafe fn has_kw_raw(this: *const Self) -> ::std::os::raw::c_uint {
1518        unsafe {
1519            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(
1520                ::std::ptr::addr_of!((*this)._bitfield_1),
1521                4usize,
1522                1u8,
1523            ) as u32)
1524        }
1525    }
1526    #[inline]
1527    pub unsafe fn set_has_kw_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1528        unsafe {
1529            let val: u32 = ::std::mem::transmute(val);
1530            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(
1531                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1532                4usize,
1533                1u8,
1534                val as u64,
1535            )
1536        }
1537    }
1538    #[inline]
1539    pub fn has_kwrest(&self) -> ::std::os::raw::c_uint {
1540        unsafe { ::std::mem::transmute(self._bitfield_1.get(5usize, 1u8) as u32) }
1541    }
1542    #[inline]
1543    pub fn set_has_kwrest(&mut self, val: ::std::os::raw::c_uint) {
1544        unsafe {
1545            let val: u32 = ::std::mem::transmute(val);
1546            self._bitfield_1.set(5usize, 1u8, val as u64)
1547        }
1548    }
1549    #[inline]
1550    pub unsafe fn has_kwrest_raw(this: *const Self) -> ::std::os::raw::c_uint {
1551        unsafe {
1552            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(
1553                ::std::ptr::addr_of!((*this)._bitfield_1),
1554                5usize,
1555                1u8,
1556            ) as u32)
1557        }
1558    }
1559    #[inline]
1560    pub unsafe fn set_has_kwrest_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1561        unsafe {
1562            let val: u32 = ::std::mem::transmute(val);
1563            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(
1564                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1565                5usize,
1566                1u8,
1567                val as u64,
1568            )
1569        }
1570    }
1571    #[inline]
1572    pub fn has_block(&self) -> ::std::os::raw::c_uint {
1573        unsafe { ::std::mem::transmute(self._bitfield_1.get(6usize, 1u8) as u32) }
1574    }
1575    #[inline]
1576    pub fn set_has_block(&mut self, val: ::std::os::raw::c_uint) {
1577        unsafe {
1578            let val: u32 = ::std::mem::transmute(val);
1579            self._bitfield_1.set(6usize, 1u8, val as u64)
1580        }
1581    }
1582    #[inline]
1583    pub unsafe fn has_block_raw(this: *const Self) -> ::std::os::raw::c_uint {
1584        unsafe {
1585            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(
1586                ::std::ptr::addr_of!((*this)._bitfield_1),
1587                6usize,
1588                1u8,
1589            ) as u32)
1590        }
1591    }
1592    #[inline]
1593    pub unsafe fn set_has_block_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1594        unsafe {
1595            let val: u32 = ::std::mem::transmute(val);
1596            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(
1597                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1598                6usize,
1599                1u8,
1600                val as u64,
1601            )
1602        }
1603    }
1604    #[inline]
1605    pub fn ambiguous_param0(&self) -> ::std::os::raw::c_uint {
1606        unsafe { ::std::mem::transmute(self._bitfield_1.get(7usize, 1u8) as u32) }
1607    }
1608    #[inline]
1609    pub fn set_ambiguous_param0(&mut self, val: ::std::os::raw::c_uint) {
1610        unsafe {
1611            let val: u32 = ::std::mem::transmute(val);
1612            self._bitfield_1.set(7usize, 1u8, val as u64)
1613        }
1614    }
1615    #[inline]
1616    pub unsafe fn ambiguous_param0_raw(this: *const Self) -> ::std::os::raw::c_uint {
1617        unsafe {
1618            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(
1619                ::std::ptr::addr_of!((*this)._bitfield_1),
1620                7usize,
1621                1u8,
1622            ) as u32)
1623        }
1624    }
1625    #[inline]
1626    pub unsafe fn set_ambiguous_param0_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1627        unsafe {
1628            let val: u32 = ::std::mem::transmute(val);
1629            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(
1630                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1631                7usize,
1632                1u8,
1633                val as u64,
1634            )
1635        }
1636    }
1637    #[inline]
1638    pub fn accepts_no_kwarg(&self) -> ::std::os::raw::c_uint {
1639        unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 1u8) as u32) }
1640    }
1641    #[inline]
1642    pub fn set_accepts_no_kwarg(&mut self, val: ::std::os::raw::c_uint) {
1643        unsafe {
1644            let val: u32 = ::std::mem::transmute(val);
1645            self._bitfield_1.set(8usize, 1u8, val as u64)
1646        }
1647    }
1648    #[inline]
1649    pub unsafe fn accepts_no_kwarg_raw(this: *const Self) -> ::std::os::raw::c_uint {
1650        unsafe {
1651            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(
1652                ::std::ptr::addr_of!((*this)._bitfield_1),
1653                8usize,
1654                1u8,
1655            ) as u32)
1656        }
1657    }
1658    #[inline]
1659    pub unsafe fn set_accepts_no_kwarg_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1660        unsafe {
1661            let val: u32 = ::std::mem::transmute(val);
1662            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(
1663                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1664                8usize,
1665                1u8,
1666                val as u64,
1667            )
1668        }
1669    }
1670    #[inline]
1671    pub fn ruby2_keywords(&self) -> ::std::os::raw::c_uint {
1672        unsafe { ::std::mem::transmute(self._bitfield_1.get(9usize, 1u8) as u32) }
1673    }
1674    #[inline]
1675    pub fn set_ruby2_keywords(&mut self, val: ::std::os::raw::c_uint) {
1676        unsafe {
1677            let val: u32 = ::std::mem::transmute(val);
1678            self._bitfield_1.set(9usize, 1u8, val as u64)
1679        }
1680    }
1681    #[inline]
1682    pub unsafe fn ruby2_keywords_raw(this: *const Self) -> ::std::os::raw::c_uint {
1683        unsafe {
1684            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(
1685                ::std::ptr::addr_of!((*this)._bitfield_1),
1686                9usize,
1687                1u8,
1688            ) as u32)
1689        }
1690    }
1691    #[inline]
1692    pub unsafe fn set_ruby2_keywords_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1693        unsafe {
1694            let val: u32 = ::std::mem::transmute(val);
1695            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(
1696                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1697                9usize,
1698                1u8,
1699                val as u64,
1700            )
1701        }
1702    }
1703    #[inline]
1704    pub fn new_bitfield_1(
1705        has_lead: ::std::os::raw::c_uint,
1706        has_opt: ::std::os::raw::c_uint,
1707        has_rest: ::std::os::raw::c_uint,
1708        has_post: ::std::os::raw::c_uint,
1709        has_kw: ::std::os::raw::c_uint,
1710        has_kwrest: ::std::os::raw::c_uint,
1711        has_block: ::std::os::raw::c_uint,
1712        ambiguous_param0: ::std::os::raw::c_uint,
1713        accepts_no_kwarg: ::std::os::raw::c_uint,
1714        ruby2_keywords: ::std::os::raw::c_uint,
1715    ) -> __BindgenBitfieldUnit<[u8; 2usize]> {
1716        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 2usize]> = Default::default();
1717        __bindgen_bitfield_unit.set(0usize, 1u8, {
1718            let has_lead: u32 = unsafe { ::std::mem::transmute(has_lead) };
1719            has_lead as u64
1720        });
1721        __bindgen_bitfield_unit.set(1usize, 1u8, {
1722            let has_opt: u32 = unsafe { ::std::mem::transmute(has_opt) };
1723            has_opt as u64
1724        });
1725        __bindgen_bitfield_unit.set(2usize, 1u8, {
1726            let has_rest: u32 = unsafe { ::std::mem::transmute(has_rest) };
1727            has_rest as u64
1728        });
1729        __bindgen_bitfield_unit.set(3usize, 1u8, {
1730            let has_post: u32 = unsafe { ::std::mem::transmute(has_post) };
1731            has_post as u64
1732        });
1733        __bindgen_bitfield_unit.set(4usize, 1u8, {
1734            let has_kw: u32 = unsafe { ::std::mem::transmute(has_kw) };
1735            has_kw as u64
1736        });
1737        __bindgen_bitfield_unit.set(5usize, 1u8, {
1738            let has_kwrest: u32 = unsafe { ::std::mem::transmute(has_kwrest) };
1739            has_kwrest as u64
1740        });
1741        __bindgen_bitfield_unit.set(6usize, 1u8, {
1742            let has_block: u32 = unsafe { ::std::mem::transmute(has_block) };
1743            has_block as u64
1744        });
1745        __bindgen_bitfield_unit.set(7usize, 1u8, {
1746            let ambiguous_param0: u32 = unsafe { ::std::mem::transmute(ambiguous_param0) };
1747            ambiguous_param0 as u64
1748        });
1749        __bindgen_bitfield_unit.set(8usize, 1u8, {
1750            let accepts_no_kwarg: u32 = unsafe { ::std::mem::transmute(accepts_no_kwarg) };
1751            accepts_no_kwarg as u64
1752        });
1753        __bindgen_bitfield_unit.set(9usize, 1u8, {
1754            let ruby2_keywords: u32 = unsafe { ::std::mem::transmute(ruby2_keywords) };
1755            ruby2_keywords as u64
1756        });
1757        __bindgen_bitfield_unit
1758    }
1759}
1760#[repr(C)]
1761#[derive(Debug, Copy, Clone)]
1762pub struct rb_iseq_constant_body__bindgen_ty_1_rb_iseq_param_keyword {
1763    pub num: ::std::os::raw::c_int,
1764    pub required_num: ::std::os::raw::c_int,
1765    pub bits_start: ::std::os::raw::c_int,
1766    pub rest_start: ::std::os::raw::c_int,
1767    pub table: *const ID,
1768    pub default_values: *mut VALUE,
1769}
1770#[repr(C)]
1771#[derive(Debug, Copy, Clone)]
1772pub struct rb_iseq_constant_body_iseq_insn_info {
1773    pub body: *const iseq_insn_info_entry,
1774    pub positions: *mut ::std::os::raw::c_uint,
1775    pub size: ::std::os::raw::c_uint,
1776    pub succ_index_table: *mut succ_index_table,
1777}
1778#[repr(C)]
1779#[derive(Debug, Copy, Clone)]
1780pub struct rb_iseq_constant_body__bindgen_ty_2 {
1781    pub flip_count: rb_snum_t,
1782    pub coverage: VALUE,
1783    pub pc2branchindex: VALUE,
1784    pub original_iseq: *mut VALUE,
1785}
1786#[repr(C)]
1787#[derive(Copy, Clone)]
1788pub struct rb_iseq_struct {
1789    pub flags: VALUE,
1790    pub wrapper: VALUE,
1791    pub body: *mut rb_iseq_constant_body,
1792    pub aux: rb_iseq_struct__bindgen_ty_1,
1793}
1794#[repr(C)]
1795#[derive(Copy, Clone)]
1796pub union rb_iseq_struct__bindgen_ty_1 {
1797    pub compile_data: *mut iseq_compile_data,
1798    pub loader: rb_iseq_struct__bindgen_ty_1__bindgen_ty_1,
1799    pub exec: rb_iseq_struct__bindgen_ty_1__bindgen_ty_2,
1800}
1801#[repr(C)]
1802#[derive(Debug, Copy, Clone)]
1803pub struct rb_iseq_struct__bindgen_ty_1__bindgen_ty_1 {
1804    pub obj: VALUE,
1805    pub index: ::std::os::raw::c_int,
1806}
1807#[repr(C)]
1808#[derive(Debug, Copy, Clone)]
1809pub struct rb_iseq_struct__bindgen_ty_1__bindgen_ty_2 {
1810    pub local_hooks: *mut rb_hook_list_struct,
1811    pub global_trace_events: rb_event_flag_t,
1812}
1813impl ::std::fmt::Debug for rb_iseq_struct__bindgen_ty_1 {
1814    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1815        write!(f, "rb_iseq_struct__bindgen_ty_1 {{ union }}")
1816    }
1817}
1818impl ::std::fmt::Debug for rb_iseq_struct {
1819    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1820        write!(
1821            f,
1822            "rb_iseq_struct {{ flags: {:?}, wrapper: {:?}, body: {:?}, aux: {:?} }}",
1823            self.flags, self.wrapper, self.body, self.aux
1824        )
1825    }
1826}
1827pub type rb_vm_at_exit_func = ::std::option::Option<unsafe extern "C" fn(arg1: *mut rb_vm_struct)>;
1828#[repr(C)]
1829#[derive(Debug, Copy, Clone)]
1830pub struct rb_at_exit_list {
1831    pub func: rb_vm_at_exit_func,
1832    pub next: *mut rb_at_exit_list,
1833}
1834#[repr(C)]
1835#[derive(Debug, Copy, Clone)]
1836pub struct rb_hook_list_struct {
1837    pub hooks: *mut rb_event_hook_struct,
1838    pub events: rb_event_flag_t,
1839    pub need_clean: ::std::os::raw::c_uint,
1840    pub running: ::std::os::raw::c_uint,
1841}
1842pub type rb_hook_list_t = rb_hook_list_struct;
1843#[repr(C)]
1844#[derive(Debug, Copy, Clone)]
1845pub struct rb_builtin_function {
1846    _unused: [u8; 0],
1847}
1848#[repr(C)]
1849#[derive(Copy, Clone)]
1850pub struct rb_vm_struct {
1851    pub self_: VALUE,
1852    pub gvl: rb_global_vm_lock_t,
1853    pub main_thread: *mut rb_thread_struct,
1854    pub running_thread: *const rb_thread_struct,
1855    pub main_altstack: *mut ::std::os::raw::c_void,
1856    pub fork_gen: rb_serial_t,
1857    pub waitpid_lock: rb_nativethread_lock_t,
1858    pub waiting_pids: list_head,
1859    pub waiting_grps: list_head,
1860    pub waiting_fds: list_head,
1861    pub living_threads: list_head,
1862    pub thgroup_default: VALUE,
1863    pub living_thread_num: ::std::os::raw::c_int,
1864    pub ubf_async_safe: ::std::os::raw::c_int,
1865    pub _bitfield_align_1: [u8; 0],
1866    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
1867    pub sleeper: ::std::os::raw::c_int,
1868    pub mark_object_ary: VALUE,
1869    pub special_exceptions: [VALUE; 5usize],
1870    pub top_self: VALUE,
1871    pub load_path: VALUE,
1872    pub load_path_snapshot: VALUE,
1873    pub load_path_check_cache: VALUE,
1874    pub expanded_load_path: VALUE,
1875    pub loaded_features: VALUE,
1876    pub loaded_features_snapshot: VALUE,
1877    pub loaded_features_index: *mut st_table,
1878    pub loading_table: *mut st_table,
1879    pub trap_list: rb_vm_struct__bindgen_ty_1,
1880    pub global_hooks: rb_hook_list_t,
1881    pub ensure_rollback_table: *mut st_table,
1882    pub postponed_job_buffer: *mut rb_postponed_job_struct,
1883    pub postponed_job_index: ::std::os::raw::c_int,
1884    pub src_encoding_index: ::std::os::raw::c_int,
1885    pub workqueue: list_head,
1886    pub workqueue_lock: rb_nativethread_lock_t,
1887    pub verbose: VALUE,
1888    pub debug: VALUE,
1889    pub orig_progname: VALUE,
1890    pub progname: VALUE,
1891    pub coverages: VALUE,
1892    pub coverage_mode: ::std::os::raw::c_int,
1893    pub defined_module_hash: *mut st_table,
1894    pub objspace: *mut rb_objspace,
1895    pub at_exit: *mut rb_at_exit_list,
1896    pub defined_strings: *mut VALUE,
1897    pub frozen_strings: *mut st_table,
1898    pub builtin_function_table: *const rb_builtin_function,
1899    pub builtin_inline_index: ::std::os::raw::c_int,
1900    pub default_params: rb_vm_struct__bindgen_ty_2,
1901    pub redefined_flag: [::std::os::raw::c_short; 29usize],
1902}
1903#[repr(C)]
1904#[derive(Debug, Copy, Clone)]
1905pub struct rb_vm_struct__bindgen_ty_1 {
1906    pub cmd: [VALUE; 65usize],
1907}
1908#[repr(C)]
1909#[derive(Debug, Copy, Clone)]
1910pub struct rb_vm_struct__bindgen_ty_2 {
1911    pub thread_vm_stack_size: usize,
1912    pub thread_machine_stack_size: usize,
1913    pub fiber_vm_stack_size: usize,
1914    pub fiber_machine_stack_size: usize,
1915}
1916impl ::std::fmt::Debug for rb_vm_struct {
1917    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1918        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)
1919    }
1920}
1921impl rb_vm_struct {
1922    #[inline]
1923    pub fn running(&self) -> ::std::os::raw::c_uint {
1924        unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) }
1925    }
1926    #[inline]
1927    pub fn set_running(&mut self, val: ::std::os::raw::c_uint) {
1928        unsafe {
1929            let val: u32 = ::std::mem::transmute(val);
1930            self._bitfield_1.set(0usize, 1u8, val as u64)
1931        }
1932    }
1933    #[inline]
1934    pub unsafe fn running_raw(this: *const Self) -> ::std::os::raw::c_uint {
1935        unsafe {
1936            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(
1937                ::std::ptr::addr_of!((*this)._bitfield_1),
1938                0usize,
1939                1u8,
1940            ) as u32)
1941        }
1942    }
1943    #[inline]
1944    pub unsafe fn set_running_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1945        unsafe {
1946            let val: u32 = ::std::mem::transmute(val);
1947            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(
1948                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1949                0usize,
1950                1u8,
1951                val as u64,
1952            )
1953        }
1954    }
1955    #[inline]
1956    pub fn thread_abort_on_exception(&self) -> ::std::os::raw::c_uint {
1957        unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u32) }
1958    }
1959    #[inline]
1960    pub fn set_thread_abort_on_exception(&mut self, val: ::std::os::raw::c_uint) {
1961        unsafe {
1962            let val: u32 = ::std::mem::transmute(val);
1963            self._bitfield_1.set(1usize, 1u8, val as u64)
1964        }
1965    }
1966    #[inline]
1967    pub unsafe fn thread_abort_on_exception_raw(this: *const Self) -> ::std::os::raw::c_uint {
1968        unsafe {
1969            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(
1970                ::std::ptr::addr_of!((*this)._bitfield_1),
1971                1usize,
1972                1u8,
1973            ) as u32)
1974        }
1975    }
1976    #[inline]
1977    pub unsafe fn set_thread_abort_on_exception_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1978        unsafe {
1979            let val: u32 = ::std::mem::transmute(val);
1980            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(
1981                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1982                1usize,
1983                1u8,
1984                val as u64,
1985            )
1986        }
1987    }
1988    #[inline]
1989    pub fn thread_report_on_exception(&self) -> ::std::os::raw::c_uint {
1990        unsafe { ::std::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u32) }
1991    }
1992    #[inline]
1993    pub fn set_thread_report_on_exception(&mut self, val: ::std::os::raw::c_uint) {
1994        unsafe {
1995            let val: u32 = ::std::mem::transmute(val);
1996            self._bitfield_1.set(2usize, 1u8, val as u64)
1997        }
1998    }
1999    #[inline]
2000    pub unsafe fn thread_report_on_exception_raw(this: *const Self) -> ::std::os::raw::c_uint {
2001        unsafe {
2002            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(
2003                ::std::ptr::addr_of!((*this)._bitfield_1),
2004                2usize,
2005                1u8,
2006            ) as u32)
2007        }
2008    }
2009    #[inline]
2010    pub unsafe fn set_thread_report_on_exception_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2011        unsafe {
2012            let val: u32 = ::std::mem::transmute(val);
2013            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(
2014                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2015                2usize,
2016                1u8,
2017                val as u64,
2018            )
2019        }
2020    }
2021    #[inline]
2022    pub fn safe_level_(&self) -> ::std::os::raw::c_uint {
2023        unsafe { ::std::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u32) }
2024    }
2025    #[inline]
2026    pub fn set_safe_level_(&mut self, val: ::std::os::raw::c_uint) {
2027        unsafe {
2028            let val: u32 = ::std::mem::transmute(val);
2029            self._bitfield_1.set(3usize, 1u8, val as u64)
2030        }
2031    }
2032    #[inline]
2033    pub unsafe fn safe_level__raw(this: *const Self) -> ::std::os::raw::c_uint {
2034        unsafe {
2035            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(
2036                ::std::ptr::addr_of!((*this)._bitfield_1),
2037                3usize,
2038                1u8,
2039            ) as u32)
2040        }
2041    }
2042    #[inline]
2043    pub unsafe fn set_safe_level__raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2044        unsafe {
2045            let val: u32 = ::std::mem::transmute(val);
2046            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(
2047                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2048                3usize,
2049                1u8,
2050                val as u64,
2051            )
2052        }
2053    }
2054    #[inline]
2055    pub fn new_bitfield_1(
2056        running: ::std::os::raw::c_uint,
2057        thread_abort_on_exception: ::std::os::raw::c_uint,
2058        thread_report_on_exception: ::std::os::raw::c_uint,
2059        safe_level_: ::std::os::raw::c_uint,
2060    ) -> __BindgenBitfieldUnit<[u8; 1usize]> {
2061        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
2062        __bindgen_bitfield_unit.set(0usize, 1u8, {
2063            let running: u32 = unsafe { ::std::mem::transmute(running) };
2064            running as u64
2065        });
2066        __bindgen_bitfield_unit.set(1usize, 1u8, {
2067            let thread_abort_on_exception: u32 =
2068                unsafe { ::std::mem::transmute(thread_abort_on_exception) };
2069            thread_abort_on_exception as u64
2070        });
2071        __bindgen_bitfield_unit.set(2usize, 1u8, {
2072            let thread_report_on_exception: u32 =
2073                unsafe { ::std::mem::transmute(thread_report_on_exception) };
2074            thread_report_on_exception as u64
2075        });
2076        __bindgen_bitfield_unit.set(3usize, 1u8, {
2077            let safe_level_: u32 = unsafe { ::std::mem::transmute(safe_level_) };
2078            safe_level_ as u64
2079        });
2080        __bindgen_bitfield_unit
2081    }
2082}
2083pub type rb_vm_t = rb_vm_struct;
2084#[repr(C)]
2085#[derive(Debug, Copy, Clone)]
2086pub struct rb_control_frame_struct {
2087    pub pc: *const VALUE,
2088    pub sp: *mut VALUE,
2089    pub iseq: *const rb_iseq_t,
2090    pub self_: VALUE,
2091    pub ep: *const VALUE,
2092    pub block_code: *const ::std::os::raw::c_void,
2093    pub __bp__: *mut VALUE,
2094}
2095pub type rb_control_frame_t = rb_control_frame_struct;
2096pub const rb_thread_status_THREAD_RUNNABLE: rb_thread_status = 0;
2097pub const rb_thread_status_THREAD_STOPPED: rb_thread_status = 1;
2098pub const rb_thread_status_THREAD_STOPPED_FOREVER: rb_thread_status = 2;
2099pub const rb_thread_status_THREAD_KILLED: rb_thread_status = 3;
2100pub type rb_thread_status = ::std::os::raw::c_uint;
2101pub type rb_jmpbuf_t = sigjmp_buf;
2102#[repr(C)]
2103#[derive(Debug, Copy, Clone)]
2104pub struct rb_vm_tag {
2105    pub tag: VALUE,
2106    pub retval: VALUE,
2107    pub buf: rb_jmpbuf_t,
2108    pub prev: *mut rb_vm_tag,
2109    pub state: ruby_tag_type,
2110}
2111#[repr(C)]
2112#[derive(Debug, Copy, Clone)]
2113pub struct rb_vm_protect_tag {
2114    pub prev: *mut rb_vm_protect_tag,
2115}
2116#[repr(C)]
2117#[derive(Debug, Copy, Clone)]
2118pub struct rb_unblock_callback {
2119    pub func: rb_unblock_function_t,
2120    pub arg: *mut ::std::os::raw::c_void,
2121}
2122#[repr(C)]
2123#[derive(Debug, Copy, Clone)]
2124pub struct rb_mutex_struct {
2125    _unused: [u8; 0],
2126}
2127#[repr(C)]
2128#[derive(Debug, Copy, Clone)]
2129pub struct rb_thread_list_struct {
2130    pub next: *mut rb_thread_list_struct,
2131    pub th: *mut rb_thread_struct,
2132}
2133pub type rb_thread_list_t = rb_thread_list_struct;
2134#[repr(C)]
2135#[derive(Debug, Copy, Clone)]
2136pub struct rb_ensure_entry {
2137    pub marker: VALUE,
2138    pub e_proc: ::std::option::Option<unsafe extern "C" fn(arg1: VALUE) -> VALUE>,
2139    pub data2: VALUE,
2140}
2141#[repr(C)]
2142#[derive(Debug, Copy, Clone)]
2143pub struct rb_ensure_list {
2144    pub next: *mut rb_ensure_list,
2145    pub entry: rb_ensure_entry,
2146}
2147pub type rb_ensure_list_t = rb_ensure_list;
2148pub type rb_fiber_t = rb_fiber_struct;
2149#[repr(C)]
2150#[derive(Debug, Copy, Clone)]
2151pub struct rb_execution_context_struct {
2152    pub vm_stack: *mut VALUE,
2153    pub vm_stack_size: usize,
2154    pub cfp: *mut rb_control_frame_t,
2155    pub tag: *mut rb_vm_tag,
2156    pub protect_tag: *mut rb_vm_protect_tag,
2157    pub interrupt_flag: rb_atomic_t,
2158    pub interrupt_mask: rb_atomic_t,
2159    pub fiber_ptr: *mut rb_fiber_t,
2160    pub thread_ptr: *mut rb_thread_struct,
2161    pub local_storage: *mut st_table,
2162    pub local_storage_recursive_hash: VALUE,
2163    pub local_storage_recursive_hash_for_trace: VALUE,
2164    pub root_lep: *const VALUE,
2165    pub root_svar: VALUE,
2166    pub ensure_list: *mut rb_ensure_list_t,
2167    pub trace_arg: *mut rb_trace_arg_struct,
2168    pub errinfo: VALUE,
2169    pub passed_block_handler: VALUE,
2170    pub raised_flag: u8,
2171    pub _bitfield_align_1: [u8; 0],
2172    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
2173    pub private_const_reference: VALUE,
2174    pub machine: rb_execution_context_struct__bindgen_ty_1,
2175}
2176#[repr(C)]
2177#[derive(Debug, Copy, Clone)]
2178pub struct rb_execution_context_struct__bindgen_ty_1 {
2179    pub stack_start: *mut VALUE,
2180    pub stack_end: *mut VALUE,
2181    pub stack_maxsize: usize,
2182    pub regs: jmp_buf,
2183}
2184impl rb_execution_context_struct {
2185    #[inline]
2186    pub fn method_missing_reason(&self) -> method_missing_reason {
2187        unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 8u8) as u32) }
2188    }
2189    #[inline]
2190    pub fn set_method_missing_reason(&mut self, val: method_missing_reason) {
2191        unsafe {
2192            let val: u32 = ::std::mem::transmute(val);
2193            self._bitfield_1.set(0usize, 8u8, val as u64)
2194        }
2195    }
2196    #[inline]
2197    pub unsafe fn method_missing_reason_raw(this: *const Self) -> method_missing_reason {
2198        unsafe {
2199            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(
2200                ::std::ptr::addr_of!((*this)._bitfield_1),
2201                0usize,
2202                8u8,
2203            ) as u32)
2204        }
2205    }
2206    #[inline]
2207    pub unsafe fn set_method_missing_reason_raw(this: *mut Self, val: method_missing_reason) {
2208        unsafe {
2209            let val: u32 = ::std::mem::transmute(val);
2210            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(
2211                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2212                0usize,
2213                8u8,
2214                val as u64,
2215            )
2216        }
2217    }
2218    #[inline]
2219    pub fn new_bitfield_1(
2220        method_missing_reason: method_missing_reason,
2221    ) -> __BindgenBitfieldUnit<[u8; 1usize]> {
2222        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
2223        __bindgen_bitfield_unit.set(0usize, 8u8, {
2224            let method_missing_reason: u32 =
2225                unsafe { ::std::mem::transmute(method_missing_reason) };
2226            method_missing_reason as u64
2227        });
2228        __bindgen_bitfield_unit
2229    }
2230}
2231pub type rb_execution_context_t = rb_execution_context_struct;
2232#[repr(C)]
2233#[derive(Copy, Clone)]
2234pub struct rb_thread_struct {
2235    pub vmlt_node: list_node,
2236    pub self_: VALUE,
2237    pub vm: *mut rb_vm_t,
2238    pub ec: *mut rb_execution_context_t,
2239    pub last_status: VALUE,
2240    pub calling: *mut rb_calling_info,
2241    pub top_self: VALUE,
2242    pub top_wrapper: VALUE,
2243    pub thread_id: rb_nativethread_id_t,
2244    pub _bitfield_align_1: [u8; 0],
2245    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
2246    pub priority: i8,
2247    pub running_time_us: u32,
2248    pub native_thread_data: native_thread_data_t,
2249    pub blocking_region_buffer: *mut ::std::os::raw::c_void,
2250    pub thgroup: VALUE,
2251    pub value: VALUE,
2252    pub pending_interrupt_queue: VALUE,
2253    pub pending_interrupt_mask_stack: VALUE,
2254    pub interrupt_lock: rb_nativethread_lock_t,
2255    pub unblock: rb_unblock_callback,
2256    pub locking_mutex: VALUE,
2257    pub keeping_mutexes: *mut rb_mutex_struct,
2258    pub join_list: *mut rb_thread_list_t,
2259    pub invoke_arg: rb_thread_struct__bindgen_ty_1,
2260    pub invoke_type: rb_thread_struct__bindgen_ty_2,
2261    pub stat_insn_usage: VALUE,
2262    pub root_fiber: *mut rb_fiber_t,
2263    pub root_jmpbuf: rb_jmpbuf_t,
2264    pub name: VALUE,
2265}
2266#[repr(C)]
2267#[derive(Copy, Clone)]
2268pub union rb_thread_struct__bindgen_ty_1 {
2269    pub proc_: rb_thread_struct__bindgen_ty_1__bindgen_ty_1,
2270    pub func: rb_thread_struct__bindgen_ty_1__bindgen_ty_2,
2271}
2272#[repr(C)]
2273#[derive(Debug, Copy, Clone)]
2274pub struct rb_thread_struct__bindgen_ty_1__bindgen_ty_1 {
2275    pub proc_: VALUE,
2276    pub args: VALUE,
2277    pub kw_splat: ::std::os::raw::c_int,
2278}
2279#[repr(C)]
2280#[derive(Debug, Copy, Clone)]
2281pub struct rb_thread_struct__bindgen_ty_1__bindgen_ty_2 {
2282    pub func:
2283        ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> VALUE>,
2284    pub arg: *mut ::std::os::raw::c_void,
2285}
2286impl ::std::fmt::Debug for rb_thread_struct__bindgen_ty_1 {
2287    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2288        write!(f, "rb_thread_struct__bindgen_ty_1 {{ union }}")
2289    }
2290}
2291pub const rb_thread_struct_thread_invoke_type_none: rb_thread_struct__bindgen_ty_2 = 0;
2292pub const rb_thread_struct_thread_invoke_type_proc: rb_thread_struct__bindgen_ty_2 = 1;
2293pub const rb_thread_struct_thread_invoke_type_func: rb_thread_struct__bindgen_ty_2 = 2;
2294pub type rb_thread_struct__bindgen_ty_2 = ::std::os::raw::c_uint;
2295impl ::std::fmt::Debug for rb_thread_struct {
2296    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2297        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)
2298    }
2299}
2300impl rb_thread_struct {
2301    #[inline]
2302    pub fn status(&self) -> rb_thread_status {
2303        unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 2u8) as u32) }
2304    }
2305    #[inline]
2306    pub fn set_status(&mut self, val: rb_thread_status) {
2307        unsafe {
2308            let val: u32 = ::std::mem::transmute(val);
2309            self._bitfield_1.set(0usize, 2u8, val as u64)
2310        }
2311    }
2312    #[inline]
2313    pub unsafe fn status_raw(this: *const Self) -> rb_thread_status {
2314        unsafe {
2315            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(
2316                ::std::ptr::addr_of!((*this)._bitfield_1),
2317                0usize,
2318                2u8,
2319            ) as u32)
2320        }
2321    }
2322    #[inline]
2323    pub unsafe fn set_status_raw(this: *mut Self, val: rb_thread_status) {
2324        unsafe {
2325            let val: u32 = ::std::mem::transmute(val);
2326            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(
2327                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2328                0usize,
2329                2u8,
2330                val as u64,
2331            )
2332        }
2333    }
2334    #[inline]
2335    pub fn to_kill(&self) -> ::std::os::raw::c_uint {
2336        unsafe { ::std::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u32) }
2337    }
2338    #[inline]
2339    pub fn set_to_kill(&mut self, val: ::std::os::raw::c_uint) {
2340        unsafe {
2341            let val: u32 = ::std::mem::transmute(val);
2342            self._bitfield_1.set(2usize, 1u8, val as u64)
2343        }
2344    }
2345    #[inline]
2346    pub unsafe fn to_kill_raw(this: *const Self) -> ::std::os::raw::c_uint {
2347        unsafe {
2348            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(
2349                ::std::ptr::addr_of!((*this)._bitfield_1),
2350                2usize,
2351                1u8,
2352            ) as u32)
2353        }
2354    }
2355    #[inline]
2356    pub unsafe fn set_to_kill_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2357        unsafe {
2358            let val: u32 = ::std::mem::transmute(val);
2359            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(
2360                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2361                2usize,
2362                1u8,
2363                val as u64,
2364            )
2365        }
2366    }
2367    #[inline]
2368    pub fn abort_on_exception(&self) -> ::std::os::raw::c_uint {
2369        unsafe { ::std::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u32) }
2370    }
2371    #[inline]
2372    pub fn set_abort_on_exception(&mut self, val: ::std::os::raw::c_uint) {
2373        unsafe {
2374            let val: u32 = ::std::mem::transmute(val);
2375            self._bitfield_1.set(3usize, 1u8, val as u64)
2376        }
2377    }
2378    #[inline]
2379    pub unsafe fn abort_on_exception_raw(this: *const Self) -> ::std::os::raw::c_uint {
2380        unsafe {
2381            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(
2382                ::std::ptr::addr_of!((*this)._bitfield_1),
2383                3usize,
2384                1u8,
2385            ) as u32)
2386        }
2387    }
2388    #[inline]
2389    pub unsafe fn set_abort_on_exception_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2390        unsafe {
2391            let val: u32 = ::std::mem::transmute(val);
2392            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(
2393                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2394                3usize,
2395                1u8,
2396                val as u64,
2397            )
2398        }
2399    }
2400    #[inline]
2401    pub fn report_on_exception(&self) -> ::std::os::raw::c_uint {
2402        unsafe { ::std::mem::transmute(self._bitfield_1.get(4usize, 1u8) as u32) }
2403    }
2404    #[inline]
2405    pub fn set_report_on_exception(&mut self, val: ::std::os::raw::c_uint) {
2406        unsafe {
2407            let val: u32 = ::std::mem::transmute(val);
2408            self._bitfield_1.set(4usize, 1u8, val as u64)
2409        }
2410    }
2411    #[inline]
2412    pub unsafe fn report_on_exception_raw(this: *const Self) -> ::std::os::raw::c_uint {
2413        unsafe {
2414            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(
2415                ::std::ptr::addr_of!((*this)._bitfield_1),
2416                4usize,
2417                1u8,
2418            ) as u32)
2419        }
2420    }
2421    #[inline]
2422    pub unsafe fn set_report_on_exception_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2423        unsafe {
2424            let val: u32 = ::std::mem::transmute(val);
2425            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(
2426                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2427                4usize,
2428                1u8,
2429                val as u64,
2430            )
2431        }
2432    }
2433    #[inline]
2434    pub fn pending_interrupt_queue_checked(&self) -> ::std::os::raw::c_uint {
2435        unsafe { ::std::mem::transmute(self._bitfield_1.get(5usize, 1u8) as u32) }
2436    }
2437    #[inline]
2438    pub fn set_pending_interrupt_queue_checked(&mut self, val: ::std::os::raw::c_uint) {
2439        unsafe {
2440            let val: u32 = ::std::mem::transmute(val);
2441            self._bitfield_1.set(5usize, 1u8, val as u64)
2442        }
2443    }
2444    #[inline]
2445    pub unsafe fn pending_interrupt_queue_checked_raw(this: *const Self) -> ::std::os::raw::c_uint {
2446        unsafe {
2447            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get(
2448                ::std::ptr::addr_of!((*this)._bitfield_1),
2449                5usize,
2450                1u8,
2451            ) as u32)
2452        }
2453    }
2454    #[inline]
2455    pub unsafe fn set_pending_interrupt_queue_checked_raw(
2456        this: *mut Self,
2457        val: ::std::os::raw::c_uint,
2458    ) {
2459        unsafe {
2460            let val: u32 = ::std::mem::transmute(val);
2461            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set(
2462                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2463                5usize,
2464                1u8,
2465                val as u64,
2466            )
2467        }
2468    }
2469    #[inline]
2470    pub fn new_bitfield_1(
2471        status: rb_thread_status,
2472        to_kill: ::std::os::raw::c_uint,
2473        abort_on_exception: ::std::os::raw::c_uint,
2474        report_on_exception: ::std::os::raw::c_uint,
2475        pending_interrupt_queue_checked: ::std::os::raw::c_uint,
2476    ) -> __BindgenBitfieldUnit<[u8; 1usize]> {
2477        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
2478        __bindgen_bitfield_unit.set(0usize, 2u8, {
2479            let status: u32 = unsafe { ::std::mem::transmute(status) };
2480            status as u64
2481        });
2482        __bindgen_bitfield_unit.set(2usize, 1u8, {
2483            let to_kill: u32 = unsafe { ::std::mem::transmute(to_kill) };
2484            to_kill as u64
2485        });
2486        __bindgen_bitfield_unit.set(3usize, 1u8, {
2487            let abort_on_exception: u32 = unsafe { ::std::mem::transmute(abort_on_exception) };
2488            abort_on_exception as u64
2489        });
2490        __bindgen_bitfield_unit.set(4usize, 1u8, {
2491            let report_on_exception: u32 = unsafe { ::std::mem::transmute(report_on_exception) };
2492            report_on_exception as u64
2493        });
2494        __bindgen_bitfield_unit.set(5usize, 1u8, {
2495            let pending_interrupt_queue_checked: u32 =
2496                unsafe { ::std::mem::transmute(pending_interrupt_queue_checked) };
2497            pending_interrupt_queue_checked as u64
2498        });
2499        __bindgen_bitfield_unit
2500    }
2501}
2502pub type rb_thread_t = rb_thread_struct;
2503#[repr(C)]
2504#[derive(Debug, Copy, Clone)]
2505pub struct rb_trace_arg_struct {
2506    pub event: rb_event_flag_t,
2507    pub ec: *mut rb_execution_context_t,
2508    pub cfp: *const rb_control_frame_t,
2509    pub self_: VALUE,
2510    pub id: ID,
2511    pub called_id: ID,
2512    pub klass: VALUE,
2513    pub data: VALUE,
2514    pub klass_solved: ::std::os::raw::c_int,
2515    pub lineno: ::std::os::raw::c_int,
2516    pub path: VALUE,
2517}
2518#[repr(C)]
2519#[derive(Debug, Copy, Clone)]
2520pub struct iseq_compile_data {
2521    pub err_info: VALUE,
2522    pub catch_table_ary: VALUE,
2523    pub start_label: *mut iseq_label_data,
2524    pub end_label: *mut iseq_label_data,
2525    pub redo_label: *mut iseq_label_data,
2526    pub current_block: *const rb_iseq_t,
2527    pub ensure_node_stack: *mut iseq_compile_data_ensure_node_stack,
2528    pub node: iseq_compile_data__bindgen_ty_1,
2529    pub insn: iseq_compile_data__bindgen_ty_2,
2530    pub loopval_popped: ::std::os::raw::c_int,
2531    pub last_line: ::std::os::raw::c_int,
2532    pub label_no: ::std::os::raw::c_int,
2533    pub node_level: ::std::os::raw::c_int,
2534    pub ci_index: ::std::os::raw::c_uint,
2535    pub ci_kw_index: ::std::os::raw::c_uint,
2536    pub option: *const rb_compile_option_t,
2537    pub ivar_cache_table: *mut rb_id_table,
2538    pub builtin_function_table: *const rb_builtin_function,
2539}
2540#[repr(C)]
2541#[derive(Debug, Copy, Clone)]
2542pub struct iseq_compile_data__bindgen_ty_1 {
2543    pub storage_head: *mut iseq_compile_data_storage,
2544    pub storage_current: *mut iseq_compile_data_storage,
2545}
2546#[repr(C)]
2547#[derive(Debug, Copy, Clone)]
2548pub struct iseq_compile_data__bindgen_ty_2 {
2549    pub storage_head: *mut iseq_compile_data_storage,
2550    pub storage_current: *mut iseq_compile_data_storage,
2551}
2552#[repr(C)]
2553#[derive(Debug, Copy, Clone)]
2554pub struct rb_compile_option_struct {
2555    pub _bitfield_align_1: [u8; 0],
2556    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2usize]>,
2557    pub debug_level: ::std::os::raw::c_int,
2558}
2559impl rb_compile_option_struct {
2560    #[inline]
2561    pub fn inline_const_cache(&self) -> ::std::os::raw::c_uint {
2562        unsafe { ::std::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) }
2563    }
2564    #[inline]
2565    pub fn set_inline_const_cache(&mut self, val: ::std::os::raw::c_uint) {
2566        unsafe {
2567            let val: u32 = ::std::mem::transmute(val);
2568            self._bitfield_1.set(0usize, 1u8, val as u64)
2569        }
2570    }
2571    #[inline]
2572    pub unsafe fn inline_const_cache_raw(this: *const Self) -> ::std::os::raw::c_uint {
2573        unsafe {
2574            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(
2575                ::std::ptr::addr_of!((*this)._bitfield_1),
2576                0usize,
2577                1u8,
2578            ) as u32)
2579        }
2580    }
2581    #[inline]
2582    pub unsafe fn set_inline_const_cache_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2583        unsafe {
2584            let val: u32 = ::std::mem::transmute(val);
2585            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(
2586                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2587                0usize,
2588                1u8,
2589                val as u64,
2590            )
2591        }
2592    }
2593    #[inline]
2594    pub fn peephole_optimization(&self) -> ::std::os::raw::c_uint {
2595        unsafe { ::std::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u32) }
2596    }
2597    #[inline]
2598    pub fn set_peephole_optimization(&mut self, val: ::std::os::raw::c_uint) {
2599        unsafe {
2600            let val: u32 = ::std::mem::transmute(val);
2601            self._bitfield_1.set(1usize, 1u8, val as u64)
2602        }
2603    }
2604    #[inline]
2605    pub unsafe fn peephole_optimization_raw(this: *const Self) -> ::std::os::raw::c_uint {
2606        unsafe {
2607            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(
2608                ::std::ptr::addr_of!((*this)._bitfield_1),
2609                1usize,
2610                1u8,
2611            ) as u32)
2612        }
2613    }
2614    #[inline]
2615    pub unsafe fn set_peephole_optimization_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2616        unsafe {
2617            let val: u32 = ::std::mem::transmute(val);
2618            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(
2619                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2620                1usize,
2621                1u8,
2622                val as u64,
2623            )
2624        }
2625    }
2626    #[inline]
2627    pub fn tailcall_optimization(&self) -> ::std::os::raw::c_uint {
2628        unsafe { ::std::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u32) }
2629    }
2630    #[inline]
2631    pub fn set_tailcall_optimization(&mut self, val: ::std::os::raw::c_uint) {
2632        unsafe {
2633            let val: u32 = ::std::mem::transmute(val);
2634            self._bitfield_1.set(2usize, 1u8, val as u64)
2635        }
2636    }
2637    #[inline]
2638    pub unsafe fn tailcall_optimization_raw(this: *const Self) -> ::std::os::raw::c_uint {
2639        unsafe {
2640            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(
2641                ::std::ptr::addr_of!((*this)._bitfield_1),
2642                2usize,
2643                1u8,
2644            ) as u32)
2645        }
2646    }
2647    #[inline]
2648    pub unsafe fn set_tailcall_optimization_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2649        unsafe {
2650            let val: u32 = ::std::mem::transmute(val);
2651            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(
2652                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2653                2usize,
2654                1u8,
2655                val as u64,
2656            )
2657        }
2658    }
2659    #[inline]
2660    pub fn specialized_instruction(&self) -> ::std::os::raw::c_uint {
2661        unsafe { ::std::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u32) }
2662    }
2663    #[inline]
2664    pub fn set_specialized_instruction(&mut self, val: ::std::os::raw::c_uint) {
2665        unsafe {
2666            let val: u32 = ::std::mem::transmute(val);
2667            self._bitfield_1.set(3usize, 1u8, val as u64)
2668        }
2669    }
2670    #[inline]
2671    pub unsafe fn specialized_instruction_raw(this: *const Self) -> ::std::os::raw::c_uint {
2672        unsafe {
2673            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(
2674                ::std::ptr::addr_of!((*this)._bitfield_1),
2675                3usize,
2676                1u8,
2677            ) as u32)
2678        }
2679    }
2680    #[inline]
2681    pub unsafe fn set_specialized_instruction_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2682        unsafe {
2683            let val: u32 = ::std::mem::transmute(val);
2684            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(
2685                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2686                3usize,
2687                1u8,
2688                val as u64,
2689            )
2690        }
2691    }
2692    #[inline]
2693    pub fn operands_unification(&self) -> ::std::os::raw::c_uint {
2694        unsafe { ::std::mem::transmute(self._bitfield_1.get(4usize, 1u8) as u32) }
2695    }
2696    #[inline]
2697    pub fn set_operands_unification(&mut self, val: ::std::os::raw::c_uint) {
2698        unsafe {
2699            let val: u32 = ::std::mem::transmute(val);
2700            self._bitfield_1.set(4usize, 1u8, val as u64)
2701        }
2702    }
2703    #[inline]
2704    pub unsafe fn operands_unification_raw(this: *const Self) -> ::std::os::raw::c_uint {
2705        unsafe {
2706            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(
2707                ::std::ptr::addr_of!((*this)._bitfield_1),
2708                4usize,
2709                1u8,
2710            ) as u32)
2711        }
2712    }
2713    #[inline]
2714    pub unsafe fn set_operands_unification_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2715        unsafe {
2716            let val: u32 = ::std::mem::transmute(val);
2717            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(
2718                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2719                4usize,
2720                1u8,
2721                val as u64,
2722            )
2723        }
2724    }
2725    #[inline]
2726    pub fn instructions_unification(&self) -> ::std::os::raw::c_uint {
2727        unsafe { ::std::mem::transmute(self._bitfield_1.get(5usize, 1u8) as u32) }
2728    }
2729    #[inline]
2730    pub fn set_instructions_unification(&mut self, val: ::std::os::raw::c_uint) {
2731        unsafe {
2732            let val: u32 = ::std::mem::transmute(val);
2733            self._bitfield_1.set(5usize, 1u8, val as u64)
2734        }
2735    }
2736    #[inline]
2737    pub unsafe fn instructions_unification_raw(this: *const Self) -> ::std::os::raw::c_uint {
2738        unsafe {
2739            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(
2740                ::std::ptr::addr_of!((*this)._bitfield_1),
2741                5usize,
2742                1u8,
2743            ) as u32)
2744        }
2745    }
2746    #[inline]
2747    pub unsafe fn set_instructions_unification_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2748        unsafe {
2749            let val: u32 = ::std::mem::transmute(val);
2750            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(
2751                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2752                5usize,
2753                1u8,
2754                val as u64,
2755            )
2756        }
2757    }
2758    #[inline]
2759    pub fn stack_caching(&self) -> ::std::os::raw::c_uint {
2760        unsafe { ::std::mem::transmute(self._bitfield_1.get(6usize, 1u8) as u32) }
2761    }
2762    #[inline]
2763    pub fn set_stack_caching(&mut self, val: ::std::os::raw::c_uint) {
2764        unsafe {
2765            let val: u32 = ::std::mem::transmute(val);
2766            self._bitfield_1.set(6usize, 1u8, val as u64)
2767        }
2768    }
2769    #[inline]
2770    pub unsafe fn stack_caching_raw(this: *const Self) -> ::std::os::raw::c_uint {
2771        unsafe {
2772            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(
2773                ::std::ptr::addr_of!((*this)._bitfield_1),
2774                6usize,
2775                1u8,
2776            ) as u32)
2777        }
2778    }
2779    #[inline]
2780    pub unsafe fn set_stack_caching_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2781        unsafe {
2782            let val: u32 = ::std::mem::transmute(val);
2783            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(
2784                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2785                6usize,
2786                1u8,
2787                val as u64,
2788            )
2789        }
2790    }
2791    #[inline]
2792    pub fn frozen_string_literal(&self) -> ::std::os::raw::c_uint {
2793        unsafe { ::std::mem::transmute(self._bitfield_1.get(7usize, 1u8) as u32) }
2794    }
2795    #[inline]
2796    pub fn set_frozen_string_literal(&mut self, val: ::std::os::raw::c_uint) {
2797        unsafe {
2798            let val: u32 = ::std::mem::transmute(val);
2799            self._bitfield_1.set(7usize, 1u8, val as u64)
2800        }
2801    }
2802    #[inline]
2803    pub unsafe fn frozen_string_literal_raw(this: *const Self) -> ::std::os::raw::c_uint {
2804        unsafe {
2805            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(
2806                ::std::ptr::addr_of!((*this)._bitfield_1),
2807                7usize,
2808                1u8,
2809            ) as u32)
2810        }
2811    }
2812    #[inline]
2813    pub unsafe fn set_frozen_string_literal_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2814        unsafe {
2815            let val: u32 = ::std::mem::transmute(val);
2816            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(
2817                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2818                7usize,
2819                1u8,
2820                val as u64,
2821            )
2822        }
2823    }
2824    #[inline]
2825    pub fn debug_frozen_string_literal(&self) -> ::std::os::raw::c_uint {
2826        unsafe { ::std::mem::transmute(self._bitfield_1.get(8usize, 1u8) as u32) }
2827    }
2828    #[inline]
2829    pub fn set_debug_frozen_string_literal(&mut self, val: ::std::os::raw::c_uint) {
2830        unsafe {
2831            let val: u32 = ::std::mem::transmute(val);
2832            self._bitfield_1.set(8usize, 1u8, val as u64)
2833        }
2834    }
2835    #[inline]
2836    pub unsafe fn debug_frozen_string_literal_raw(this: *const Self) -> ::std::os::raw::c_uint {
2837        unsafe {
2838            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(
2839                ::std::ptr::addr_of!((*this)._bitfield_1),
2840                8usize,
2841                1u8,
2842            ) as u32)
2843        }
2844    }
2845    #[inline]
2846    pub unsafe fn set_debug_frozen_string_literal_raw(
2847        this: *mut Self,
2848        val: ::std::os::raw::c_uint,
2849    ) {
2850        unsafe {
2851            let val: u32 = ::std::mem::transmute(val);
2852            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(
2853                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2854                8usize,
2855                1u8,
2856                val as u64,
2857            )
2858        }
2859    }
2860    #[inline]
2861    pub fn coverage_enabled(&self) -> ::std::os::raw::c_uint {
2862        unsafe { ::std::mem::transmute(self._bitfield_1.get(9usize, 1u8) as u32) }
2863    }
2864    #[inline]
2865    pub fn set_coverage_enabled(&mut self, val: ::std::os::raw::c_uint) {
2866        unsafe {
2867            let val: u32 = ::std::mem::transmute(val);
2868            self._bitfield_1.set(9usize, 1u8, val as u64)
2869        }
2870    }
2871    #[inline]
2872    pub unsafe fn coverage_enabled_raw(this: *const Self) -> ::std::os::raw::c_uint {
2873        unsafe {
2874            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get(
2875                ::std::ptr::addr_of!((*this)._bitfield_1),
2876                9usize,
2877                1u8,
2878            ) as u32)
2879        }
2880    }
2881    #[inline]
2882    pub unsafe fn set_coverage_enabled_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2883        unsafe {
2884            let val: u32 = ::std::mem::transmute(val);
2885            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set(
2886                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2887                9usize,
2888                1u8,
2889                val as u64,
2890            )
2891        }
2892    }
2893    #[inline]
2894    pub fn new_bitfield_1(
2895        inline_const_cache: ::std::os::raw::c_uint,
2896        peephole_optimization: ::std::os::raw::c_uint,
2897        tailcall_optimization: ::std::os::raw::c_uint,
2898        specialized_instruction: ::std::os::raw::c_uint,
2899        operands_unification: ::std::os::raw::c_uint,
2900        instructions_unification: ::std::os::raw::c_uint,
2901        stack_caching: ::std::os::raw::c_uint,
2902        frozen_string_literal: ::std::os::raw::c_uint,
2903        debug_frozen_string_literal: ::std::os::raw::c_uint,
2904        coverage_enabled: ::std::os::raw::c_uint,
2905    ) -> __BindgenBitfieldUnit<[u8; 2usize]> {
2906        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 2usize]> = Default::default();
2907        __bindgen_bitfield_unit.set(0usize, 1u8, {
2908            let inline_const_cache: u32 = unsafe { ::std::mem::transmute(inline_const_cache) };
2909            inline_const_cache as u64
2910        });
2911        __bindgen_bitfield_unit.set(1usize, 1u8, {
2912            let peephole_optimization: u32 =
2913                unsafe { ::std::mem::transmute(peephole_optimization) };
2914            peephole_optimization as u64
2915        });
2916        __bindgen_bitfield_unit.set(2usize, 1u8, {
2917            let tailcall_optimization: u32 =
2918                unsafe { ::std::mem::transmute(tailcall_optimization) };
2919            tailcall_optimization as u64
2920        });
2921        __bindgen_bitfield_unit.set(3usize, 1u8, {
2922            let specialized_instruction: u32 =
2923                unsafe { ::std::mem::transmute(specialized_instruction) };
2924            specialized_instruction as u64
2925        });
2926        __bindgen_bitfield_unit.set(4usize, 1u8, {
2927            let operands_unification: u32 = unsafe { ::std::mem::transmute(operands_unification) };
2928            operands_unification as u64
2929        });
2930        __bindgen_bitfield_unit.set(5usize, 1u8, {
2931            let instructions_unification: u32 =
2932                unsafe { ::std::mem::transmute(instructions_unification) };
2933            instructions_unification as u64
2934        });
2935        __bindgen_bitfield_unit.set(6usize, 1u8, {
2936            let stack_caching: u32 = unsafe { ::std::mem::transmute(stack_caching) };
2937            stack_caching as u64
2938        });
2939        __bindgen_bitfield_unit.set(7usize, 1u8, {
2940            let frozen_string_literal: u32 =
2941                unsafe { ::std::mem::transmute(frozen_string_literal) };
2942            frozen_string_literal as u64
2943        });
2944        __bindgen_bitfield_unit.set(8usize, 1u8, {
2945            let debug_frozen_string_literal: u32 =
2946                unsafe { ::std::mem::transmute(debug_frozen_string_literal) };
2947            debug_frozen_string_literal as u64
2948        });
2949        __bindgen_bitfield_unit.set(9usize, 1u8, {
2950            let coverage_enabled: u32 = unsafe { ::std::mem::transmute(coverage_enabled) };
2951            coverage_enabled as u64
2952        });
2953        __bindgen_bitfield_unit
2954    }
2955}
2956#[repr(C)]
2957#[derive(Debug, Copy, Clone)]
2958pub struct iseq_insn_info_entry {
2959    pub line_no: ::std::os::raw::c_int,
2960    pub events: rb_event_flag_t,
2961}
2962#[repr(C)]
2963#[derive(Debug, Copy, Clone)]
2964pub struct iseq_catch_table_entry {
2965    pub type_: iseq_catch_table_entry_catch_type,
2966    pub iseq: *mut rb_iseq_t,
2967    pub start: ::std::os::raw::c_uint,
2968    pub end: ::std::os::raw::c_uint,
2969    pub cont: ::std::os::raw::c_uint,
2970    pub sp: ::std::os::raw::c_uint,
2971}
2972pub const iseq_catch_table_entry_catch_type_CATCH_TYPE_RESCUE: iseq_catch_table_entry_catch_type =
2973    3;
2974pub const iseq_catch_table_entry_catch_type_CATCH_TYPE_ENSURE: iseq_catch_table_entry_catch_type =
2975    5;
2976pub const iseq_catch_table_entry_catch_type_CATCH_TYPE_RETRY: iseq_catch_table_entry_catch_type = 7;
2977pub const iseq_catch_table_entry_catch_type_CATCH_TYPE_BREAK: iseq_catch_table_entry_catch_type = 9;
2978pub const iseq_catch_table_entry_catch_type_CATCH_TYPE_REDO: iseq_catch_table_entry_catch_type = 11;
2979pub const iseq_catch_table_entry_catch_type_CATCH_TYPE_NEXT: iseq_catch_table_entry_catch_type = 13;
2980pub type iseq_catch_table_entry_catch_type = ::std::os::raw::c_uint;
2981#[repr(C, packed)]
2982pub struct iseq_catch_table {
2983    pub size: ::std::os::raw::c_uint,
2984    pub entries: __IncompleteArrayField<iseq_catch_table_entry>,
2985}
2986#[repr(C)]
2987#[derive(Debug)]
2988pub struct iseq_compile_data_storage {
2989    pub next: *mut iseq_compile_data_storage,
2990    pub pos: ::std::os::raw::c_uint,
2991    pub size: ::std::os::raw::c_uint,
2992    pub buff: __IncompleteArrayField<::std::os::raw::c_char>,
2993}
2994#[repr(C)]
2995#[derive(Debug, Copy, Clone)]
2996pub struct rb_id_table {
2997    pub _address: u8,
2998}
2999#[repr(C)]
3000#[derive(Debug, Copy, Clone)]
3001pub struct succ_index_table {
3002    pub _address: u8,
3003}
3004#[repr(C)]
3005#[derive(Debug, Copy, Clone)]
3006pub struct rb_event_hook_struct {
3007    pub _address: u8,
3008}
3009#[repr(C)]
3010#[derive(Debug, Copy, Clone)]
3011pub struct rb_postponed_job_struct {
3012    pub _address: u8,
3013}
3014#[repr(C)]
3015#[derive(Debug, Copy, Clone)]
3016pub struct iseq_label_data {
3017    pub _address: u8,
3018}
3019#[repr(C)]
3020#[derive(Debug, Copy, Clone)]
3021pub struct iseq_compile_data_ensure_node_stack {
3022    pub _address: u8,
3023}