Skip to main content

rbspy_ruby_structs/
ruby_2_7_0.rs

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