Skip to main content

rbspy_ruby_structs/
ruby_3_1_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 __jmp_buf = [::std::os::raw::c_long; 8usize];
628#[repr(C)]
629#[derive(Debug, Copy, Clone)]
630pub struct __jmp_buf_tag {
631    pub __jmpbuf: __jmp_buf,
632    pub __mask_was_saved: ::std::os::raw::c_int,
633    pub __saved_mask: __sigset_t,
634}
635pub type jmp_buf = [__jmp_buf_tag; 1usize];
636pub type sigjmp_buf = [__jmp_buf_tag; 1usize];
637#[repr(C)]
638#[derive(Debug, Copy, Clone)]
639pub struct list_node {
640    pub next: *mut list_node,
641    pub prev: *mut list_node,
642}
643#[repr(C)]
644#[derive(Debug, Copy, Clone)]
645pub struct list_head {
646    pub n: list_node,
647}
648pub const ruby_id_types_RUBY_ID_STATIC_SYM: ruby_id_types = 1;
649pub const ruby_id_types_RUBY_ID_LOCAL: ruby_id_types = 0;
650pub const ruby_id_types_RUBY_ID_INSTANCE: ruby_id_types = 2;
651pub const ruby_id_types_RUBY_ID_GLOBAL: ruby_id_types = 6;
652pub const ruby_id_types_RUBY_ID_ATTRSET: ruby_id_types = 8;
653pub const ruby_id_types_RUBY_ID_CONST: ruby_id_types = 10;
654pub const ruby_id_types_RUBY_ID_CLASS: ruby_id_types = 12;
655pub const ruby_id_types_RUBY_ID_JUNK: ruby_id_types = 14;
656pub const ruby_id_types_RUBY_ID_INTERNAL: ruby_id_types = 14;
657pub const ruby_id_types_RUBY_ID_SCOPE_SHIFT: ruby_id_types = 4;
658pub const ruby_id_types_RUBY_ID_SCOPE_MASK: ruby_id_types = 14;
659pub type ruby_id_types = ::std::os::raw::c_uint;
660pub const ruby_method_ids_idDot2: ruby_method_ids = 128;
661pub const ruby_method_ids_idDot3: ruby_method_ids = 129;
662pub const ruby_method_ids_idUPlus: ruby_method_ids = 132;
663pub const ruby_method_ids_idUMinus: ruby_method_ids = 133;
664pub const ruby_method_ids_idPow: ruby_method_ids = 134;
665pub const ruby_method_ids_idCmp: ruby_method_ids = 135;
666pub const ruby_method_ids_idPLUS: ruby_method_ids = 43;
667pub const ruby_method_ids_idMINUS: ruby_method_ids = 45;
668pub const ruby_method_ids_idMULT: ruby_method_ids = 42;
669pub const ruby_method_ids_idDIV: ruby_method_ids = 47;
670pub const ruby_method_ids_idMOD: ruby_method_ids = 37;
671pub const ruby_method_ids_idLTLT: ruby_method_ids = 136;
672pub const ruby_method_ids_idGTGT: ruby_method_ids = 137;
673pub const ruby_method_ids_idLT: ruby_method_ids = 60;
674pub const ruby_method_ids_idLE: ruby_method_ids = 138;
675pub const ruby_method_ids_idGT: ruby_method_ids = 62;
676pub const ruby_method_ids_idGE: ruby_method_ids = 139;
677pub const ruby_method_ids_idEq: ruby_method_ids = 140;
678pub const ruby_method_ids_idEqq: ruby_method_ids = 141;
679pub const ruby_method_ids_idNeq: ruby_method_ids = 142;
680pub const ruby_method_ids_idNot: ruby_method_ids = 33;
681pub const ruby_method_ids_idAnd: ruby_method_ids = 38;
682pub const ruby_method_ids_idOr: ruby_method_ids = 124;
683pub const ruby_method_ids_idBackquote: ruby_method_ids = 96;
684pub const ruby_method_ids_idEqTilde: ruby_method_ids = 143;
685pub const ruby_method_ids_idNeqTilde: ruby_method_ids = 144;
686pub const ruby_method_ids_idAREF: ruby_method_ids = 145;
687pub const ruby_method_ids_idASET: ruby_method_ids = 146;
688pub const ruby_method_ids_idCOLON2: ruby_method_ids = 147;
689pub const ruby_method_ids_idANDOP: ruby_method_ids = 148;
690pub const ruby_method_ids_idOROP: ruby_method_ids = 149;
691pub const ruby_method_ids_idANDDOT: ruby_method_ids = 150;
692pub const ruby_method_ids_tPRESERVED_ID_BEGIN: ruby_method_ids = 150;
693pub const ruby_method_ids_idNilP: ruby_method_ids = 151;
694pub const ruby_method_ids_idNULL: ruby_method_ids = 152;
695pub const ruby_method_ids_idEmptyP: ruby_method_ids = 153;
696pub const ruby_method_ids_idEqlP: ruby_method_ids = 154;
697pub const ruby_method_ids_idRespond_to: ruby_method_ids = 155;
698pub const ruby_method_ids_idRespond_to_missing: ruby_method_ids = 156;
699pub const ruby_method_ids_idIFUNC: ruby_method_ids = 157;
700pub const ruby_method_ids_idCFUNC: ruby_method_ids = 158;
701pub const ruby_method_ids_id_core_set_method_alias: ruby_method_ids = 159;
702pub const ruby_method_ids_id_core_set_variable_alias: ruby_method_ids = 160;
703pub const ruby_method_ids_id_core_undef_method: ruby_method_ids = 161;
704pub const ruby_method_ids_id_core_define_method: ruby_method_ids = 162;
705pub const ruby_method_ids_id_core_define_singleton_method: ruby_method_ids = 163;
706pub const ruby_method_ids_id_core_set_postexe: ruby_method_ids = 164;
707pub const ruby_method_ids_id_core_hash_merge_ptr: ruby_method_ids = 165;
708pub const ruby_method_ids_id_core_hash_merge_kwd: ruby_method_ids = 166;
709pub const ruby_method_ids_id_core_raise: ruby_method_ids = 167;
710pub const ruby_method_ids_id_core_sprintf: ruby_method_ids = 168;
711pub const ruby_method_ids_id_debug_created_info: ruby_method_ids = 169;
712pub const ruby_method_ids_tPRESERVED_ID_END: ruby_method_ids = 170;
713pub const ruby_method_ids_tTOKEN_LOCAL_BEGIN: ruby_method_ids = 169;
714pub const ruby_method_ids_tMax: ruby_method_ids = 170;
715pub const ruby_method_ids_tMin: ruby_method_ids = 171;
716pub const ruby_method_ids_tFreeze: ruby_method_ids = 172;
717pub const ruby_method_ids_tInspect: ruby_method_ids = 173;
718pub const ruby_method_ids_tIntern: ruby_method_ids = 174;
719pub const ruby_method_ids_tObject_id: ruby_method_ids = 175;
720pub const ruby_method_ids_tConst_missing: ruby_method_ids = 176;
721pub const ruby_method_ids_tMethodMissing: ruby_method_ids = 177;
722pub const ruby_method_ids_tMethod_added: ruby_method_ids = 178;
723pub const ruby_method_ids_tSingleton_method_added: ruby_method_ids = 179;
724pub const ruby_method_ids_tMethod_removed: ruby_method_ids = 180;
725pub const ruby_method_ids_tSingleton_method_removed: ruby_method_ids = 181;
726pub const ruby_method_ids_tMethod_undefined: ruby_method_ids = 182;
727pub const ruby_method_ids_tSingleton_method_undefined: ruby_method_ids = 183;
728pub const ruby_method_ids_tLength: ruby_method_ids = 184;
729pub const ruby_method_ids_tSize: ruby_method_ids = 185;
730pub const ruby_method_ids_tGets: ruby_method_ids = 186;
731pub const ruby_method_ids_tSucc: ruby_method_ids = 187;
732pub const ruby_method_ids_tEach: ruby_method_ids = 188;
733pub const ruby_method_ids_tProc: ruby_method_ids = 189;
734pub const ruby_method_ids_tLambda: ruby_method_ids = 190;
735pub const ruby_method_ids_tSend: ruby_method_ids = 191;
736pub const ruby_method_ids_t__send__: ruby_method_ids = 192;
737pub const ruby_method_ids_t__attached__: ruby_method_ids = 193;
738pub const ruby_method_ids_t__recursive_key__: ruby_method_ids = 194;
739pub const ruby_method_ids_tInitialize: ruby_method_ids = 195;
740pub const ruby_method_ids_tInitialize_copy: ruby_method_ids = 196;
741pub const ruby_method_ids_tInitialize_clone: ruby_method_ids = 197;
742pub const ruby_method_ids_tInitialize_dup: ruby_method_ids = 198;
743pub const ruby_method_ids_tTo_int: ruby_method_ids = 199;
744pub const ruby_method_ids_tTo_ary: ruby_method_ids = 200;
745pub const ruby_method_ids_tTo_str: ruby_method_ids = 201;
746pub const ruby_method_ids_tTo_sym: ruby_method_ids = 202;
747pub const ruby_method_ids_tTo_hash: ruby_method_ids = 203;
748pub const ruby_method_ids_tTo_proc: ruby_method_ids = 204;
749pub const ruby_method_ids_tTo_io: ruby_method_ids = 205;
750pub const ruby_method_ids_tTo_a: ruby_method_ids = 206;
751pub const ruby_method_ids_tTo_s: ruby_method_ids = 207;
752pub const ruby_method_ids_tTo_i: ruby_method_ids = 208;
753pub const ruby_method_ids_tTo_f: ruby_method_ids = 209;
754pub const ruby_method_ids_tTo_r: ruby_method_ids = 210;
755pub const ruby_method_ids_tBt: ruby_method_ids = 211;
756pub const ruby_method_ids_tBt_locations: ruby_method_ids = 212;
757pub const ruby_method_ids_tCall: ruby_method_ids = 213;
758pub const ruby_method_ids_tMesg: ruby_method_ids = 214;
759pub const ruby_method_ids_tException: ruby_method_ids = 215;
760pub const ruby_method_ids_tLocals: ruby_method_ids = 216;
761pub const ruby_method_ids_tNOT: ruby_method_ids = 217;
762pub const ruby_method_ids_tAND: ruby_method_ids = 218;
763pub const ruby_method_ids_tOR: ruby_method_ids = 219;
764pub const ruby_method_ids_tDiv: ruby_method_ids = 220;
765pub const ruby_method_ids_tDivmod: ruby_method_ids = 221;
766pub const ruby_method_ids_tFdiv: ruby_method_ids = 222;
767pub const ruby_method_ids_tQuo: ruby_method_ids = 223;
768pub const ruby_method_ids_tName: ruby_method_ids = 224;
769pub const ruby_method_ids_tNil: ruby_method_ids = 225;
770pub const ruby_method_ids_tUScore: ruby_method_ids = 226;
771pub const ruby_method_ids_tNUMPARAM_1: ruby_method_ids = 227;
772pub const ruby_method_ids_tNUMPARAM_2: ruby_method_ids = 228;
773pub const ruby_method_ids_tNUMPARAM_3: ruby_method_ids = 229;
774pub const ruby_method_ids_tNUMPARAM_4: ruby_method_ids = 230;
775pub const ruby_method_ids_tNUMPARAM_5: ruby_method_ids = 231;
776pub const ruby_method_ids_tNUMPARAM_6: ruby_method_ids = 232;
777pub const ruby_method_ids_tNUMPARAM_7: ruby_method_ids = 233;
778pub const ruby_method_ids_tNUMPARAM_8: ruby_method_ids = 234;
779pub const ruby_method_ids_tNUMPARAM_9: ruby_method_ids = 235;
780pub const ruby_method_ids_tTOKEN_LOCAL_END: ruby_method_ids = 236;
781pub const ruby_method_ids_tTOKEN_INSTANCE_BEGIN: ruby_method_ids = 235;
782pub const ruby_method_ids_tTOKEN_INSTANCE_END: ruby_method_ids = 236;
783pub const ruby_method_ids_tTOKEN_GLOBAL_BEGIN: ruby_method_ids = 235;
784pub const ruby_method_ids_tLASTLINE: ruby_method_ids = 236;
785pub const ruby_method_ids_tBACKREF: ruby_method_ids = 237;
786pub const ruby_method_ids_tERROR_INFO: ruby_method_ids = 238;
787pub const ruby_method_ids_tTOKEN_GLOBAL_END: ruby_method_ids = 239;
788pub const ruby_method_ids_tTOKEN_CONST_BEGIN: ruby_method_ids = 238;
789pub const ruby_method_ids_tTOKEN_CONST_END: ruby_method_ids = 239;
790pub const ruby_method_ids_tTOKEN_CLASS_BEGIN: ruby_method_ids = 238;
791pub const ruby_method_ids_tTOKEN_CLASS_END: ruby_method_ids = 239;
792pub const ruby_method_ids_tTOKEN_ATTRSET_BEGIN: ruby_method_ids = 238;
793pub const ruby_method_ids_tTOKEN_ATTRSET_END: ruby_method_ids = 239;
794pub const ruby_method_ids_tNEXT_ID: ruby_method_ids = 239;
795pub const ruby_method_ids_idMax: ruby_method_ids = 2721;
796pub const ruby_method_ids_idMin: ruby_method_ids = 2737;
797pub const ruby_method_ids_idFreeze: ruby_method_ids = 2753;
798pub const ruby_method_ids_idInspect: ruby_method_ids = 2769;
799pub const ruby_method_ids_idIntern: ruby_method_ids = 2785;
800pub const ruby_method_ids_idObject_id: ruby_method_ids = 2801;
801pub const ruby_method_ids_idConst_missing: ruby_method_ids = 2817;
802pub const ruby_method_ids_idMethodMissing: ruby_method_ids = 2833;
803pub const ruby_method_ids_idMethod_added: ruby_method_ids = 2849;
804pub const ruby_method_ids_idSingleton_method_added: ruby_method_ids = 2865;
805pub const ruby_method_ids_idMethod_removed: ruby_method_ids = 2881;
806pub const ruby_method_ids_idSingleton_method_removed: ruby_method_ids = 2897;
807pub const ruby_method_ids_idMethod_undefined: ruby_method_ids = 2913;
808pub const ruby_method_ids_idSingleton_method_undefined: ruby_method_ids = 2929;
809pub const ruby_method_ids_idLength: ruby_method_ids = 2945;
810pub const ruby_method_ids_idSize: ruby_method_ids = 2961;
811pub const ruby_method_ids_idGets: ruby_method_ids = 2977;
812pub const ruby_method_ids_idSucc: ruby_method_ids = 2993;
813pub const ruby_method_ids_idEach: ruby_method_ids = 3009;
814pub const ruby_method_ids_idProc: ruby_method_ids = 3025;
815pub const ruby_method_ids_idLambda: ruby_method_ids = 3041;
816pub const ruby_method_ids_idSend: ruby_method_ids = 3057;
817pub const ruby_method_ids_id__send__: ruby_method_ids = 3073;
818pub const ruby_method_ids_id__attached__: ruby_method_ids = 3089;
819pub const ruby_method_ids_id__recursive_key__: ruby_method_ids = 3105;
820pub const ruby_method_ids_idInitialize: ruby_method_ids = 3121;
821pub const ruby_method_ids_idInitialize_copy: ruby_method_ids = 3137;
822pub const ruby_method_ids_idInitialize_clone: ruby_method_ids = 3153;
823pub const ruby_method_ids_idInitialize_dup: ruby_method_ids = 3169;
824pub const ruby_method_ids_idTo_int: ruby_method_ids = 3185;
825pub const ruby_method_ids_idTo_ary: ruby_method_ids = 3201;
826pub const ruby_method_ids_idTo_str: ruby_method_ids = 3217;
827pub const ruby_method_ids_idTo_sym: ruby_method_ids = 3233;
828pub const ruby_method_ids_idTo_hash: ruby_method_ids = 3249;
829pub const ruby_method_ids_idTo_proc: ruby_method_ids = 3265;
830pub const ruby_method_ids_idTo_io: ruby_method_ids = 3281;
831pub const ruby_method_ids_idTo_a: ruby_method_ids = 3297;
832pub const ruby_method_ids_idTo_s: ruby_method_ids = 3313;
833pub const ruby_method_ids_idTo_i: ruby_method_ids = 3329;
834pub const ruby_method_ids_idTo_f: ruby_method_ids = 3345;
835pub const ruby_method_ids_idTo_r: ruby_method_ids = 3361;
836pub const ruby_method_ids_idBt: ruby_method_ids = 3377;
837pub const ruby_method_ids_idBt_locations: ruby_method_ids = 3393;
838pub const ruby_method_ids_idCall: ruby_method_ids = 3409;
839pub const ruby_method_ids_idMesg: ruby_method_ids = 3425;
840pub const ruby_method_ids_idException: ruby_method_ids = 3441;
841pub const ruby_method_ids_idLocals: ruby_method_ids = 3457;
842pub const ruby_method_ids_idNOT: ruby_method_ids = 3473;
843pub const ruby_method_ids_idAND: ruby_method_ids = 3489;
844pub const ruby_method_ids_idOR: ruby_method_ids = 3505;
845pub const ruby_method_ids_idDiv: ruby_method_ids = 3521;
846pub const ruby_method_ids_idDivmod: ruby_method_ids = 3537;
847pub const ruby_method_ids_idFdiv: ruby_method_ids = 3553;
848pub const ruby_method_ids_idQuo: ruby_method_ids = 3569;
849pub const ruby_method_ids_idName: ruby_method_ids = 3585;
850pub const ruby_method_ids_idNil: ruby_method_ids = 3601;
851pub const ruby_method_ids_idUScore: ruby_method_ids = 3617;
852pub const ruby_method_ids_idNUMPARAM_1: ruby_method_ids = 3633;
853pub const ruby_method_ids_idNUMPARAM_2: ruby_method_ids = 3649;
854pub const ruby_method_ids_idNUMPARAM_3: ruby_method_ids = 3665;
855pub const ruby_method_ids_idNUMPARAM_4: ruby_method_ids = 3681;
856pub const ruby_method_ids_idNUMPARAM_5: ruby_method_ids = 3697;
857pub const ruby_method_ids_idNUMPARAM_6: ruby_method_ids = 3713;
858pub const ruby_method_ids_idNUMPARAM_7: ruby_method_ids = 3729;
859pub const ruby_method_ids_idNUMPARAM_8: ruby_method_ids = 3745;
860pub const ruby_method_ids_idNUMPARAM_9: ruby_method_ids = 3761;
861pub const ruby_method_ids_idLASTLINE: ruby_method_ids = 3783;
862pub const ruby_method_ids_idBACKREF: ruby_method_ids = 3799;
863pub const ruby_method_ids_idERROR_INFO: ruby_method_ids = 3815;
864pub const ruby_method_ids_tLAST_OP_ID: ruby_method_ids = 169;
865pub const ruby_method_ids_idLAST_OP_ID: ruby_method_ids = 10;
866pub type ruby_method_ids = ::std::os::raw::c_uint;
867pub type VALUE = usize;
868pub type ID = usize;
869#[repr(C)]
870#[derive(Debug, Copy, Clone)]
871pub struct RBasic {
872    pub flags: VALUE,
873    pub klass: VALUE,
874}
875pub const ruby_fl_ushift_RUBY_FL_USHIFT: ruby_fl_ushift = 12;
876pub type ruby_fl_ushift = ::std::os::raw::c_uint;
877pub const ruby_fl_type_RUBY_FL_WB_PROTECTED: ruby_fl_type = 32;
878pub const ruby_fl_type_RUBY_FL_PROMOTED0: ruby_fl_type = 32;
879pub const ruby_fl_type_RUBY_FL_PROMOTED1: ruby_fl_type = 64;
880pub const ruby_fl_type_RUBY_FL_PROMOTED: ruby_fl_type = 96;
881pub const ruby_fl_type_RUBY_FL_FINALIZE: ruby_fl_type = 128;
882pub const ruby_fl_type_RUBY_FL_TAINT: ruby_fl_type = 256;
883pub const ruby_fl_type_RUBY_FL_SHAREABLE: ruby_fl_type = 256;
884pub const ruby_fl_type_RUBY_FL_UNTRUSTED: ruby_fl_type = 256;
885pub const ruby_fl_type_RUBY_FL_SEEN_OBJ_ID: ruby_fl_type = 512;
886pub const ruby_fl_type_RUBY_FL_EXIVAR: ruby_fl_type = 1024;
887pub const ruby_fl_type_RUBY_FL_FREEZE: ruby_fl_type = 2048;
888pub const ruby_fl_type_RUBY_FL_USER0: ruby_fl_type = 4096;
889pub const ruby_fl_type_RUBY_FL_USER1: ruby_fl_type = 8192;
890pub const ruby_fl_type_RUBY_FL_USER2: ruby_fl_type = 16384;
891pub const ruby_fl_type_RUBY_FL_USER3: ruby_fl_type = 32768;
892pub const ruby_fl_type_RUBY_FL_USER4: ruby_fl_type = 65536;
893pub const ruby_fl_type_RUBY_FL_USER5: ruby_fl_type = 131072;
894pub const ruby_fl_type_RUBY_FL_USER6: ruby_fl_type = 262144;
895pub const ruby_fl_type_RUBY_FL_USER7: ruby_fl_type = 524288;
896pub const ruby_fl_type_RUBY_FL_USER8: ruby_fl_type = 1048576;
897pub const ruby_fl_type_RUBY_FL_USER9: ruby_fl_type = 2097152;
898pub const ruby_fl_type_RUBY_FL_USER10: ruby_fl_type = 4194304;
899pub const ruby_fl_type_RUBY_FL_USER11: ruby_fl_type = 8388608;
900pub const ruby_fl_type_RUBY_FL_USER12: ruby_fl_type = 16777216;
901pub const ruby_fl_type_RUBY_FL_USER13: ruby_fl_type = 33554432;
902pub const ruby_fl_type_RUBY_FL_USER14: ruby_fl_type = 67108864;
903pub const ruby_fl_type_RUBY_FL_USER15: ruby_fl_type = 134217728;
904pub const ruby_fl_type_RUBY_FL_USER16: ruby_fl_type = 268435456;
905pub const ruby_fl_type_RUBY_FL_USER17: ruby_fl_type = 536870912;
906pub const ruby_fl_type_RUBY_FL_USER18: ruby_fl_type = 1073741824;
907pub const ruby_fl_type_RUBY_FL_USER19: ruby_fl_type = -2147483648;
908pub const ruby_fl_type_RUBY_ELTS_SHARED: ruby_fl_type = 16384;
909pub const ruby_fl_type_RUBY_FL_SINGLETON: ruby_fl_type = 4096;
910pub type ruby_fl_type = ::std::os::raw::c_int;
911#[repr(C)]
912#[derive(Copy, Clone)]
913pub struct RString {
914    pub basic: RBasic,
915    pub as_: RString__bindgen_ty_1,
916}
917#[repr(C)]
918#[derive(Copy, Clone)]
919pub union RString__bindgen_ty_1 {
920    pub heap: RString__bindgen_ty_1__bindgen_ty_1,
921    pub embed: RString__bindgen_ty_1__bindgen_ty_2,
922}
923#[repr(C)]
924#[derive(Copy, Clone)]
925pub struct RString__bindgen_ty_1__bindgen_ty_1 {
926    pub len: ::std::os::raw::c_long,
927    pub ptr: *mut ::std::os::raw::c_char,
928    pub aux: RString__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1,
929}
930#[repr(C)]
931#[derive(Copy, Clone)]
932pub union RString__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 {
933    pub capa: ::std::os::raw::c_long,
934    pub shared: VALUE,
935}
936impl ::std::fmt::Debug for RString__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 {
937    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
938        write!(
939            f,
940            "RString__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 {{ union }}"
941        )
942    }
943}
944impl ::std::fmt::Debug for RString__bindgen_ty_1__bindgen_ty_1 {
945    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
946        write!(
947            f,
948            "RString__bindgen_ty_1__bindgen_ty_1 {{ len: {:?}, ptr: {:?}, aux: {:?} }}",
949            self.len, self.ptr, self.aux
950        )
951    }
952}
953#[repr(C)]
954#[derive(Debug, Copy, Clone)]
955pub struct RString__bindgen_ty_1__bindgen_ty_2 {
956    pub ary: [::std::os::raw::c_char; 24usize],
957}
958impl ::std::fmt::Debug for RString__bindgen_ty_1 {
959    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
960        write!(f, "RString__bindgen_ty_1 {{ union }}")
961    }
962}
963impl ::std::fmt::Debug for RString {
964    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
965        write!(
966            f,
967            "RString {{ basic: {:?}, as: {:?} }}",
968            self.basic, self.as_
969        )
970    }
971}
972pub type st_data_t = usize;
973pub type st_index_t = st_data_t;
974#[repr(C)]
975#[derive(Debug, Copy, Clone)]
976pub struct st_hash_type {
977    pub compare: ::std::option::Option<
978        unsafe extern "C" fn(arg1: st_data_t, arg2: st_data_t) -> ::std::os::raw::c_int,
979    >,
980    pub hash: ::std::option::Option<unsafe extern "C" fn(arg1: st_data_t) -> st_index_t>,
981}
982#[repr(C)]
983#[derive(Debug)]
984pub struct st_table_entry {
985    _unused: [u8; 0],
986}
987#[repr(C)]
988#[derive(Debug, Copy, Clone)]
989pub struct st_table {
990    pub entry_power: ::std::os::raw::c_uchar,
991    pub bin_power: ::std::os::raw::c_uchar,
992    pub size_ind: ::std::os::raw::c_uchar,
993    pub rebuilds_num: ::std::os::raw::c_uint,
994    pub type_: *const st_hash_type,
995    pub num_entries: st_index_t,
996    pub bins: *mut st_index_t,
997    pub entries_start: st_index_t,
998    pub entries_bound: st_index_t,
999    pub entries: *mut st_table_entry,
1000}
1001#[repr(C)]
1002#[derive(Copy, Clone)]
1003pub struct RArray {
1004    pub basic: RBasic,
1005    pub as_: RArray__bindgen_ty_1,
1006}
1007#[repr(C)]
1008#[derive(Copy, Clone)]
1009pub union RArray__bindgen_ty_1 {
1010    pub heap: RArray__bindgen_ty_1__bindgen_ty_1,
1011    pub ary: [VALUE; 3usize],
1012}
1013#[repr(C)]
1014#[derive(Copy, Clone)]
1015pub struct RArray__bindgen_ty_1__bindgen_ty_1 {
1016    pub len: ::std::os::raw::c_long,
1017    pub aux: RArray__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1,
1018    pub ptr: *const VALUE,
1019}
1020#[repr(C)]
1021#[derive(Copy, Clone)]
1022pub union RArray__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 {
1023    pub capa: ::std::os::raw::c_long,
1024    pub shared_root: VALUE,
1025}
1026impl ::std::fmt::Debug for RArray__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 {
1027    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1028        write!(
1029            f,
1030            "RArray__bindgen_ty_1__bindgen_ty_1__bindgen_ty_1 {{ union }}"
1031        )
1032    }
1033}
1034impl ::std::fmt::Debug for RArray__bindgen_ty_1__bindgen_ty_1 {
1035    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1036        write!(
1037            f,
1038            "RArray__bindgen_ty_1__bindgen_ty_1 {{ len: {:?}, aux: {:?}, ptr: {:?} }}",
1039            self.len, self.aux, self.ptr
1040        )
1041    }
1042}
1043impl ::std::fmt::Debug for RArray__bindgen_ty_1 {
1044    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1045        write!(f, "RArray__bindgen_ty_1 {{ union }}")
1046    }
1047}
1048impl ::std::fmt::Debug for RArray {
1049    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1050        write!(
1051            f,
1052            "RArray {{ basic: {:?}, as: {:?} }}",
1053            self.basic, self.as_
1054        )
1055    }
1056}
1057pub type rb_event_flag_t = u32;
1058pub type rb_unblock_function_t =
1059    ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void)>;
1060pub type rb_serial_t = ::std::os::raw::c_ulonglong;
1061#[repr(C)]
1062#[derive(Debug)]
1063pub struct rb_callinfo {
1064    _unused: [u8; 0],
1065}
1066pub const method_missing_reason_MISSING_NOENTRY: method_missing_reason = 0;
1067pub const method_missing_reason_MISSING_PRIVATE: method_missing_reason = 1;
1068pub const method_missing_reason_MISSING_PROTECTED: method_missing_reason = 2;
1069pub const method_missing_reason_MISSING_FCALL: method_missing_reason = 4;
1070pub const method_missing_reason_MISSING_VCALL: method_missing_reason = 8;
1071pub const method_missing_reason_MISSING_SUPER: method_missing_reason = 16;
1072pub const method_missing_reason_MISSING_MISSING: method_missing_reason = 32;
1073pub const method_missing_reason_MISSING_NONE: method_missing_reason = 64;
1074pub type method_missing_reason = ::std::os::raw::c_uint;
1075#[repr(C)]
1076#[derive(Debug)]
1077pub struct rb_callcache {
1078    _unused: [u8; 0],
1079}
1080#[repr(C)]
1081#[derive(Debug)]
1082pub struct rb_objspace {
1083    _unused: [u8; 0],
1084}
1085#[repr(C)]
1086#[derive(Debug, Copy, Clone)]
1087pub struct ractor_newobj_size_pool_cache {
1088    pub freelist: *mut RVALUE,
1089    pub using_page: *mut heap_page,
1090}
1091pub type rb_ractor_newobj_size_pool_cache_t = ractor_newobj_size_pool_cache;
1092#[repr(C)]
1093#[derive(Debug, Copy, Clone)]
1094pub struct ractor_newobj_cache {
1095    pub size_pool_caches: [rb_ractor_newobj_size_pool_cache_t; 1usize],
1096}
1097pub type rb_ractor_newobj_cache_t = ractor_newobj_cache;
1098pub const imemo_type_imemo_env: imemo_type = 0;
1099pub const imemo_type_imemo_cref: imemo_type = 1;
1100pub const imemo_type_imemo_svar: imemo_type = 2;
1101pub const imemo_type_imemo_throw_data: imemo_type = 3;
1102pub const imemo_type_imemo_ifunc: imemo_type = 4;
1103pub const imemo_type_imemo_memo: imemo_type = 5;
1104pub const imemo_type_imemo_ment: imemo_type = 6;
1105pub const imemo_type_imemo_iseq: imemo_type = 7;
1106pub const imemo_type_imemo_tmpbuf: imemo_type = 8;
1107pub const imemo_type_imemo_ast: imemo_type = 9;
1108pub const imemo_type_imemo_parser_strterm: imemo_type = 10;
1109pub const imemo_type_imemo_callinfo: imemo_type = 11;
1110pub const imemo_type_imemo_callcache: imemo_type = 12;
1111pub const imemo_type_imemo_constcache: imemo_type = 13;
1112pub type imemo_type = ::std::os::raw::c_uint;
1113#[repr(C)]
1114#[derive(Debug, Copy, Clone)]
1115pub struct vm_svar {
1116    pub flags: VALUE,
1117    pub cref_or_me: VALUE,
1118    pub lastline: VALUE,
1119    pub backref: VALUE,
1120    pub others: VALUE,
1121}
1122pub const rb_method_visibility_t_METHOD_VISI_UNDEF: rb_method_visibility_t = 0;
1123pub const rb_method_visibility_t_METHOD_VISI_PUBLIC: rb_method_visibility_t = 1;
1124pub const rb_method_visibility_t_METHOD_VISI_PRIVATE: rb_method_visibility_t = 2;
1125pub const rb_method_visibility_t_METHOD_VISI_PROTECTED: rb_method_visibility_t = 3;
1126pub const rb_method_visibility_t_METHOD_VISI_MASK: rb_method_visibility_t = 3;
1127pub type rb_method_visibility_t = ::std::os::raw::c_uint;
1128#[repr(C)]
1129#[derive(Debug, Copy, Clone)]
1130pub struct rb_scope_visi_struct {
1131    pub _bindgen_align: [u32; 0],
1132    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
1133    pub __bindgen_padding_0: [u8; 3usize],
1134}
1135impl rb_scope_visi_struct {
1136    #[inline]
1137    #[allow(unnecessary_transmutes)]
1138    pub fn method_visi(&self) -> rb_method_visibility_t {
1139        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<0usize, 3u8>() as u32) }
1140    }
1141    #[inline]
1142    #[allow(unnecessary_transmutes)]
1143    pub fn set_method_visi(&mut self, val: rb_method_visibility_t) {
1144        unsafe {
1145            let val: u32 = ::std::mem::transmute(val);
1146            self._bitfield_1.set_const::<0usize, 3u8>(val as u64)
1147        }
1148    }
1149    #[inline]
1150    #[allow(unnecessary_transmutes)]
1151    pub unsafe fn method_visi_raw(this: *const Self) -> rb_method_visibility_t {
1152        unsafe {
1153            ::std::mem::transmute(
1154                <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<0usize, 3u8>(
1155                    ::std::ptr::addr_of!((*this)._bitfield_1),
1156                ) as u32,
1157            )
1158        }
1159    }
1160    #[inline]
1161    #[allow(unnecessary_transmutes)]
1162    pub unsafe fn set_method_visi_raw(this: *mut Self, val: rb_method_visibility_t) {
1163        unsafe {
1164            let val: u32 = ::std::mem::transmute(val);
1165            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<0usize, 3u8>(
1166                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1167                val as u64,
1168            )
1169        }
1170    }
1171    #[inline]
1172    #[allow(unnecessary_transmutes)]
1173    pub fn module_func(&self) -> ::std::os::raw::c_uint {
1174        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<3usize, 1u8>() as u32) }
1175    }
1176    #[inline]
1177    #[allow(unnecessary_transmutes)]
1178    pub fn set_module_func(&mut self, val: ::std::os::raw::c_uint) {
1179        unsafe {
1180            let val: u32 = ::std::mem::transmute(val);
1181            self._bitfield_1.set_const::<3usize, 1u8>(val as u64)
1182        }
1183    }
1184    #[inline]
1185    #[allow(unnecessary_transmutes)]
1186    pub unsafe fn module_func_raw(this: *const Self) -> ::std::os::raw::c_uint {
1187        unsafe {
1188            ::std::mem::transmute(
1189                <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<3usize, 1u8>(
1190                    ::std::ptr::addr_of!((*this)._bitfield_1),
1191                ) as u32,
1192            )
1193        }
1194    }
1195    #[inline]
1196    #[allow(unnecessary_transmutes)]
1197    pub unsafe fn set_module_func_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1198        unsafe {
1199            let val: u32 = ::std::mem::transmute(val);
1200            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<3usize, 1u8>(
1201                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1202                val as u64,
1203            )
1204        }
1205    }
1206    #[inline]
1207    #[allow(unnecessary_transmutes)]
1208    pub fn new_bitfield_1(
1209        method_visi: rb_method_visibility_t,
1210        module_func: ::std::os::raw::c_uint,
1211    ) -> __BindgenBitfieldUnit<[u8; 1usize]> {
1212        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
1213        __bindgen_bitfield_unit.set_const::<0usize, 3u8>({
1214            let method_visi: u32 = unsafe { ::std::mem::transmute(method_visi) };
1215            method_visi as u64
1216        });
1217        __bindgen_bitfield_unit.set_const::<3usize, 1u8>({
1218            let module_func: u32 = unsafe { ::std::mem::transmute(module_func) };
1219            module_func as u64
1220        });
1221        __bindgen_bitfield_unit
1222    }
1223}
1224pub type rb_scope_visibility_t = rb_scope_visi_struct;
1225#[repr(C)]
1226#[derive(Debug, Copy, Clone)]
1227pub struct rb_cref_struct {
1228    pub flags: VALUE,
1229    pub refinements: VALUE,
1230    pub klass_or_self: VALUE,
1231    pub next: *mut rb_cref_struct,
1232    pub scope_visi: rb_scope_visibility_t,
1233}
1234pub type rb_cref_t = rb_cref_struct;
1235#[repr(C)]
1236#[derive(Debug, Copy, Clone)]
1237pub struct rb_method_entry_struct {
1238    pub flags: VALUE,
1239    pub defined_class: VALUE,
1240    pub def: *mut rb_method_definition_struct,
1241    pub called_id: ID,
1242    pub owner: VALUE,
1243}
1244pub const rb_method_type_t_VM_METHOD_TYPE_ISEQ: rb_method_type_t = 0;
1245pub const rb_method_type_t_VM_METHOD_TYPE_CFUNC: rb_method_type_t = 1;
1246pub const rb_method_type_t_VM_METHOD_TYPE_ATTRSET: rb_method_type_t = 2;
1247pub const rb_method_type_t_VM_METHOD_TYPE_IVAR: rb_method_type_t = 3;
1248pub const rb_method_type_t_VM_METHOD_TYPE_BMETHOD: rb_method_type_t = 4;
1249pub const rb_method_type_t_VM_METHOD_TYPE_ZSUPER: rb_method_type_t = 5;
1250pub const rb_method_type_t_VM_METHOD_TYPE_ALIAS: rb_method_type_t = 6;
1251pub const rb_method_type_t_VM_METHOD_TYPE_UNDEF: rb_method_type_t = 7;
1252pub const rb_method_type_t_VM_METHOD_TYPE_NOTIMPLEMENTED: rb_method_type_t = 8;
1253pub const rb_method_type_t_VM_METHOD_TYPE_OPTIMIZED: rb_method_type_t = 9;
1254pub const rb_method_type_t_VM_METHOD_TYPE_MISSING: rb_method_type_t = 10;
1255pub const rb_method_type_t_VM_METHOD_TYPE_REFINED: rb_method_type_t = 11;
1256pub type rb_method_type_t = ::std::os::raw::c_uint;
1257pub type rb_iseq_t = rb_iseq_struct;
1258#[repr(C)]
1259#[derive(Debug, Copy, Clone)]
1260pub struct rb_method_iseq_struct {
1261    pub iseqptr: *const rb_iseq_t,
1262    pub cref: *mut rb_cref_t,
1263}
1264pub type rb_method_iseq_t = rb_method_iseq_struct;
1265#[repr(C)]
1266#[derive(Debug, Copy, Clone)]
1267pub struct rb_method_cfunc_struct {
1268    pub func: ::std::option::Option<unsafe extern "C" fn() -> VALUE>,
1269    pub invoker: ::std::option::Option<
1270        unsafe extern "C" fn(
1271            recv: VALUE,
1272            argc: ::std::os::raw::c_int,
1273            argv: *const VALUE,
1274            func: ::std::option::Option<unsafe extern "C" fn() -> VALUE>,
1275        ) -> VALUE,
1276    >,
1277    pub argc: ::std::os::raw::c_int,
1278}
1279pub type rb_method_cfunc_t = rb_method_cfunc_struct;
1280#[repr(C)]
1281#[derive(Debug, Copy, Clone)]
1282pub struct rb_method_attr_struct {
1283    pub id: ID,
1284    pub location: VALUE,
1285}
1286pub type rb_method_attr_t = rb_method_attr_struct;
1287#[repr(C)]
1288#[derive(Debug, Copy, Clone)]
1289pub struct rb_method_alias_struct {
1290    pub original_me: *mut rb_method_entry_struct,
1291}
1292pub type rb_method_alias_t = rb_method_alias_struct;
1293#[repr(C)]
1294#[derive(Debug, Copy, Clone)]
1295pub struct rb_method_refined_struct {
1296    pub orig_me: *mut rb_method_entry_struct,
1297    pub owner: VALUE,
1298}
1299pub type rb_method_refined_t = rb_method_refined_struct;
1300#[repr(C)]
1301#[derive(Debug, Copy, Clone)]
1302pub struct rb_method_bmethod_struct {
1303    pub proc_: VALUE,
1304    pub hooks: *mut rb_hook_list_struct,
1305    pub defined_ractor: VALUE,
1306}
1307pub type rb_method_bmethod_t = rb_method_bmethod_struct;
1308pub const method_optimized_type_OPTIMIZED_METHOD_TYPE_SEND: method_optimized_type = 0;
1309pub const method_optimized_type_OPTIMIZED_METHOD_TYPE_CALL: method_optimized_type = 1;
1310pub const method_optimized_type_OPTIMIZED_METHOD_TYPE_BLOCK_CALL: method_optimized_type = 2;
1311pub const method_optimized_type_OPTIMIZED_METHOD_TYPE_STRUCT_AREF: method_optimized_type = 3;
1312pub const method_optimized_type_OPTIMIZED_METHOD_TYPE_STRUCT_ASET: method_optimized_type = 4;
1313pub const method_optimized_type_OPTIMIZED_METHOD_TYPE__MAX: method_optimized_type = 5;
1314pub type method_optimized_type = ::std::os::raw::c_uint;
1315#[repr(C)]
1316#[derive(Debug, Copy, Clone)]
1317pub struct rb_method_optimized {
1318    pub type_: method_optimized_type,
1319    pub index: ::std::os::raw::c_uint,
1320}
1321pub type rb_method_optimized_t = rb_method_optimized;
1322#[repr(C)]
1323#[derive(Copy, Clone)]
1324pub struct rb_method_definition_struct {
1325    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8usize]>,
1326    pub body: rb_method_definition_struct__bindgen_ty_1,
1327    pub original_id: ID,
1328    pub method_serial: usize,
1329}
1330#[repr(C)]
1331#[derive(Copy, Clone)]
1332pub union rb_method_definition_struct__bindgen_ty_1 {
1333    pub iseq: rb_method_iseq_t,
1334    pub cfunc: rb_method_cfunc_t,
1335    pub attr: rb_method_attr_t,
1336    pub alias: rb_method_alias_t,
1337    pub refined: rb_method_refined_t,
1338    pub bmethod: rb_method_bmethod_t,
1339    pub optimized: rb_method_optimized_t,
1340}
1341impl ::std::fmt::Debug for rb_method_definition_struct__bindgen_ty_1 {
1342    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1343        write!(f, "rb_method_definition_struct__bindgen_ty_1 {{ union }}")
1344    }
1345}
1346impl rb_method_definition_struct {
1347    #[inline]
1348    #[allow(unnecessary_transmutes)]
1349    pub fn type_(&self) -> rb_method_type_t {
1350        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<0usize, 4u8>() as u32) }
1351    }
1352    #[inline]
1353    #[allow(unnecessary_transmutes)]
1354    pub fn set_type(&mut self, val: rb_method_type_t) {
1355        unsafe {
1356            let val: u32 = ::std::mem::transmute(val);
1357            self._bitfield_1.set_const::<0usize, 4u8>(val as u64)
1358        }
1359    }
1360    #[inline]
1361    #[allow(unnecessary_transmutes)]
1362    pub unsafe fn type__raw(this: *const Self) -> rb_method_type_t {
1363        unsafe {
1364            ::std::mem::transmute(
1365                <__BindgenBitfieldUnit<[u8; 8usize]>>::raw_get_const::<0usize, 4u8>(
1366                    ::std::ptr::addr_of!((*this)._bitfield_1),
1367                ) as u32,
1368            )
1369        }
1370    }
1371    #[inline]
1372    #[allow(unnecessary_transmutes)]
1373    pub unsafe fn set_type_raw(this: *mut Self, val: rb_method_type_t) {
1374        unsafe {
1375            let val: u32 = ::std::mem::transmute(val);
1376            <__BindgenBitfieldUnit<[u8; 8usize]>>::raw_set_const::<0usize, 4u8>(
1377                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1378                val as u64,
1379            )
1380        }
1381    }
1382    #[inline]
1383    #[allow(unnecessary_transmutes)]
1384    pub fn iseq_overload(&self) -> ::std::os::raw::c_uint {
1385        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<4usize, 1u8>() as u32) }
1386    }
1387    #[inline]
1388    #[allow(unnecessary_transmutes)]
1389    pub fn set_iseq_overload(&mut self, val: ::std::os::raw::c_uint) {
1390        unsafe {
1391            let val: u32 = ::std::mem::transmute(val);
1392            self._bitfield_1.set_const::<4usize, 1u8>(val as u64)
1393        }
1394    }
1395    #[inline]
1396    #[allow(unnecessary_transmutes)]
1397    pub unsafe fn iseq_overload_raw(this: *const Self) -> ::std::os::raw::c_uint {
1398        unsafe {
1399            ::std::mem::transmute(
1400                <__BindgenBitfieldUnit<[u8; 8usize]>>::raw_get_const::<4usize, 1u8>(
1401                    ::std::ptr::addr_of!((*this)._bitfield_1),
1402                ) as u32,
1403            )
1404        }
1405    }
1406    #[inline]
1407    #[allow(unnecessary_transmutes)]
1408    pub unsafe fn set_iseq_overload_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1409        unsafe {
1410            let val: u32 = ::std::mem::transmute(val);
1411            <__BindgenBitfieldUnit<[u8; 8usize]>>::raw_set_const::<4usize, 1u8>(
1412                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1413                val as u64,
1414            )
1415        }
1416    }
1417    #[inline]
1418    #[allow(unnecessary_transmutes)]
1419    pub fn alias_count(&self) -> ::std::os::raw::c_int {
1420        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<5usize, 27u8>() as u32) }
1421    }
1422    #[inline]
1423    #[allow(unnecessary_transmutes)]
1424    pub fn set_alias_count(&mut self, val: ::std::os::raw::c_int) {
1425        unsafe {
1426            let val: u32 = ::std::mem::transmute(val);
1427            self._bitfield_1.set_const::<5usize, 27u8>(val as u64)
1428        }
1429    }
1430    #[inline]
1431    #[allow(unnecessary_transmutes)]
1432    pub unsafe fn alias_count_raw(this: *const Self) -> ::std::os::raw::c_int {
1433        unsafe {
1434            ::std::mem::transmute(
1435                <__BindgenBitfieldUnit<[u8; 8usize]>>::raw_get_const::<5usize, 27u8>(
1436                    ::std::ptr::addr_of!((*this)._bitfield_1),
1437                ) as u32,
1438            )
1439        }
1440    }
1441    #[inline]
1442    #[allow(unnecessary_transmutes)]
1443    pub unsafe fn set_alias_count_raw(this: *mut Self, val: ::std::os::raw::c_int) {
1444        unsafe {
1445            let val: u32 = ::std::mem::transmute(val);
1446            <__BindgenBitfieldUnit<[u8; 8usize]>>::raw_set_const::<5usize, 27u8>(
1447                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1448                val as u64,
1449            )
1450        }
1451    }
1452    #[inline]
1453    #[allow(unnecessary_transmutes)]
1454    pub fn complemented_count(&self) -> ::std::os::raw::c_int {
1455        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<32usize, 28u8>() as u32) }
1456    }
1457    #[inline]
1458    #[allow(unnecessary_transmutes)]
1459    pub fn set_complemented_count(&mut self, val: ::std::os::raw::c_int) {
1460        unsafe {
1461            let val: u32 = ::std::mem::transmute(val);
1462            self._bitfield_1.set_const::<32usize, 28u8>(val as u64)
1463        }
1464    }
1465    #[inline]
1466    #[allow(unnecessary_transmutes)]
1467    pub unsafe fn complemented_count_raw(this: *const Self) -> ::std::os::raw::c_int {
1468        unsafe {
1469            ::std::mem::transmute(<__BindgenBitfieldUnit<[u8; 8usize]>>::raw_get_const::<
1470                32usize,
1471                28u8,
1472            >(::std::ptr::addr_of!((*this)._bitfield_1))
1473                as u32)
1474        }
1475    }
1476    #[inline]
1477    #[allow(unnecessary_transmutes)]
1478    pub unsafe fn set_complemented_count_raw(this: *mut Self, val: ::std::os::raw::c_int) {
1479        unsafe {
1480            let val: u32 = ::std::mem::transmute(val);
1481            <__BindgenBitfieldUnit<[u8; 8usize]>>::raw_set_const::<32usize, 28u8>(
1482                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1483                val as u64,
1484            )
1485        }
1486    }
1487    #[inline]
1488    #[allow(unnecessary_transmutes)]
1489    pub fn new_bitfield_1(
1490        type_: rb_method_type_t,
1491        iseq_overload: ::std::os::raw::c_uint,
1492        alias_count: ::std::os::raw::c_int,
1493        complemented_count: ::std::os::raw::c_int,
1494    ) -> __BindgenBitfieldUnit<[u8; 8usize]> {
1495        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 8usize]> = Default::default();
1496        __bindgen_bitfield_unit.set_const::<0usize, 4u8>({
1497            let type_: u32 = unsafe { ::std::mem::transmute(type_) };
1498            type_ as u64
1499        });
1500        __bindgen_bitfield_unit.set_const::<4usize, 1u8>({
1501            let iseq_overload: u32 = unsafe { ::std::mem::transmute(iseq_overload) };
1502            iseq_overload as u64
1503        });
1504        __bindgen_bitfield_unit.set_const::<5usize, 27u8>({
1505            let alias_count: u32 = unsafe { ::std::mem::transmute(alias_count) };
1506            alias_count as u64
1507        });
1508        __bindgen_bitfield_unit.set_const::<32usize, 28u8>({
1509            let complemented_count: u32 = unsafe { ::std::mem::transmute(complemented_count) };
1510            complemented_count as u64
1511        });
1512        __bindgen_bitfield_unit
1513    }
1514}
1515#[repr(C)]
1516#[derive(Debug)]
1517pub struct rb_id_table {
1518    _unused: [u8; 0],
1519}
1520#[repr(C)]
1521#[derive(Debug, Copy, Clone)]
1522pub struct rb_code_position_struct {
1523    pub lineno: ::std::os::raw::c_int,
1524    pub column: ::std::os::raw::c_int,
1525}
1526pub type rb_code_position_t = rb_code_position_struct;
1527#[repr(C)]
1528#[derive(Debug, Copy, Clone)]
1529pub struct rb_code_location_struct {
1530    pub beg_pos: rb_code_position_t,
1531    pub end_pos: rb_code_position_t,
1532}
1533pub type rb_code_location_t = rb_code_location_struct;
1534#[repr(C)]
1535#[derive(Debug)]
1536pub struct rb_ast_id_table {
1537    pub size: ::std::os::raw::c_int,
1538    pub ids: __IncompleteArrayField<ID>,
1539}
1540pub type rb_ast_id_table_t = rb_ast_id_table;
1541#[repr(C)]
1542#[derive(Copy, Clone)]
1543pub struct RNode {
1544    pub flags: VALUE,
1545    pub u1: RNode__bindgen_ty_1,
1546    pub u2: RNode__bindgen_ty_2,
1547    pub u3: RNode__bindgen_ty_3,
1548    pub nd_loc: rb_code_location_t,
1549    pub node_id: ::std::os::raw::c_int,
1550}
1551#[repr(C)]
1552#[derive(Copy, Clone)]
1553pub union RNode__bindgen_ty_1 {
1554    pub node: *mut RNode,
1555    pub id: ID,
1556    pub value: VALUE,
1557    pub tbl: *mut rb_ast_id_table_t,
1558}
1559impl ::std::fmt::Debug for RNode__bindgen_ty_1 {
1560    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1561        write!(f, "RNode__bindgen_ty_1 {{ union }}")
1562    }
1563}
1564#[repr(C)]
1565#[derive(Copy, Clone)]
1566pub union RNode__bindgen_ty_2 {
1567    pub node: *mut RNode,
1568    pub id: ID,
1569    pub argc: ::std::os::raw::c_long,
1570    pub value: VALUE,
1571}
1572impl ::std::fmt::Debug for RNode__bindgen_ty_2 {
1573    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1574        write!(f, "RNode__bindgen_ty_2 {{ union }}")
1575    }
1576}
1577#[repr(C)]
1578#[derive(Copy, Clone)]
1579pub union RNode__bindgen_ty_3 {
1580    pub node: *mut RNode,
1581    pub id: ID,
1582    pub state: ::std::os::raw::c_long,
1583    pub args: *mut rb_args_info,
1584    pub apinfo: *mut rb_ary_pattern_info,
1585    pub fpinfo: *mut rb_fnd_pattern_info,
1586    pub value: VALUE,
1587}
1588impl ::std::fmt::Debug for RNode__bindgen_ty_3 {
1589    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1590        write!(f, "RNode__bindgen_ty_3 {{ union }}")
1591    }
1592}
1593impl ::std::fmt::Debug for RNode {
1594    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1595        write!(
1596            f,
1597            "RNode {{ flags: {:?}, u1: {:?}, u2: {:?}, u3: {:?}, nd_loc: {:?}, node_id: {:?} }}",
1598            self.flags, self.u1, self.u2, self.u3, self.nd_loc, self.node_id
1599        )
1600    }
1601}
1602pub type NODE = RNode;
1603#[repr(C)]
1604#[derive(Debug, Copy, Clone)]
1605pub struct rb_args_info {
1606    pub pre_init: *mut NODE,
1607    pub post_init: *mut NODE,
1608    pub pre_args_num: ::std::os::raw::c_int,
1609    pub post_args_num: ::std::os::raw::c_int,
1610    pub first_post_arg: ID,
1611    pub rest_arg: ID,
1612    pub block_arg: ID,
1613    pub kw_args: *mut NODE,
1614    pub kw_rest_arg: *mut NODE,
1615    pub opt_args: *mut NODE,
1616    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
1617    pub imemo: VALUE,
1618}
1619impl rb_args_info {
1620    #[inline]
1621    #[allow(unnecessary_transmutes)]
1622    pub fn no_kwarg(&self) -> ::std::os::raw::c_uint {
1623        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<0usize, 1u8>() as u32) }
1624    }
1625    #[inline]
1626    #[allow(unnecessary_transmutes)]
1627    pub fn set_no_kwarg(&mut self, val: ::std::os::raw::c_uint) {
1628        unsafe {
1629            let val: u32 = ::std::mem::transmute(val);
1630            self._bitfield_1.set_const::<0usize, 1u8>(val as u64)
1631        }
1632    }
1633    #[inline]
1634    #[allow(unnecessary_transmutes)]
1635    pub unsafe fn no_kwarg_raw(this: *const Self) -> ::std::os::raw::c_uint {
1636        unsafe {
1637            ::std::mem::transmute(
1638                <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<0usize, 1u8>(
1639                    ::std::ptr::addr_of!((*this)._bitfield_1),
1640                ) as u32,
1641            )
1642        }
1643    }
1644    #[inline]
1645    #[allow(unnecessary_transmutes)]
1646    pub unsafe fn set_no_kwarg_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1647        unsafe {
1648            let val: u32 = ::std::mem::transmute(val);
1649            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<0usize, 1u8>(
1650                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1651                val as u64,
1652            )
1653        }
1654    }
1655    #[inline]
1656    #[allow(unnecessary_transmutes)]
1657    pub fn ruby2_keywords(&self) -> ::std::os::raw::c_uint {
1658        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<1usize, 1u8>() as u32) }
1659    }
1660    #[inline]
1661    #[allow(unnecessary_transmutes)]
1662    pub fn set_ruby2_keywords(&mut self, val: ::std::os::raw::c_uint) {
1663        unsafe {
1664            let val: u32 = ::std::mem::transmute(val);
1665            self._bitfield_1.set_const::<1usize, 1u8>(val as u64)
1666        }
1667    }
1668    #[inline]
1669    #[allow(unnecessary_transmutes)]
1670    pub unsafe fn ruby2_keywords_raw(this: *const Self) -> ::std::os::raw::c_uint {
1671        unsafe {
1672            ::std::mem::transmute(
1673                <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<1usize, 1u8>(
1674                    ::std::ptr::addr_of!((*this)._bitfield_1),
1675                ) as u32,
1676            )
1677        }
1678    }
1679    #[inline]
1680    #[allow(unnecessary_transmutes)]
1681    pub unsafe fn set_ruby2_keywords_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1682        unsafe {
1683            let val: u32 = ::std::mem::transmute(val);
1684            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<1usize, 1u8>(
1685                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1686                val as u64,
1687            )
1688        }
1689    }
1690    #[inline]
1691    #[allow(unnecessary_transmutes)]
1692    pub fn new_bitfield_1(
1693        no_kwarg: ::std::os::raw::c_uint,
1694        ruby2_keywords: ::std::os::raw::c_uint,
1695    ) -> __BindgenBitfieldUnit<[u8; 1usize]> {
1696        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
1697        __bindgen_bitfield_unit.set_const::<0usize, 1u8>({
1698            let no_kwarg: u32 = unsafe { ::std::mem::transmute(no_kwarg) };
1699            no_kwarg as u64
1700        });
1701        __bindgen_bitfield_unit.set_const::<1usize, 1u8>({
1702            let ruby2_keywords: u32 = unsafe { ::std::mem::transmute(ruby2_keywords) };
1703            ruby2_keywords as u64
1704        });
1705        __bindgen_bitfield_unit
1706    }
1707}
1708#[repr(C)]
1709#[derive(Debug, Copy, Clone)]
1710pub struct rb_ary_pattern_info {
1711    pub pre_args: *mut NODE,
1712    pub rest_arg: *mut NODE,
1713    pub post_args: *mut NODE,
1714}
1715#[repr(C)]
1716#[derive(Debug, Copy, Clone)]
1717pub struct rb_fnd_pattern_info {
1718    pub pre_rest_arg: *mut NODE,
1719    pub args: *mut NODE,
1720    pub post_rest_arg: *mut NODE,
1721}
1722pub type rb_atomic_t = ::std::os::raw::c_uint;
1723#[repr(C)]
1724#[derive(Debug, Copy, Clone)]
1725pub struct rb_darray_meta {
1726    pub size: i32,
1727    pub capa: i32,
1728}
1729pub type rb_darray_meta_t = rb_darray_meta;
1730pub type rb_nativethread_id_t = pthread_t;
1731pub type rb_nativethread_lock_t = pthread_mutex_t;
1732pub type rb_nativethread_cond_t = pthread_cond_t;
1733#[repr(C)]
1734#[derive(Copy, Clone)]
1735pub struct native_thread_data_struct {
1736    pub node: native_thread_data_struct__bindgen_ty_1,
1737    pub cond: native_thread_data_struct__bindgen_ty_2,
1738}
1739#[repr(C)]
1740#[derive(Copy, Clone)]
1741pub union native_thread_data_struct__bindgen_ty_1 {
1742    pub ubf: list_node,
1743    pub gvl: list_node,
1744}
1745impl ::std::fmt::Debug for native_thread_data_struct__bindgen_ty_1 {
1746    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1747        write!(f, "native_thread_data_struct__bindgen_ty_1 {{ union }}")
1748    }
1749}
1750#[repr(C)]
1751#[derive(Copy, Clone)]
1752pub union native_thread_data_struct__bindgen_ty_2 {
1753    pub intr: rb_nativethread_cond_t,
1754    pub gvlq: rb_nativethread_cond_t,
1755}
1756impl ::std::fmt::Debug for native_thread_data_struct__bindgen_ty_2 {
1757    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1758        write!(f, "native_thread_data_struct__bindgen_ty_2 {{ union }}")
1759    }
1760}
1761impl ::std::fmt::Debug for native_thread_data_struct {
1762    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1763        write!(
1764            f,
1765            "native_thread_data_struct {{ node: {:?}, cond: {:?} }}",
1766            self.node, self.cond
1767        )
1768    }
1769}
1770pub type native_thread_data_t = native_thread_data_struct;
1771#[repr(C)]
1772#[derive(Copy, Clone)]
1773pub struct rb_global_vm_lock_struct {
1774    pub owner: *const rb_thread_struct,
1775    pub lock: rb_nativethread_lock_t,
1776    pub waitq: list_head,
1777    pub timer: *const rb_thread_struct,
1778    pub timer_err: ::std::os::raw::c_int,
1779    pub switch_cond: rb_nativethread_cond_t,
1780    pub switch_wait_cond: rb_nativethread_cond_t,
1781    pub need_yield: ::std::os::raw::c_int,
1782    pub wait_yield: ::std::os::raw::c_int,
1783}
1784impl ::std::fmt::Debug for rb_global_vm_lock_struct {
1785    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1786        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)
1787    }
1788}
1789pub type rb_global_vm_lock_t = rb_global_vm_lock_struct;
1790pub type rb_snum_t = ::std::os::raw::c_long;
1791pub const ruby_tag_type_RUBY_TAG_NONE: ruby_tag_type = 0;
1792pub const ruby_tag_type_RUBY_TAG_RETURN: ruby_tag_type = 1;
1793pub const ruby_tag_type_RUBY_TAG_BREAK: ruby_tag_type = 2;
1794pub const ruby_tag_type_RUBY_TAG_NEXT: ruby_tag_type = 3;
1795pub const ruby_tag_type_RUBY_TAG_RETRY: ruby_tag_type = 4;
1796pub const ruby_tag_type_RUBY_TAG_REDO: ruby_tag_type = 5;
1797pub const ruby_tag_type_RUBY_TAG_RAISE: ruby_tag_type = 6;
1798pub const ruby_tag_type_RUBY_TAG_THROW: ruby_tag_type = 7;
1799pub const ruby_tag_type_RUBY_TAG_FATAL: ruby_tag_type = 8;
1800pub const ruby_tag_type_RUBY_TAG_MASK: ruby_tag_type = 15;
1801pub type ruby_tag_type = ::std::os::raw::c_uint;
1802pub type rb_compile_option_t = rb_compile_option_struct;
1803#[repr(C)]
1804#[derive(Copy, Clone)]
1805pub union ic_serial_entry {
1806    pub raw: rb_serial_t,
1807    pub data: [VALUE; 2usize],
1808}
1809impl ::std::fmt::Debug for ic_serial_entry {
1810    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1811        write!(f, "ic_serial_entry {{ union }}")
1812    }
1813}
1814#[repr(C)]
1815#[derive(Copy, Clone)]
1816pub struct iseq_inline_constant_cache_entry {
1817    pub flags: VALUE,
1818    pub value: VALUE,
1819    pub ic_serial: ic_serial_entry,
1820    pub ic_cref: *const rb_cref_t,
1821}
1822impl ::std::fmt::Debug for iseq_inline_constant_cache_entry {
1823    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1824        write ! (f , "iseq_inline_constant_cache_entry {{ flags: {:?}, value: {:?}, ic_serial: {:?}, ic_cref: {:?} }}" , self . flags , self . value , self . ic_serial , self . ic_cref)
1825    }
1826}
1827#[repr(C)]
1828#[derive(Debug, Copy, Clone)]
1829pub struct iseq_inline_constant_cache {
1830    pub entry: *mut iseq_inline_constant_cache_entry,
1831    pub get_insn_idx: ::std::os::raw::c_uint,
1832}
1833#[repr(C)]
1834#[derive(Debug, Copy, Clone)]
1835pub struct iseq_inline_iv_cache_entry {
1836    pub entry: *mut rb_iv_index_tbl_entry,
1837}
1838#[repr(C)]
1839#[derive(Copy, Clone)]
1840pub union iseq_inline_storage_entry {
1841    pub once: iseq_inline_storage_entry__bindgen_ty_1,
1842    pub ic_cache: iseq_inline_constant_cache,
1843    pub iv_cache: iseq_inline_iv_cache_entry,
1844}
1845#[repr(C)]
1846#[derive(Debug, Copy, Clone)]
1847pub struct iseq_inline_storage_entry__bindgen_ty_1 {
1848    pub running_thread: *mut rb_thread_struct,
1849    pub value: VALUE,
1850}
1851impl ::std::fmt::Debug for iseq_inline_storage_entry {
1852    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1853        write!(f, "iseq_inline_storage_entry {{ union }}")
1854    }
1855}
1856#[repr(C)]
1857#[derive(Debug, Copy, Clone)]
1858pub struct rb_calling_info {
1859    pub ci: *const rb_callinfo,
1860    pub cc: *const rb_callcache,
1861    pub block_handler: VALUE,
1862    pub recv: VALUE,
1863    pub argc: ::std::os::raw::c_int,
1864    pub kw_splat: ::std::os::raw::c_int,
1865}
1866#[repr(C)]
1867#[derive(Debug, Copy, Clone)]
1868pub struct rb_iseq_location_struct {
1869    pub pathobj: VALUE,
1870    pub base_label: VALUE,
1871    pub label: VALUE,
1872    pub first_lineno: VALUE,
1873    pub node_id: ::std::os::raw::c_int,
1874    pub code_location: rb_code_location_t,
1875}
1876pub type rb_iseq_location_t = rb_iseq_location_struct;
1877#[repr(C)]
1878#[derive(Debug)]
1879pub struct rb_mjit_unit {
1880    _unused: [u8; 0],
1881}
1882#[repr(C)]
1883#[derive(Debug)]
1884pub struct _bindgen_ty_8 {
1885    pub meta: rb_darray_meta_t,
1886    pub data: __IncompleteArrayField<*mut yjit_block_version>,
1887}
1888pub type rb_yjit_block_array_t = *mut _bindgen_ty_8;
1889#[repr(C)]
1890#[derive(Debug)]
1891pub struct _bindgen_ty_9 {
1892    pub meta: rb_darray_meta_t,
1893    pub data: __IncompleteArrayField<rb_yjit_block_array_t>,
1894}
1895pub type rb_yjit_block_array_array_t = *mut _bindgen_ty_9;
1896#[repr(C)]
1897#[derive(Debug, Copy, Clone)]
1898pub struct rb_iseq_constant_body {
1899    pub type_: rb_iseq_constant_body_iseq_type,
1900    pub iseq_size: ::std::os::raw::c_uint,
1901    pub iseq_encoded: *mut VALUE,
1902    pub param: rb_iseq_constant_body__bindgen_ty_1,
1903    pub location: rb_iseq_location_t,
1904    pub insns_info: rb_iseq_constant_body_iseq_insn_info,
1905    pub local_table: *const ID,
1906    pub catch_table: *mut iseq_catch_table,
1907    pub parent_iseq: *const rb_iseq_struct,
1908    pub local_iseq: *mut rb_iseq_struct,
1909    pub is_entries: *mut iseq_inline_storage_entry,
1910    pub call_data: *mut rb_call_data,
1911    pub variable: rb_iseq_constant_body__bindgen_ty_2,
1912    pub local_table_size: ::std::os::raw::c_uint,
1913    pub is_size: ::std::os::raw::c_uint,
1914    pub ci_size: ::std::os::raw::c_uint,
1915    pub stack_max: ::std::os::raw::c_uint,
1916    pub catch_except_p: ::std::os::raw::c_char,
1917    pub builtin_inline_p: bool,
1918    pub outer_variables: *mut rb_id_table,
1919    pub mandatory_only_iseq: *const rb_iseq_t,
1920    pub jit_func: ::std::option::Option<
1921        unsafe extern "C" fn(
1922            arg1: *mut rb_execution_context_struct,
1923            arg2: *mut rb_control_frame_struct,
1924        ) -> VALUE,
1925    >,
1926    pub total_calls: ::std::os::raw::c_ulong,
1927    pub jit_unit: *mut rb_mjit_unit,
1928    pub yjit_blocks: rb_yjit_block_array_array_t,
1929}
1930pub const rb_iseq_constant_body_iseq_type_ISEQ_TYPE_TOP: rb_iseq_constant_body_iseq_type = 0;
1931pub const rb_iseq_constant_body_iseq_type_ISEQ_TYPE_METHOD: rb_iseq_constant_body_iseq_type = 1;
1932pub const rb_iseq_constant_body_iseq_type_ISEQ_TYPE_BLOCK: rb_iseq_constant_body_iseq_type = 2;
1933pub const rb_iseq_constant_body_iseq_type_ISEQ_TYPE_CLASS: rb_iseq_constant_body_iseq_type = 3;
1934pub const rb_iseq_constant_body_iseq_type_ISEQ_TYPE_RESCUE: rb_iseq_constant_body_iseq_type = 4;
1935pub const rb_iseq_constant_body_iseq_type_ISEQ_TYPE_ENSURE: rb_iseq_constant_body_iseq_type = 5;
1936pub const rb_iseq_constant_body_iseq_type_ISEQ_TYPE_EVAL: rb_iseq_constant_body_iseq_type = 6;
1937pub const rb_iseq_constant_body_iseq_type_ISEQ_TYPE_MAIN: rb_iseq_constant_body_iseq_type = 7;
1938pub const rb_iseq_constant_body_iseq_type_ISEQ_TYPE_PLAIN: rb_iseq_constant_body_iseq_type = 8;
1939pub type rb_iseq_constant_body_iseq_type = ::std::os::raw::c_uint;
1940#[repr(C)]
1941#[derive(Debug, Copy, Clone)]
1942pub struct rb_iseq_constant_body__bindgen_ty_1 {
1943    pub flags: rb_iseq_constant_body__bindgen_ty_1__bindgen_ty_1,
1944    pub size: ::std::os::raw::c_uint,
1945    pub lead_num: ::std::os::raw::c_int,
1946    pub opt_num: ::std::os::raw::c_int,
1947    pub rest_start: ::std::os::raw::c_int,
1948    pub post_start: ::std::os::raw::c_int,
1949    pub post_num: ::std::os::raw::c_int,
1950    pub block_start: ::std::os::raw::c_int,
1951    pub opt_table: *const VALUE,
1952    pub keyword: *const rb_iseq_constant_body__bindgen_ty_1_rb_iseq_param_keyword,
1953}
1954#[repr(C)]
1955#[derive(Debug, Copy, Clone)]
1956pub struct rb_iseq_constant_body__bindgen_ty_1__bindgen_ty_1 {
1957    pub _bindgen_align: [u32; 0],
1958    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2usize]>,
1959    pub __bindgen_padding_0: u16,
1960}
1961impl rb_iseq_constant_body__bindgen_ty_1__bindgen_ty_1 {
1962    #[inline]
1963    #[allow(unnecessary_transmutes)]
1964    pub fn has_lead(&self) -> ::std::os::raw::c_uint {
1965        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<0usize, 1u8>() as u32) }
1966    }
1967    #[inline]
1968    #[allow(unnecessary_transmutes)]
1969    pub fn set_has_lead(&mut self, val: ::std::os::raw::c_uint) {
1970        unsafe {
1971            let val: u32 = ::std::mem::transmute(val);
1972            self._bitfield_1.set_const::<0usize, 1u8>(val as u64)
1973        }
1974    }
1975    #[inline]
1976    #[allow(unnecessary_transmutes)]
1977    pub unsafe fn has_lead_raw(this: *const Self) -> ::std::os::raw::c_uint {
1978        unsafe {
1979            ::std::mem::transmute(
1980                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<0usize, 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_has_lead_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::<0usize, 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 has_opt(&self) -> ::std::os::raw::c_uint {
2000        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<1usize, 1u8>() as u32) }
2001    }
2002    #[inline]
2003    #[allow(unnecessary_transmutes)]
2004    pub fn set_has_opt(&mut self, val: ::std::os::raw::c_uint) {
2005        unsafe {
2006            let val: u32 = ::std::mem::transmute(val);
2007            self._bitfield_1.set_const::<1usize, 1u8>(val as u64)
2008        }
2009    }
2010    #[inline]
2011    #[allow(unnecessary_transmutes)]
2012    pub unsafe fn has_opt_raw(this: *const Self) -> ::std::os::raw::c_uint {
2013        unsafe {
2014            ::std::mem::transmute(
2015                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<1usize, 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_has_opt_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::<1usize, 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 has_rest(&self) -> ::std::os::raw::c_uint {
2035        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<2usize, 1u8>() as u32) }
2036    }
2037    #[inline]
2038    #[allow(unnecessary_transmutes)]
2039    pub fn set_has_rest(&mut self, val: ::std::os::raw::c_uint) {
2040        unsafe {
2041            let val: u32 = ::std::mem::transmute(val);
2042            self._bitfield_1.set_const::<2usize, 1u8>(val as u64)
2043        }
2044    }
2045    #[inline]
2046    #[allow(unnecessary_transmutes)]
2047    pub unsafe fn has_rest_raw(this: *const Self) -> ::std::os::raw::c_uint {
2048        unsafe {
2049            ::std::mem::transmute(
2050                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<2usize, 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_has_rest_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::<2usize, 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 has_post(&self) -> ::std::os::raw::c_uint {
2070        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<3usize, 1u8>() as u32) }
2071    }
2072    #[inline]
2073    #[allow(unnecessary_transmutes)]
2074    pub fn set_has_post(&mut self, val: ::std::os::raw::c_uint) {
2075        unsafe {
2076            let val: u32 = ::std::mem::transmute(val);
2077            self._bitfield_1.set_const::<3usize, 1u8>(val as u64)
2078        }
2079    }
2080    #[inline]
2081    #[allow(unnecessary_transmutes)]
2082    pub unsafe fn has_post_raw(this: *const Self) -> ::std::os::raw::c_uint {
2083        unsafe {
2084            ::std::mem::transmute(
2085                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<3usize, 1u8>(
2086                    ::std::ptr::addr_of!((*this)._bitfield_1),
2087                ) as u32,
2088            )
2089        }
2090    }
2091    #[inline]
2092    #[allow(unnecessary_transmutes)]
2093    pub unsafe fn set_has_post_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2094        unsafe {
2095            let val: u32 = ::std::mem::transmute(val);
2096            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<3usize, 1u8>(
2097                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2098                val as u64,
2099            )
2100        }
2101    }
2102    #[inline]
2103    #[allow(unnecessary_transmutes)]
2104    pub fn has_kw(&self) -> ::std::os::raw::c_uint {
2105        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<4usize, 1u8>() as u32) }
2106    }
2107    #[inline]
2108    #[allow(unnecessary_transmutes)]
2109    pub fn set_has_kw(&mut self, val: ::std::os::raw::c_uint) {
2110        unsafe {
2111            let val: u32 = ::std::mem::transmute(val);
2112            self._bitfield_1.set_const::<4usize, 1u8>(val as u64)
2113        }
2114    }
2115    #[inline]
2116    #[allow(unnecessary_transmutes)]
2117    pub unsafe fn has_kw_raw(this: *const Self) -> ::std::os::raw::c_uint {
2118        unsafe {
2119            ::std::mem::transmute(
2120                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<4usize, 1u8>(
2121                    ::std::ptr::addr_of!((*this)._bitfield_1),
2122                ) as u32,
2123            )
2124        }
2125    }
2126    #[inline]
2127    #[allow(unnecessary_transmutes)]
2128    pub unsafe fn set_has_kw_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2129        unsafe {
2130            let val: u32 = ::std::mem::transmute(val);
2131            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<4usize, 1u8>(
2132                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2133                val as u64,
2134            )
2135        }
2136    }
2137    #[inline]
2138    #[allow(unnecessary_transmutes)]
2139    pub fn has_kwrest(&self) -> ::std::os::raw::c_uint {
2140        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<5usize, 1u8>() as u32) }
2141    }
2142    #[inline]
2143    #[allow(unnecessary_transmutes)]
2144    pub fn set_has_kwrest(&mut self, val: ::std::os::raw::c_uint) {
2145        unsafe {
2146            let val: u32 = ::std::mem::transmute(val);
2147            self._bitfield_1.set_const::<5usize, 1u8>(val as u64)
2148        }
2149    }
2150    #[inline]
2151    #[allow(unnecessary_transmutes)]
2152    pub unsafe fn has_kwrest_raw(this: *const Self) -> ::std::os::raw::c_uint {
2153        unsafe {
2154            ::std::mem::transmute(
2155                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<5usize, 1u8>(
2156                    ::std::ptr::addr_of!((*this)._bitfield_1),
2157                ) as u32,
2158            )
2159        }
2160    }
2161    #[inline]
2162    #[allow(unnecessary_transmutes)]
2163    pub unsafe fn set_has_kwrest_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2164        unsafe {
2165            let val: u32 = ::std::mem::transmute(val);
2166            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<5usize, 1u8>(
2167                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2168                val as u64,
2169            )
2170        }
2171    }
2172    #[inline]
2173    #[allow(unnecessary_transmutes)]
2174    pub fn has_block(&self) -> ::std::os::raw::c_uint {
2175        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<6usize, 1u8>() as u32) }
2176    }
2177    #[inline]
2178    #[allow(unnecessary_transmutes)]
2179    pub fn set_has_block(&mut self, val: ::std::os::raw::c_uint) {
2180        unsafe {
2181            let val: u32 = ::std::mem::transmute(val);
2182            self._bitfield_1.set_const::<6usize, 1u8>(val as u64)
2183        }
2184    }
2185    #[inline]
2186    #[allow(unnecessary_transmutes)]
2187    pub unsafe fn has_block_raw(this: *const Self) -> ::std::os::raw::c_uint {
2188        unsafe {
2189            ::std::mem::transmute(
2190                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<6usize, 1u8>(
2191                    ::std::ptr::addr_of!((*this)._bitfield_1),
2192                ) as u32,
2193            )
2194        }
2195    }
2196    #[inline]
2197    #[allow(unnecessary_transmutes)]
2198    pub unsafe fn set_has_block_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2199        unsafe {
2200            let val: u32 = ::std::mem::transmute(val);
2201            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<6usize, 1u8>(
2202                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2203                val as u64,
2204            )
2205        }
2206    }
2207    #[inline]
2208    #[allow(unnecessary_transmutes)]
2209    pub fn ambiguous_param0(&self) -> ::std::os::raw::c_uint {
2210        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<7usize, 1u8>() as u32) }
2211    }
2212    #[inline]
2213    #[allow(unnecessary_transmutes)]
2214    pub fn set_ambiguous_param0(&mut self, val: ::std::os::raw::c_uint) {
2215        unsafe {
2216            let val: u32 = ::std::mem::transmute(val);
2217            self._bitfield_1.set_const::<7usize, 1u8>(val as u64)
2218        }
2219    }
2220    #[inline]
2221    #[allow(unnecessary_transmutes)]
2222    pub unsafe fn ambiguous_param0_raw(this: *const Self) -> ::std::os::raw::c_uint {
2223        unsafe {
2224            ::std::mem::transmute(
2225                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<7usize, 1u8>(
2226                    ::std::ptr::addr_of!((*this)._bitfield_1),
2227                ) as u32,
2228            )
2229        }
2230    }
2231    #[inline]
2232    #[allow(unnecessary_transmutes)]
2233    pub unsafe fn set_ambiguous_param0_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2234        unsafe {
2235            let val: u32 = ::std::mem::transmute(val);
2236            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<7usize, 1u8>(
2237                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2238                val as u64,
2239            )
2240        }
2241    }
2242    #[inline]
2243    #[allow(unnecessary_transmutes)]
2244    pub fn accepts_no_kwarg(&self) -> ::std::os::raw::c_uint {
2245        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<8usize, 1u8>() as u32) }
2246    }
2247    #[inline]
2248    #[allow(unnecessary_transmutes)]
2249    pub fn set_accepts_no_kwarg(&mut self, val: ::std::os::raw::c_uint) {
2250        unsafe {
2251            let val: u32 = ::std::mem::transmute(val);
2252            self._bitfield_1.set_const::<8usize, 1u8>(val as u64)
2253        }
2254    }
2255    #[inline]
2256    #[allow(unnecessary_transmutes)]
2257    pub unsafe fn accepts_no_kwarg_raw(this: *const Self) -> ::std::os::raw::c_uint {
2258        unsafe {
2259            ::std::mem::transmute(
2260                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<8usize, 1u8>(
2261                    ::std::ptr::addr_of!((*this)._bitfield_1),
2262                ) as u32,
2263            )
2264        }
2265    }
2266    #[inline]
2267    #[allow(unnecessary_transmutes)]
2268    pub unsafe fn set_accepts_no_kwarg_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2269        unsafe {
2270            let val: u32 = ::std::mem::transmute(val);
2271            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<8usize, 1u8>(
2272                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2273                val as u64,
2274            )
2275        }
2276    }
2277    #[inline]
2278    #[allow(unnecessary_transmutes)]
2279    pub fn ruby2_keywords(&self) -> ::std::os::raw::c_uint {
2280        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<9usize, 1u8>() as u32) }
2281    }
2282    #[inline]
2283    #[allow(unnecessary_transmutes)]
2284    pub fn set_ruby2_keywords(&mut self, val: ::std::os::raw::c_uint) {
2285        unsafe {
2286            let val: u32 = ::std::mem::transmute(val);
2287            self._bitfield_1.set_const::<9usize, 1u8>(val as u64)
2288        }
2289    }
2290    #[inline]
2291    #[allow(unnecessary_transmutes)]
2292    pub unsafe fn ruby2_keywords_raw(this: *const Self) -> ::std::os::raw::c_uint {
2293        unsafe {
2294            ::std::mem::transmute(
2295                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<9usize, 1u8>(
2296                    ::std::ptr::addr_of!((*this)._bitfield_1),
2297                ) as u32,
2298            )
2299        }
2300    }
2301    #[inline]
2302    #[allow(unnecessary_transmutes)]
2303    pub unsafe fn set_ruby2_keywords_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2304        unsafe {
2305            let val: u32 = ::std::mem::transmute(val);
2306            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<9usize, 1u8>(
2307                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2308                val as u64,
2309            )
2310        }
2311    }
2312    #[inline]
2313    #[allow(unnecessary_transmutes)]
2314    pub fn new_bitfield_1(
2315        has_lead: ::std::os::raw::c_uint,
2316        has_opt: ::std::os::raw::c_uint,
2317        has_rest: ::std::os::raw::c_uint,
2318        has_post: ::std::os::raw::c_uint,
2319        has_kw: ::std::os::raw::c_uint,
2320        has_kwrest: ::std::os::raw::c_uint,
2321        has_block: ::std::os::raw::c_uint,
2322        ambiguous_param0: ::std::os::raw::c_uint,
2323        accepts_no_kwarg: ::std::os::raw::c_uint,
2324        ruby2_keywords: ::std::os::raw::c_uint,
2325    ) -> __BindgenBitfieldUnit<[u8; 2usize]> {
2326        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 2usize]> = Default::default();
2327        __bindgen_bitfield_unit.set_const::<0usize, 1u8>({
2328            let has_lead: u32 = unsafe { ::std::mem::transmute(has_lead) };
2329            has_lead as u64
2330        });
2331        __bindgen_bitfield_unit.set_const::<1usize, 1u8>({
2332            let has_opt: u32 = unsafe { ::std::mem::transmute(has_opt) };
2333            has_opt as u64
2334        });
2335        __bindgen_bitfield_unit.set_const::<2usize, 1u8>({
2336            let has_rest: u32 = unsafe { ::std::mem::transmute(has_rest) };
2337            has_rest as u64
2338        });
2339        __bindgen_bitfield_unit.set_const::<3usize, 1u8>({
2340            let has_post: u32 = unsafe { ::std::mem::transmute(has_post) };
2341            has_post as u64
2342        });
2343        __bindgen_bitfield_unit.set_const::<4usize, 1u8>({
2344            let has_kw: u32 = unsafe { ::std::mem::transmute(has_kw) };
2345            has_kw as u64
2346        });
2347        __bindgen_bitfield_unit.set_const::<5usize, 1u8>({
2348            let has_kwrest: u32 = unsafe { ::std::mem::transmute(has_kwrest) };
2349            has_kwrest as u64
2350        });
2351        __bindgen_bitfield_unit.set_const::<6usize, 1u8>({
2352            let has_block: u32 = unsafe { ::std::mem::transmute(has_block) };
2353            has_block as u64
2354        });
2355        __bindgen_bitfield_unit.set_const::<7usize, 1u8>({
2356            let ambiguous_param0: u32 = unsafe { ::std::mem::transmute(ambiguous_param0) };
2357            ambiguous_param0 as u64
2358        });
2359        __bindgen_bitfield_unit.set_const::<8usize, 1u8>({
2360            let accepts_no_kwarg: u32 = unsafe { ::std::mem::transmute(accepts_no_kwarg) };
2361            accepts_no_kwarg as u64
2362        });
2363        __bindgen_bitfield_unit.set_const::<9usize, 1u8>({
2364            let ruby2_keywords: u32 = unsafe { ::std::mem::transmute(ruby2_keywords) };
2365            ruby2_keywords as u64
2366        });
2367        __bindgen_bitfield_unit
2368    }
2369}
2370#[repr(C)]
2371#[derive(Debug, Copy, Clone)]
2372pub struct rb_iseq_constant_body__bindgen_ty_1_rb_iseq_param_keyword {
2373    pub num: ::std::os::raw::c_int,
2374    pub required_num: ::std::os::raw::c_int,
2375    pub bits_start: ::std::os::raw::c_int,
2376    pub rest_start: ::std::os::raw::c_int,
2377    pub table: *const ID,
2378    pub default_values: *mut VALUE,
2379}
2380#[repr(C)]
2381#[derive(Debug, Copy, Clone)]
2382pub struct rb_iseq_constant_body_iseq_insn_info {
2383    pub body: *const iseq_insn_info_entry,
2384    pub positions: *mut ::std::os::raw::c_uint,
2385    pub size: ::std::os::raw::c_uint,
2386    pub succ_index_table: *mut succ_index_table,
2387}
2388#[repr(C)]
2389#[derive(Debug, Copy, Clone)]
2390pub struct rb_iseq_constant_body__bindgen_ty_2 {
2391    pub flip_count: rb_snum_t,
2392    pub script_lines: VALUE,
2393    pub coverage: VALUE,
2394    pub pc2branchindex: VALUE,
2395    pub original_iseq: *mut VALUE,
2396}
2397#[repr(C)]
2398#[derive(Copy, Clone)]
2399pub struct rb_iseq_struct {
2400    pub flags: VALUE,
2401    pub wrapper: VALUE,
2402    pub body: *mut rb_iseq_constant_body,
2403    pub aux: rb_iseq_struct__bindgen_ty_1,
2404}
2405#[repr(C)]
2406#[derive(Copy, Clone)]
2407pub union rb_iseq_struct__bindgen_ty_1 {
2408    pub compile_data: *mut iseq_compile_data,
2409    pub loader: rb_iseq_struct__bindgen_ty_1__bindgen_ty_1,
2410    pub exec: rb_iseq_struct__bindgen_ty_1__bindgen_ty_2,
2411}
2412#[repr(C)]
2413#[derive(Debug, Copy, Clone)]
2414pub struct rb_iseq_struct__bindgen_ty_1__bindgen_ty_1 {
2415    pub obj: VALUE,
2416    pub index: ::std::os::raw::c_int,
2417}
2418#[repr(C)]
2419#[derive(Debug, Copy, Clone)]
2420pub struct rb_iseq_struct__bindgen_ty_1__bindgen_ty_2 {
2421    pub local_hooks: *mut rb_hook_list_struct,
2422    pub global_trace_events: rb_event_flag_t,
2423}
2424impl ::std::fmt::Debug for rb_iseq_struct__bindgen_ty_1 {
2425    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2426        write!(f, "rb_iseq_struct__bindgen_ty_1 {{ union }}")
2427    }
2428}
2429impl ::std::fmt::Debug for rb_iseq_struct {
2430    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2431        write!(
2432            f,
2433            "rb_iseq_struct {{ flags: {:?}, wrapper: {:?}, body: {:?}, aux: {:?} }}",
2434            self.flags, self.wrapper, self.body, self.aux
2435        )
2436    }
2437}
2438pub type rb_vm_at_exit_func = ::std::option::Option<unsafe extern "C" fn(arg1: *mut rb_vm_struct)>;
2439#[repr(C)]
2440#[derive(Debug, Copy, Clone)]
2441pub struct rb_at_exit_list {
2442    pub func: rb_vm_at_exit_func,
2443    pub next: *mut rb_at_exit_list,
2444}
2445#[repr(C)]
2446#[derive(Debug, Copy, Clone)]
2447pub struct rb_hook_list_struct {
2448    pub hooks: *mut rb_event_hook_struct,
2449    pub events: rb_event_flag_t,
2450    pub running: ::std::os::raw::c_uint,
2451    pub need_clean: bool,
2452    pub is_local: bool,
2453}
2454pub type rb_hook_list_t = rb_hook_list_struct;
2455#[repr(C)]
2456#[derive(Debug)]
2457pub struct rb_builtin_function {
2458    _unused: [u8; 0],
2459}
2460#[repr(C)]
2461#[derive(Copy, Clone)]
2462pub struct rb_vm_struct {
2463    pub self_: VALUE,
2464    pub ractor: rb_vm_struct__bindgen_ty_1,
2465    pub main_altstack: *mut ::std::os::raw::c_void,
2466    pub fork_gen: rb_serial_t,
2467    pub waitpid_lock: rb_nativethread_lock_t,
2468    pub waiting_pids: list_head,
2469    pub waiting_grps: list_head,
2470    pub waiting_fds: list_head,
2471    pub ubf_async_safe: ::std::os::raw::c_int,
2472    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
2473    pub mark_object_ary: VALUE,
2474    pub special_exceptions: [VALUE; 5usize],
2475    pub top_self: VALUE,
2476    pub load_path: VALUE,
2477    pub load_path_snapshot: VALUE,
2478    pub load_path_check_cache: VALUE,
2479    pub expanded_load_path: VALUE,
2480    pub loaded_features: VALUE,
2481    pub loaded_features_snapshot: VALUE,
2482    pub loaded_features_realpaths: VALUE,
2483    pub loaded_features_index: *mut st_table,
2484    pub loading_table: *mut st_table,
2485    pub trap_list: rb_vm_struct__bindgen_ty_2,
2486    pub ensure_rollback_table: *mut st_table,
2487    pub postponed_job_buffer: *mut rb_postponed_job_struct,
2488    pub postponed_job_index: rb_atomic_t,
2489    pub src_encoding_index: ::std::os::raw::c_int,
2490    pub workqueue: list_head,
2491    pub workqueue_lock: rb_nativethread_lock_t,
2492    pub orig_progname: VALUE,
2493    pub progname: VALUE,
2494    pub coverages: VALUE,
2495    pub me2counter: VALUE,
2496    pub coverage_mode: ::std::os::raw::c_int,
2497    pub defined_module_hash: *mut st_table,
2498    pub objspace: *mut rb_objspace,
2499    pub at_exit: *mut rb_at_exit_list,
2500    pub frozen_strings: *mut st_table,
2501    pub builtin_function_table: *const rb_builtin_function,
2502    pub builtin_inline_index: ::std::os::raw::c_int,
2503    pub negative_cme_table: *mut rb_id_table,
2504    pub overloaded_cme_table: *mut st_table,
2505    pub global_cc_cache_table: [*const rb_callcache; 1023usize],
2506    pub default_params: rb_vm_struct__bindgen_ty_3,
2507    pub redefined_flag: [::std::os::raw::c_short; 29usize],
2508}
2509#[repr(C)]
2510#[derive(Copy, Clone)]
2511pub struct rb_vm_struct__bindgen_ty_1 {
2512    pub set: list_head,
2513    pub cnt: ::std::os::raw::c_uint,
2514    pub blocking_cnt: ::std::os::raw::c_uint,
2515    pub main_ractor: *mut rb_ractor_struct,
2516    pub main_thread: *mut rb_thread_struct,
2517    pub sync: rb_vm_struct__bindgen_ty_1__bindgen_ty_1,
2518}
2519#[repr(C)]
2520#[derive(Copy, Clone)]
2521pub struct rb_vm_struct__bindgen_ty_1__bindgen_ty_1 {
2522    pub lock: rb_nativethread_lock_t,
2523    pub lock_owner: *mut rb_ractor_struct,
2524    pub lock_rec: ::std::os::raw::c_uint,
2525    pub barrier_waiting: bool,
2526    pub barrier_cnt: ::std::os::raw::c_uint,
2527    pub barrier_cond: rb_nativethread_cond_t,
2528    pub terminate_cond: rb_nativethread_cond_t,
2529    pub terminate_waiting: bool,
2530}
2531impl ::std::fmt::Debug for rb_vm_struct__bindgen_ty_1__bindgen_ty_1 {
2532    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2533        write ! (f , "rb_vm_struct__bindgen_ty_1__bindgen_ty_1 {{ lock: {:?}, lock_owner: {:?}, lock_rec: {:?}, barrier_waiting: {:?}, barrier_cnt: {:?}, barrier_cond: {:?}, terminate_cond: {:?}, terminate_waiting: {:?} }}" , self . lock , self . lock_owner , self . lock_rec , self . barrier_waiting , self . barrier_cnt , self . barrier_cond , self . terminate_cond , self . terminate_waiting)
2534    }
2535}
2536impl ::std::fmt::Debug for rb_vm_struct__bindgen_ty_1 {
2537    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2538        write ! (f , "rb_vm_struct__bindgen_ty_1 {{ set: {:?}, cnt: {:?}, blocking_cnt: {:?}, main_ractor: {:?}, main_thread: {:?}, sync: {:?} }}" , self . set , self . cnt , self . blocking_cnt , self . main_ractor , self . main_thread , self . sync)
2539    }
2540}
2541#[repr(C)]
2542#[derive(Debug, Copy, Clone)]
2543pub struct rb_vm_struct__bindgen_ty_2 {
2544    pub cmd: [VALUE; 65usize],
2545}
2546#[repr(C)]
2547#[derive(Debug, Copy, Clone)]
2548pub struct rb_vm_struct__bindgen_ty_3 {
2549    pub thread_vm_stack_size: usize,
2550    pub thread_machine_stack_size: usize,
2551    pub fiber_vm_stack_size: usize,
2552    pub fiber_machine_stack_size: usize,
2553}
2554impl ::std::fmt::Debug for rb_vm_struct {
2555    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2556        write ! (f , "rb_vm_struct {{ self: {:?}, ractor: {:?}, main_altstack: {:?}, fork_gen: {:?}, waitpid_lock: {:?}, waiting_pids: {:?}, waiting_grps: {:?}, waiting_fds: {:?}, ubf_async_safe: {:?}, running : {:?}, thread_abort_on_exception : {:?}, thread_report_on_exception : {:?}, thread_ignore_deadlock : {:?}, 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_realpaths: {:?}, loaded_features_index: {:?}, loading_table: {:?}, trap_list: {:?}, ensure_rollback_table: {:?}, postponed_job_buffer: {:?}, postponed_job_index: {:?}, src_encoding_index: {:?}, workqueue: {:?}, workqueue_lock: {:?}, orig_progname: {:?}, progname: {:?}, coverages: {:?}, me2counter: {:?}, coverage_mode: {:?}, defined_module_hash: {:?}, objspace: {:?}, at_exit: {:?}, frozen_strings: {:?}, builtin_function_table: {:?}, builtin_inline_index: {:?}, negative_cme_table: {:?}, overloaded_cme_table: {:?}, global_cc_cache_table: {:?}, default_params: {:?}, redefined_flag: {:?} }}" , self . self_ , self . ractor , self . main_altstack , self . fork_gen , self . waitpid_lock , self . waiting_pids , self . waiting_grps , self . waiting_fds , self . ubf_async_safe , self . running () , self . thread_abort_on_exception () , self . thread_report_on_exception () , self . thread_ignore_deadlock () , 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_realpaths , self . loaded_features_index , self . loading_table , self . trap_list , self . ensure_rollback_table , self . postponed_job_buffer , self . postponed_job_index , self . src_encoding_index , self . workqueue , self . workqueue_lock , self . orig_progname , self . progname , self . coverages , self . me2counter , self . coverage_mode , self . defined_module_hash , self . objspace , self . at_exit , self . frozen_strings , self . builtin_function_table , self . builtin_inline_index , self . negative_cme_table , self . overloaded_cme_table , self . global_cc_cache_table , self . default_params , self . redefined_flag)
2557    }
2558}
2559impl rb_vm_struct {
2560    #[inline]
2561    #[allow(unnecessary_transmutes)]
2562    pub fn running(&self) -> ::std::os::raw::c_uint {
2563        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<0usize, 1u8>() as u32) }
2564    }
2565    #[inline]
2566    #[allow(unnecessary_transmutes)]
2567    pub fn set_running(&mut self, val: ::std::os::raw::c_uint) {
2568        unsafe {
2569            let val: u32 = ::std::mem::transmute(val);
2570            self._bitfield_1.set_const::<0usize, 1u8>(val as u64)
2571        }
2572    }
2573    #[inline]
2574    #[allow(unnecessary_transmutes)]
2575    pub unsafe fn running_raw(this: *const Self) -> ::std::os::raw::c_uint {
2576        unsafe {
2577            ::std::mem::transmute(
2578                <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<0usize, 1u8>(
2579                    ::std::ptr::addr_of!((*this)._bitfield_1),
2580                ) as u32,
2581            )
2582        }
2583    }
2584    #[inline]
2585    #[allow(unnecessary_transmutes)]
2586    pub unsafe fn set_running_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2587        unsafe {
2588            let val: u32 = ::std::mem::transmute(val);
2589            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<0usize, 1u8>(
2590                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2591                val as u64,
2592            )
2593        }
2594    }
2595    #[inline]
2596    #[allow(unnecessary_transmutes)]
2597    pub fn thread_abort_on_exception(&self) -> ::std::os::raw::c_uint {
2598        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<1usize, 1u8>() as u32) }
2599    }
2600    #[inline]
2601    #[allow(unnecessary_transmutes)]
2602    pub fn set_thread_abort_on_exception(&mut self, val: ::std::os::raw::c_uint) {
2603        unsafe {
2604            let val: u32 = ::std::mem::transmute(val);
2605            self._bitfield_1.set_const::<1usize, 1u8>(val as u64)
2606        }
2607    }
2608    #[inline]
2609    #[allow(unnecessary_transmutes)]
2610    pub unsafe fn thread_abort_on_exception_raw(this: *const Self) -> ::std::os::raw::c_uint {
2611        unsafe {
2612            ::std::mem::transmute(
2613                <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<1usize, 1u8>(
2614                    ::std::ptr::addr_of!((*this)._bitfield_1),
2615                ) as u32,
2616            )
2617        }
2618    }
2619    #[inline]
2620    #[allow(unnecessary_transmutes)]
2621    pub unsafe fn set_thread_abort_on_exception_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2622        unsafe {
2623            let val: u32 = ::std::mem::transmute(val);
2624            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<1usize, 1u8>(
2625                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2626                val as u64,
2627            )
2628        }
2629    }
2630    #[inline]
2631    #[allow(unnecessary_transmutes)]
2632    pub fn thread_report_on_exception(&self) -> ::std::os::raw::c_uint {
2633        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<2usize, 1u8>() as u32) }
2634    }
2635    #[inline]
2636    #[allow(unnecessary_transmutes)]
2637    pub fn set_thread_report_on_exception(&mut self, val: ::std::os::raw::c_uint) {
2638        unsafe {
2639            let val: u32 = ::std::mem::transmute(val);
2640            self._bitfield_1.set_const::<2usize, 1u8>(val as u64)
2641        }
2642    }
2643    #[inline]
2644    #[allow(unnecessary_transmutes)]
2645    pub unsafe fn thread_report_on_exception_raw(this: *const Self) -> ::std::os::raw::c_uint {
2646        unsafe {
2647            ::std::mem::transmute(
2648                <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<2usize, 1u8>(
2649                    ::std::ptr::addr_of!((*this)._bitfield_1),
2650                ) as u32,
2651            )
2652        }
2653    }
2654    #[inline]
2655    #[allow(unnecessary_transmutes)]
2656    pub unsafe fn set_thread_report_on_exception_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2657        unsafe {
2658            let val: u32 = ::std::mem::transmute(val);
2659            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<2usize, 1u8>(
2660                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2661                val as u64,
2662            )
2663        }
2664    }
2665    #[inline]
2666    #[allow(unnecessary_transmutes)]
2667    pub fn thread_ignore_deadlock(&self) -> ::std::os::raw::c_uint {
2668        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<3usize, 1u8>() as u32) }
2669    }
2670    #[inline]
2671    #[allow(unnecessary_transmutes)]
2672    pub fn set_thread_ignore_deadlock(&mut self, val: ::std::os::raw::c_uint) {
2673        unsafe {
2674            let val: u32 = ::std::mem::transmute(val);
2675            self._bitfield_1.set_const::<3usize, 1u8>(val as u64)
2676        }
2677    }
2678    #[inline]
2679    #[allow(unnecessary_transmutes)]
2680    pub unsafe fn thread_ignore_deadlock_raw(this: *const Self) -> ::std::os::raw::c_uint {
2681        unsafe {
2682            ::std::mem::transmute(
2683                <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<3usize, 1u8>(
2684                    ::std::ptr::addr_of!((*this)._bitfield_1),
2685                ) as u32,
2686            )
2687        }
2688    }
2689    #[inline]
2690    #[allow(unnecessary_transmutes)]
2691    pub unsafe fn set_thread_ignore_deadlock_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2692        unsafe {
2693            let val: u32 = ::std::mem::transmute(val);
2694            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<3usize, 1u8>(
2695                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2696                val as u64,
2697            )
2698        }
2699    }
2700    #[inline]
2701    #[allow(unnecessary_transmutes)]
2702    pub fn new_bitfield_1(
2703        running: ::std::os::raw::c_uint,
2704        thread_abort_on_exception: ::std::os::raw::c_uint,
2705        thread_report_on_exception: ::std::os::raw::c_uint,
2706        thread_ignore_deadlock: ::std::os::raw::c_uint,
2707    ) -> __BindgenBitfieldUnit<[u8; 1usize]> {
2708        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
2709        __bindgen_bitfield_unit.set_const::<0usize, 1u8>({
2710            let running: u32 = unsafe { ::std::mem::transmute(running) };
2711            running as u64
2712        });
2713        __bindgen_bitfield_unit.set_const::<1usize, 1u8>({
2714            let thread_abort_on_exception: u32 =
2715                unsafe { ::std::mem::transmute(thread_abort_on_exception) };
2716            thread_abort_on_exception as u64
2717        });
2718        __bindgen_bitfield_unit.set_const::<2usize, 1u8>({
2719            let thread_report_on_exception: u32 =
2720                unsafe { ::std::mem::transmute(thread_report_on_exception) };
2721            thread_report_on_exception as u64
2722        });
2723        __bindgen_bitfield_unit.set_const::<3usize, 1u8>({
2724            let thread_ignore_deadlock: u32 =
2725                unsafe { ::std::mem::transmute(thread_ignore_deadlock) };
2726            thread_ignore_deadlock as u64
2727        });
2728        __bindgen_bitfield_unit
2729    }
2730}
2731pub type rb_vm_t = rb_vm_struct;
2732#[repr(C)]
2733#[derive(Debug, Copy, Clone)]
2734pub struct rb_control_frame_struct {
2735    pub pc: *const VALUE,
2736    pub sp: *mut VALUE,
2737    pub iseq: *const rb_iseq_t,
2738    pub self_: VALUE,
2739    pub ep: *const VALUE,
2740    pub block_code: *const ::std::os::raw::c_void,
2741    pub __bp__: *mut VALUE,
2742    pub jit_return: *mut ::std::os::raw::c_void,
2743}
2744pub type rb_control_frame_t = rb_control_frame_struct;
2745pub const rb_thread_status_THREAD_RUNNABLE: rb_thread_status = 0;
2746pub const rb_thread_status_THREAD_STOPPED: rb_thread_status = 1;
2747pub const rb_thread_status_THREAD_STOPPED_FOREVER: rb_thread_status = 2;
2748pub const rb_thread_status_THREAD_KILLED: rb_thread_status = 3;
2749pub type rb_thread_status = ::std::os::raw::c_uint;
2750pub type rb_jmpbuf_t = sigjmp_buf;
2751#[repr(C)]
2752#[derive(Debug, Copy, Clone)]
2753pub struct rb_vm_tag {
2754    pub tag: VALUE,
2755    pub retval: VALUE,
2756    pub buf: rb_jmpbuf_t,
2757    pub prev: *mut rb_vm_tag,
2758    pub state: ruby_tag_type,
2759    pub lock_rec: ::std::os::raw::c_uint,
2760}
2761#[repr(C)]
2762#[derive(Debug, Copy, Clone)]
2763pub struct rb_unblock_callback {
2764    pub func: rb_unblock_function_t,
2765    pub arg: *mut ::std::os::raw::c_void,
2766}
2767#[repr(C)]
2768#[derive(Debug)]
2769pub struct rb_mutex_struct {
2770    _unused: [u8; 0],
2771}
2772#[repr(C)]
2773#[derive(Debug, Copy, Clone)]
2774pub struct rb_ensure_entry {
2775    pub marker: VALUE,
2776    pub e_proc: ::std::option::Option<unsafe extern "C" fn(arg1: VALUE) -> VALUE>,
2777    pub data2: VALUE,
2778}
2779#[repr(C)]
2780#[derive(Debug, Copy, Clone)]
2781pub struct rb_ensure_list {
2782    pub next: *mut rb_ensure_list,
2783    pub entry: rb_ensure_entry,
2784}
2785pub type rb_ensure_list_t = rb_ensure_list;
2786#[repr(C)]
2787#[derive(Debug)]
2788pub struct rb_fiber_struct {
2789    _unused: [u8; 0],
2790}
2791pub type rb_fiber_t = rb_fiber_struct;
2792#[repr(C)]
2793#[derive(Debug, Copy, Clone)]
2794pub struct rb_waiting_list {
2795    pub next: *mut rb_waiting_list,
2796    pub thread: *mut rb_thread_struct,
2797    pub fiber: *mut rb_fiber_struct,
2798}
2799#[repr(C)]
2800#[derive(Debug, Copy, Clone)]
2801pub struct rb_execution_context_struct {
2802    pub vm_stack: *mut VALUE,
2803    pub vm_stack_size: usize,
2804    pub cfp: *mut rb_control_frame_t,
2805    pub tag: *mut rb_vm_tag,
2806    pub interrupt_flag: rb_atomic_t,
2807    pub interrupt_mask: rb_atomic_t,
2808    pub fiber_ptr: *mut rb_fiber_t,
2809    pub thread_ptr: *mut rb_thread_struct,
2810    pub local_storage: *mut rb_id_table,
2811    pub local_storage_recursive_hash: VALUE,
2812    pub local_storage_recursive_hash_for_trace: VALUE,
2813    pub root_lep: *const VALUE,
2814    pub root_svar: VALUE,
2815    pub ensure_list: *mut rb_ensure_list_t,
2816    pub trace_arg: *mut rb_trace_arg_struct,
2817    pub errinfo: VALUE,
2818    pub passed_block_handler: VALUE,
2819    pub raised_flag: u8,
2820    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
2821    pub private_const_reference: VALUE,
2822    pub machine: rb_execution_context_struct__bindgen_ty_1,
2823}
2824#[repr(C)]
2825#[derive(Debug, Copy, Clone)]
2826pub struct rb_execution_context_struct__bindgen_ty_1 {
2827    pub stack_start: *mut VALUE,
2828    pub stack_end: *mut VALUE,
2829    pub stack_maxsize: usize,
2830    pub regs: jmp_buf,
2831}
2832impl rb_execution_context_struct {
2833    #[inline]
2834    #[allow(unnecessary_transmutes)]
2835    pub fn method_missing_reason(&self) -> method_missing_reason {
2836        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<0usize, 8u8>() as u32) }
2837    }
2838    #[inline]
2839    #[allow(unnecessary_transmutes)]
2840    pub fn set_method_missing_reason(&mut self, val: method_missing_reason) {
2841        unsafe {
2842            let val: u32 = ::std::mem::transmute(val);
2843            self._bitfield_1.set_const::<0usize, 8u8>(val as u64)
2844        }
2845    }
2846    #[inline]
2847    #[allow(unnecessary_transmutes)]
2848    pub unsafe fn method_missing_reason_raw(this: *const Self) -> method_missing_reason {
2849        unsafe {
2850            ::std::mem::transmute(
2851                <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<0usize, 8u8>(
2852                    ::std::ptr::addr_of!((*this)._bitfield_1),
2853                ) as u32,
2854            )
2855        }
2856    }
2857    #[inline]
2858    #[allow(unnecessary_transmutes)]
2859    pub unsafe fn set_method_missing_reason_raw(this: *mut Self, val: method_missing_reason) {
2860        unsafe {
2861            let val: u32 = ::std::mem::transmute(val);
2862            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<0usize, 8u8>(
2863                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2864                val as u64,
2865            )
2866        }
2867    }
2868    #[inline]
2869    #[allow(unnecessary_transmutes)]
2870    pub fn new_bitfield_1(
2871        method_missing_reason: method_missing_reason,
2872    ) -> __BindgenBitfieldUnit<[u8; 1usize]> {
2873        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
2874        __bindgen_bitfield_unit.set_const::<0usize, 8u8>({
2875            let method_missing_reason: u32 =
2876                unsafe { ::std::mem::transmute(method_missing_reason) };
2877            method_missing_reason as u64
2878        });
2879        __bindgen_bitfield_unit
2880    }
2881}
2882pub type rb_execution_context_t = rb_execution_context_struct;
2883#[repr(C)]
2884#[derive(Debug, Copy, Clone)]
2885pub struct rb_ext_config {
2886    pub ractor_safe: bool,
2887}
2888pub type rb_ractor_t = rb_ractor_struct;
2889#[repr(C)]
2890#[derive(Copy, Clone)]
2891pub struct rb_thread_struct {
2892    pub lt_node: list_node,
2893    pub self_: VALUE,
2894    pub ractor: *mut rb_ractor_t,
2895    pub vm: *mut rb_vm_t,
2896    pub ec: *mut rb_execution_context_t,
2897    pub last_status: VALUE,
2898    pub calling: *mut rb_calling_info,
2899    pub top_self: VALUE,
2900    pub top_wrapper: VALUE,
2901    pub thread_id: rb_nativethread_id_t,
2902    pub tid: ::std::os::raw::c_int,
2903    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
2904    pub priority: i8,
2905    pub running_time_us: u32,
2906    pub native_thread_data: native_thread_data_t,
2907    pub blocking_region_buffer: *mut ::std::os::raw::c_void,
2908    pub thgroup: VALUE,
2909    pub value: VALUE,
2910    pub pending_interrupt_queue: VALUE,
2911    pub pending_interrupt_mask_stack: VALUE,
2912    pub interrupt_lock: rb_nativethread_lock_t,
2913    pub unblock: rb_unblock_callback,
2914    pub locking_mutex: VALUE,
2915    pub keeping_mutexes: *mut rb_mutex_struct,
2916    pub join_list: *mut rb_waiting_list,
2917    pub invoke_arg: rb_thread_struct__bindgen_ty_1,
2918    pub invoke_type: rb_thread_struct_thread_invoke_type,
2919    pub stat_insn_usage: VALUE,
2920    pub root_fiber: *mut rb_fiber_t,
2921    pub scheduler: VALUE,
2922    pub blocking: ::std::os::raw::c_uint,
2923    pub name: VALUE,
2924    pub ext_config: rb_ext_config,
2925    pub altstack: *mut ::std::os::raw::c_void,
2926}
2927#[repr(C)]
2928#[derive(Copy, Clone)]
2929pub union rb_thread_struct__bindgen_ty_1 {
2930    pub proc_: rb_thread_struct__bindgen_ty_1__bindgen_ty_1,
2931    pub func: rb_thread_struct__bindgen_ty_1__bindgen_ty_2,
2932}
2933#[repr(C)]
2934#[derive(Debug, Copy, Clone)]
2935pub struct rb_thread_struct__bindgen_ty_1__bindgen_ty_1 {
2936    pub proc_: VALUE,
2937    pub args: VALUE,
2938    pub kw_splat: ::std::os::raw::c_int,
2939}
2940#[repr(C)]
2941#[derive(Debug, Copy, Clone)]
2942pub struct rb_thread_struct__bindgen_ty_1__bindgen_ty_2 {
2943    pub func:
2944        ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> VALUE>,
2945    pub arg: *mut ::std::os::raw::c_void,
2946}
2947impl ::std::fmt::Debug for rb_thread_struct__bindgen_ty_1 {
2948    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2949        write!(f, "rb_thread_struct__bindgen_ty_1 {{ union }}")
2950    }
2951}
2952pub const rb_thread_struct_thread_invoke_type_thread_invoke_type_none:
2953    rb_thread_struct_thread_invoke_type = 0;
2954pub const rb_thread_struct_thread_invoke_type_thread_invoke_type_proc:
2955    rb_thread_struct_thread_invoke_type = 1;
2956pub const rb_thread_struct_thread_invoke_type_thread_invoke_type_ractor_proc:
2957    rb_thread_struct_thread_invoke_type = 2;
2958pub const rb_thread_struct_thread_invoke_type_thread_invoke_type_func:
2959    rb_thread_struct_thread_invoke_type = 3;
2960pub type rb_thread_struct_thread_invoke_type = ::std::os::raw::c_uint;
2961impl ::std::fmt::Debug for rb_thread_struct {
2962    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2963        write ! (f , "rb_thread_struct {{ lt_node: {:?}, self: {:?}, ractor: {:?}, vm: {:?}, ec: {:?}, last_status: {:?}, calling: {:?}, top_self: {:?}, top_wrapper: {:?}, thread_id: {:?}, tid: {:?}, 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: {:?}, scheduler: {:?}, blocking: {:?}, name: {:?}, ext_config: {:?}, altstack: {:?} }}" , self . lt_node , self . self_ , self . ractor , self . vm , self . ec , self . last_status , self . calling , self . top_self , self . top_wrapper , self . thread_id , self . tid , 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 . scheduler , self . blocking , self . name , self . ext_config , self . altstack)
2964    }
2965}
2966impl rb_thread_struct {
2967    #[inline]
2968    #[allow(unnecessary_transmutes)]
2969    pub fn status(&self) -> rb_thread_status {
2970        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<0usize, 2u8>() as u32) }
2971    }
2972    #[inline]
2973    #[allow(unnecessary_transmutes)]
2974    pub fn set_status(&mut self, val: rb_thread_status) {
2975        unsafe {
2976            let val: u32 = ::std::mem::transmute(val);
2977            self._bitfield_1.set_const::<0usize, 2u8>(val as u64)
2978        }
2979    }
2980    #[inline]
2981    #[allow(unnecessary_transmutes)]
2982    pub unsafe fn status_raw(this: *const Self) -> rb_thread_status {
2983        unsafe {
2984            ::std::mem::transmute(
2985                <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<0usize, 2u8>(
2986                    ::std::ptr::addr_of!((*this)._bitfield_1),
2987                ) as u32,
2988            )
2989        }
2990    }
2991    #[inline]
2992    #[allow(unnecessary_transmutes)]
2993    pub unsafe fn set_status_raw(this: *mut Self, val: rb_thread_status) {
2994        unsafe {
2995            let val: u32 = ::std::mem::transmute(val);
2996            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<0usize, 2u8>(
2997                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2998                val as u64,
2999            )
3000        }
3001    }
3002    #[inline]
3003    #[allow(unnecessary_transmutes)]
3004    pub fn to_kill(&self) -> ::std::os::raw::c_uint {
3005        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<2usize, 1u8>() as u32) }
3006    }
3007    #[inline]
3008    #[allow(unnecessary_transmutes)]
3009    pub fn set_to_kill(&mut self, val: ::std::os::raw::c_uint) {
3010        unsafe {
3011            let val: u32 = ::std::mem::transmute(val);
3012            self._bitfield_1.set_const::<2usize, 1u8>(val as u64)
3013        }
3014    }
3015    #[inline]
3016    #[allow(unnecessary_transmutes)]
3017    pub unsafe fn to_kill_raw(this: *const Self) -> ::std::os::raw::c_uint {
3018        unsafe {
3019            ::std::mem::transmute(
3020                <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<2usize, 1u8>(
3021                    ::std::ptr::addr_of!((*this)._bitfield_1),
3022                ) as u32,
3023            )
3024        }
3025    }
3026    #[inline]
3027    #[allow(unnecessary_transmutes)]
3028    pub unsafe fn set_to_kill_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
3029        unsafe {
3030            let val: u32 = ::std::mem::transmute(val);
3031            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<2usize, 1u8>(
3032                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
3033                val as u64,
3034            )
3035        }
3036    }
3037    #[inline]
3038    #[allow(unnecessary_transmutes)]
3039    pub fn abort_on_exception(&self) -> ::std::os::raw::c_uint {
3040        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<3usize, 1u8>() as u32) }
3041    }
3042    #[inline]
3043    #[allow(unnecessary_transmutes)]
3044    pub fn set_abort_on_exception(&mut self, val: ::std::os::raw::c_uint) {
3045        unsafe {
3046            let val: u32 = ::std::mem::transmute(val);
3047            self._bitfield_1.set_const::<3usize, 1u8>(val as u64)
3048        }
3049    }
3050    #[inline]
3051    #[allow(unnecessary_transmutes)]
3052    pub unsafe fn abort_on_exception_raw(this: *const Self) -> ::std::os::raw::c_uint {
3053        unsafe {
3054            ::std::mem::transmute(
3055                <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<3usize, 1u8>(
3056                    ::std::ptr::addr_of!((*this)._bitfield_1),
3057                ) as u32,
3058            )
3059        }
3060    }
3061    #[inline]
3062    #[allow(unnecessary_transmutes)]
3063    pub unsafe fn set_abort_on_exception_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
3064        unsafe {
3065            let val: u32 = ::std::mem::transmute(val);
3066            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<3usize, 1u8>(
3067                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
3068                val as u64,
3069            )
3070        }
3071    }
3072    #[inline]
3073    #[allow(unnecessary_transmutes)]
3074    pub fn report_on_exception(&self) -> ::std::os::raw::c_uint {
3075        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<4usize, 1u8>() as u32) }
3076    }
3077    #[inline]
3078    #[allow(unnecessary_transmutes)]
3079    pub fn set_report_on_exception(&mut self, val: ::std::os::raw::c_uint) {
3080        unsafe {
3081            let val: u32 = ::std::mem::transmute(val);
3082            self._bitfield_1.set_const::<4usize, 1u8>(val as u64)
3083        }
3084    }
3085    #[inline]
3086    #[allow(unnecessary_transmutes)]
3087    pub unsafe fn report_on_exception_raw(this: *const Self) -> ::std::os::raw::c_uint {
3088        unsafe {
3089            ::std::mem::transmute(
3090                <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<4usize, 1u8>(
3091                    ::std::ptr::addr_of!((*this)._bitfield_1),
3092                ) as u32,
3093            )
3094        }
3095    }
3096    #[inline]
3097    #[allow(unnecessary_transmutes)]
3098    pub unsafe fn set_report_on_exception_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
3099        unsafe {
3100            let val: u32 = ::std::mem::transmute(val);
3101            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<4usize, 1u8>(
3102                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
3103                val as u64,
3104            )
3105        }
3106    }
3107    #[inline]
3108    #[allow(unnecessary_transmutes)]
3109    pub fn pending_interrupt_queue_checked(&self) -> ::std::os::raw::c_uint {
3110        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<5usize, 1u8>() as u32) }
3111    }
3112    #[inline]
3113    #[allow(unnecessary_transmutes)]
3114    pub fn set_pending_interrupt_queue_checked(&mut self, val: ::std::os::raw::c_uint) {
3115        unsafe {
3116            let val: u32 = ::std::mem::transmute(val);
3117            self._bitfield_1.set_const::<5usize, 1u8>(val as u64)
3118        }
3119    }
3120    #[inline]
3121    #[allow(unnecessary_transmutes)]
3122    pub unsafe fn pending_interrupt_queue_checked_raw(this: *const Self) -> ::std::os::raw::c_uint {
3123        unsafe {
3124            ::std::mem::transmute(
3125                <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<5usize, 1u8>(
3126                    ::std::ptr::addr_of!((*this)._bitfield_1),
3127                ) as u32,
3128            )
3129        }
3130    }
3131    #[inline]
3132    #[allow(unnecessary_transmutes)]
3133    pub unsafe fn set_pending_interrupt_queue_checked_raw(
3134        this: *mut Self,
3135        val: ::std::os::raw::c_uint,
3136    ) {
3137        unsafe {
3138            let val: u32 = ::std::mem::transmute(val);
3139            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<5usize, 1u8>(
3140                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
3141                val as u64,
3142            )
3143        }
3144    }
3145    #[inline]
3146    #[allow(unnecessary_transmutes)]
3147    pub fn new_bitfield_1(
3148        status: rb_thread_status,
3149        to_kill: ::std::os::raw::c_uint,
3150        abort_on_exception: ::std::os::raw::c_uint,
3151        report_on_exception: ::std::os::raw::c_uint,
3152        pending_interrupt_queue_checked: ::std::os::raw::c_uint,
3153    ) -> __BindgenBitfieldUnit<[u8; 1usize]> {
3154        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
3155        __bindgen_bitfield_unit.set_const::<0usize, 2u8>({
3156            let status: u32 = unsafe { ::std::mem::transmute(status) };
3157            status as u64
3158        });
3159        __bindgen_bitfield_unit.set_const::<2usize, 1u8>({
3160            let to_kill: u32 = unsafe { ::std::mem::transmute(to_kill) };
3161            to_kill as u64
3162        });
3163        __bindgen_bitfield_unit.set_const::<3usize, 1u8>({
3164            let abort_on_exception: u32 = unsafe { ::std::mem::transmute(abort_on_exception) };
3165            abort_on_exception as u64
3166        });
3167        __bindgen_bitfield_unit.set_const::<4usize, 1u8>({
3168            let report_on_exception: u32 = unsafe { ::std::mem::transmute(report_on_exception) };
3169            report_on_exception as u64
3170        });
3171        __bindgen_bitfield_unit.set_const::<5usize, 1u8>({
3172            let pending_interrupt_queue_checked: u32 =
3173                unsafe { ::std::mem::transmute(pending_interrupt_queue_checked) };
3174            pending_interrupt_queue_checked as u64
3175        });
3176        __bindgen_bitfield_unit
3177    }
3178}
3179pub type rb_thread_t = rb_thread_struct;
3180#[repr(C)]
3181#[derive(Debug, Copy, Clone)]
3182pub struct rb_trace_arg_struct {
3183    pub event: rb_event_flag_t,
3184    pub ec: *mut rb_execution_context_t,
3185    pub cfp: *const rb_control_frame_t,
3186    pub self_: VALUE,
3187    pub id: ID,
3188    pub called_id: ID,
3189    pub klass: VALUE,
3190    pub data: VALUE,
3191    pub klass_solved: ::std::os::raw::c_int,
3192    pub lineno: ::std::os::raw::c_int,
3193    pub path: VALUE,
3194}
3195#[repr(C)]
3196#[derive(Debug, Copy, Clone)]
3197pub struct rb_ractor_pub {
3198    pub self_: VALUE,
3199    pub id: u32,
3200    pub hooks: rb_hook_list_t,
3201}
3202pub const rb_ractor_basket_type_basket_type_none: rb_ractor_basket_type = 0;
3203pub const rb_ractor_basket_type_basket_type_ref: rb_ractor_basket_type = 1;
3204pub const rb_ractor_basket_type_basket_type_copy: rb_ractor_basket_type = 2;
3205pub const rb_ractor_basket_type_basket_type_move: rb_ractor_basket_type = 3;
3206pub const rb_ractor_basket_type_basket_type_will: rb_ractor_basket_type = 4;
3207pub const rb_ractor_basket_type_basket_type_deleted: rb_ractor_basket_type = 5;
3208pub const rb_ractor_basket_type_basket_type_reserved: rb_ractor_basket_type = 6;
3209pub type rb_ractor_basket_type = ::std::os::raw::c_uint;
3210#[repr(C)]
3211#[derive(Debug, Copy, Clone)]
3212pub struct rb_ractor_basket {
3213    pub exception: bool,
3214    pub type_: rb_ractor_basket_type,
3215    pub v: VALUE,
3216    pub sender: VALUE,
3217}
3218#[repr(C)]
3219#[derive(Debug, Copy, Clone)]
3220pub struct rb_ractor_queue {
3221    pub baskets: *mut rb_ractor_basket,
3222    pub start: ::std::os::raw::c_int,
3223    pub cnt: ::std::os::raw::c_int,
3224    pub size: ::std::os::raw::c_int,
3225    pub serial: ::std::os::raw::c_uint,
3226    pub reserved_cnt: ::std::os::raw::c_uint,
3227}
3228#[repr(C)]
3229#[derive(Debug, Copy, Clone)]
3230pub struct rb_ractor_waiting_list {
3231    pub cnt: ::std::os::raw::c_int,
3232    pub size: ::std::os::raw::c_int,
3233    pub ractors: *mut *mut rb_ractor_t,
3234}
3235#[repr(C)]
3236#[derive(Copy, Clone)]
3237pub struct rb_ractor_sync {
3238    pub lock: rb_nativethread_lock_t,
3239    pub cond: rb_nativethread_cond_t,
3240    pub incoming_queue: rb_ractor_queue,
3241    pub taking_ractors: rb_ractor_waiting_list,
3242    pub incoming_port_closed: bool,
3243    pub outgoing_port_closed: bool,
3244    pub wait: rb_ractor_sync_ractor_wait,
3245}
3246#[repr(C)]
3247#[derive(Debug, Copy, Clone)]
3248pub struct rb_ractor_sync_ractor_wait {
3249    pub status: rb_ractor_sync_ractor_wait_ractor_wait_status,
3250    pub wakeup_status: rb_ractor_sync_ractor_wait_ractor_wakeup_status,
3251    pub yielded_basket: rb_ractor_basket,
3252    pub taken_basket: rb_ractor_basket,
3253}
3254pub const rb_ractor_sync_ractor_wait_ractor_wait_status_wait_none:
3255    rb_ractor_sync_ractor_wait_ractor_wait_status = 0;
3256pub const rb_ractor_sync_ractor_wait_ractor_wait_status_wait_receiving:
3257    rb_ractor_sync_ractor_wait_ractor_wait_status = 1;
3258pub const rb_ractor_sync_ractor_wait_ractor_wait_status_wait_taking:
3259    rb_ractor_sync_ractor_wait_ractor_wait_status = 2;
3260pub const rb_ractor_sync_ractor_wait_ractor_wait_status_wait_yielding:
3261    rb_ractor_sync_ractor_wait_ractor_wait_status = 4;
3262pub const rb_ractor_sync_ractor_wait_ractor_wait_status_wait_moving:
3263    rb_ractor_sync_ractor_wait_ractor_wait_status = 8;
3264pub type rb_ractor_sync_ractor_wait_ractor_wait_status = ::std::os::raw::c_uint;
3265pub const rb_ractor_sync_ractor_wait_ractor_wakeup_status_wakeup_none:
3266    rb_ractor_sync_ractor_wait_ractor_wakeup_status = 0;
3267pub const rb_ractor_sync_ractor_wait_ractor_wakeup_status_wakeup_by_send:
3268    rb_ractor_sync_ractor_wait_ractor_wakeup_status = 1;
3269pub const rb_ractor_sync_ractor_wait_ractor_wakeup_status_wakeup_by_yield:
3270    rb_ractor_sync_ractor_wait_ractor_wakeup_status = 2;
3271pub const rb_ractor_sync_ractor_wait_ractor_wakeup_status_wakeup_by_take:
3272    rb_ractor_sync_ractor_wait_ractor_wakeup_status = 3;
3273pub const rb_ractor_sync_ractor_wait_ractor_wakeup_status_wakeup_by_close:
3274    rb_ractor_sync_ractor_wait_ractor_wakeup_status = 4;
3275pub const rb_ractor_sync_ractor_wait_ractor_wakeup_status_wakeup_by_interrupt:
3276    rb_ractor_sync_ractor_wait_ractor_wakeup_status = 5;
3277pub const rb_ractor_sync_ractor_wait_ractor_wakeup_status_wakeup_by_retry:
3278    rb_ractor_sync_ractor_wait_ractor_wakeup_status = 6;
3279pub type rb_ractor_sync_ractor_wait_ractor_wakeup_status = ::std::os::raw::c_uint;
3280impl ::std::fmt::Debug for rb_ractor_sync {
3281    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3282        write ! (f , "rb_ractor_sync {{ lock: {:?}, cond: {:?}, incoming_queue: {:?}, taking_ractors: {:?}, incoming_port_closed: {:?}, outgoing_port_closed: {:?}, wait: {:?} }}" , self . lock , self . cond , self . incoming_queue , self . taking_ractors , self . incoming_port_closed , self . outgoing_port_closed , self . wait)
3283    }
3284}
3285#[repr(C)]
3286#[derive(Copy, Clone)]
3287pub struct rb_ractor_struct {
3288    pub pub_: rb_ractor_pub,
3289    pub sync: rb_ractor_sync,
3290    pub receiving_mutex: VALUE,
3291    pub yield_atexit: bool,
3292    pub barrier_wait_cond: rb_nativethread_cond_t,
3293    pub threads: rb_ractor_struct__bindgen_ty_1,
3294    pub thgroup_default: VALUE,
3295    pub name: VALUE,
3296    pub loc: VALUE,
3297    pub status_: rb_ractor_struct_ractor_status,
3298    pub vmlr_node: list_node,
3299    pub local_storage: *mut st_table,
3300    pub idkey_local_storage: *mut rb_id_table,
3301    pub r_stdin: VALUE,
3302    pub r_stdout: VALUE,
3303    pub r_stderr: VALUE,
3304    pub verbose: VALUE,
3305    pub debug: VALUE,
3306    pub newobj_cache: rb_ractor_newobj_cache_t,
3307    pub mfd: *mut rb_ractor_struct_gc_mark_func_data_struct,
3308}
3309#[repr(C)]
3310#[derive(Copy, Clone)]
3311pub struct rb_ractor_struct__bindgen_ty_1 {
3312    pub set: list_head,
3313    pub cnt: ::std::os::raw::c_uint,
3314    pub blocking_cnt: ::std::os::raw::c_uint,
3315    pub sleeper: ::std::os::raw::c_uint,
3316    pub gvl: rb_global_vm_lock_t,
3317    pub running_ec: *mut rb_execution_context_t,
3318    pub main: *mut rb_thread_t,
3319}
3320impl ::std::fmt::Debug for rb_ractor_struct__bindgen_ty_1 {
3321    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3322        write ! (f , "rb_ractor_struct__bindgen_ty_1 {{ set: {:?}, cnt: {:?}, blocking_cnt: {:?}, sleeper: {:?}, gvl: {:?}, running_ec: {:?}, main: {:?} }}" , self . set , self . cnt , self . blocking_cnt , self . sleeper , self . gvl , self . running_ec , self . main)
3323    }
3324}
3325pub const rb_ractor_struct_ractor_status_ractor_created: rb_ractor_struct_ractor_status = 0;
3326pub const rb_ractor_struct_ractor_status_ractor_running: rb_ractor_struct_ractor_status = 1;
3327pub const rb_ractor_struct_ractor_status_ractor_blocking: rb_ractor_struct_ractor_status = 2;
3328pub const rb_ractor_struct_ractor_status_ractor_terminated: rb_ractor_struct_ractor_status = 3;
3329pub type rb_ractor_struct_ractor_status = ::std::os::raw::c_uint;
3330#[repr(C)]
3331#[derive(Debug, Copy, Clone)]
3332pub struct rb_ractor_struct_gc_mark_func_data_struct {
3333    pub data: *mut ::std::os::raw::c_void,
3334    pub mark_func:
3335        ::std::option::Option<unsafe extern "C" fn(v: VALUE, data: *mut ::std::os::raw::c_void)>,
3336}
3337impl ::std::fmt::Debug for rb_ractor_struct {
3338    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3339        write ! (f , "rb_ractor_struct {{ pub: {:?}, sync: {:?}, receiving_mutex: {:?}, yield_atexit: {:?}, barrier_wait_cond: {:?}, threads: {:?}, thgroup_default: {:?}, name: {:?}, loc: {:?}, status_: {:?}, vmlr_node: {:?}, local_storage: {:?}, idkey_local_storage: {:?}, r_stdin: {:?}, r_stdout: {:?}, r_stderr: {:?}, verbose: {:?}, debug: {:?}, newobj_cache: {:?}, mfd: {:?} }}" , self . pub_ , self . sync , self . receiving_mutex , self . yield_atexit , self . barrier_wait_cond , self . threads , self . thgroup_default , self . name , self . loc , self . status_ , self . vmlr_node , self . local_storage , self . idkey_local_storage , self . r_stdin , self . r_stdout , self . r_stderr , self . verbose , self . debug , self . newobj_cache , self . mfd)
3340    }
3341}
3342#[repr(C)]
3343#[derive(Debug, Copy, Clone)]
3344pub struct iseq_compile_data {
3345    pub err_info: VALUE,
3346    pub catch_table_ary: VALUE,
3347    pub start_label: *mut iseq_label_data,
3348    pub end_label: *mut iseq_label_data,
3349    pub redo_label: *mut iseq_label_data,
3350    pub current_block: *const rb_iseq_t,
3351    pub ensure_node_stack: *mut iseq_compile_data_ensure_node_stack,
3352    pub node: iseq_compile_data__bindgen_ty_1,
3353    pub insn: iseq_compile_data__bindgen_ty_2,
3354    pub in_rescue: bool,
3355    pub loopval_popped: ::std::os::raw::c_int,
3356    pub last_line: ::std::os::raw::c_int,
3357    pub label_no: ::std::os::raw::c_int,
3358    pub node_level: ::std::os::raw::c_int,
3359    pub isolated_depth: ::std::os::raw::c_int,
3360    pub ci_index: ::std::os::raw::c_uint,
3361    pub option: *const rb_compile_option_t,
3362    pub ivar_cache_table: *mut rb_id_table,
3363    pub builtin_function_table: *const rb_builtin_function,
3364    pub root_node: *const NODE,
3365}
3366#[repr(C)]
3367#[derive(Debug, Copy, Clone)]
3368pub struct iseq_compile_data__bindgen_ty_1 {
3369    pub storage_head: *mut iseq_compile_data_storage,
3370    pub storage_current: *mut iseq_compile_data_storage,
3371}
3372#[repr(C)]
3373#[derive(Debug, Copy, Clone)]
3374pub struct iseq_compile_data__bindgen_ty_2 {
3375    pub storage_head: *mut iseq_compile_data_storage,
3376    pub storage_current: *mut iseq_compile_data_storage,
3377}
3378#[repr(C)]
3379#[derive(Debug, Copy, Clone)]
3380pub struct rb_compile_option_struct {
3381    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2usize]>,
3382    pub debug_level: ::std::os::raw::c_int,
3383}
3384impl rb_compile_option_struct {
3385    #[inline]
3386    #[allow(unnecessary_transmutes)]
3387    pub fn inline_const_cache(&self) -> ::std::os::raw::c_uint {
3388        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<0usize, 1u8>() as u32) }
3389    }
3390    #[inline]
3391    #[allow(unnecessary_transmutes)]
3392    pub fn set_inline_const_cache(&mut self, val: ::std::os::raw::c_uint) {
3393        unsafe {
3394            let val: u32 = ::std::mem::transmute(val);
3395            self._bitfield_1.set_const::<0usize, 1u8>(val as u64)
3396        }
3397    }
3398    #[inline]
3399    #[allow(unnecessary_transmutes)]
3400    pub unsafe fn inline_const_cache_raw(this: *const Self) -> ::std::os::raw::c_uint {
3401        unsafe {
3402            ::std::mem::transmute(
3403                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<0usize, 1u8>(
3404                    ::std::ptr::addr_of!((*this)._bitfield_1),
3405                ) as u32,
3406            )
3407        }
3408    }
3409    #[inline]
3410    #[allow(unnecessary_transmutes)]
3411    pub unsafe fn set_inline_const_cache_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
3412        unsafe {
3413            let val: u32 = ::std::mem::transmute(val);
3414            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<0usize, 1u8>(
3415                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
3416                val as u64,
3417            )
3418        }
3419    }
3420    #[inline]
3421    #[allow(unnecessary_transmutes)]
3422    pub fn peephole_optimization(&self) -> ::std::os::raw::c_uint {
3423        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<1usize, 1u8>() as u32) }
3424    }
3425    #[inline]
3426    #[allow(unnecessary_transmutes)]
3427    pub fn set_peephole_optimization(&mut self, val: ::std::os::raw::c_uint) {
3428        unsafe {
3429            let val: u32 = ::std::mem::transmute(val);
3430            self._bitfield_1.set_const::<1usize, 1u8>(val as u64)
3431        }
3432    }
3433    #[inline]
3434    #[allow(unnecessary_transmutes)]
3435    pub unsafe fn peephole_optimization_raw(this: *const Self) -> ::std::os::raw::c_uint {
3436        unsafe {
3437            ::std::mem::transmute(
3438                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<1usize, 1u8>(
3439                    ::std::ptr::addr_of!((*this)._bitfield_1),
3440                ) as u32,
3441            )
3442        }
3443    }
3444    #[inline]
3445    #[allow(unnecessary_transmutes)]
3446    pub unsafe fn set_peephole_optimization_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
3447        unsafe {
3448            let val: u32 = ::std::mem::transmute(val);
3449            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<1usize, 1u8>(
3450                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
3451                val as u64,
3452            )
3453        }
3454    }
3455    #[inline]
3456    #[allow(unnecessary_transmutes)]
3457    pub fn tailcall_optimization(&self) -> ::std::os::raw::c_uint {
3458        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<2usize, 1u8>() as u32) }
3459    }
3460    #[inline]
3461    #[allow(unnecessary_transmutes)]
3462    pub fn set_tailcall_optimization(&mut self, val: ::std::os::raw::c_uint) {
3463        unsafe {
3464            let val: u32 = ::std::mem::transmute(val);
3465            self._bitfield_1.set_const::<2usize, 1u8>(val as u64)
3466        }
3467    }
3468    #[inline]
3469    #[allow(unnecessary_transmutes)]
3470    pub unsafe fn tailcall_optimization_raw(this: *const Self) -> ::std::os::raw::c_uint {
3471        unsafe {
3472            ::std::mem::transmute(
3473                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<2usize, 1u8>(
3474                    ::std::ptr::addr_of!((*this)._bitfield_1),
3475                ) as u32,
3476            )
3477        }
3478    }
3479    #[inline]
3480    #[allow(unnecessary_transmutes)]
3481    pub unsafe fn set_tailcall_optimization_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
3482        unsafe {
3483            let val: u32 = ::std::mem::transmute(val);
3484            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<2usize, 1u8>(
3485                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
3486                val as u64,
3487            )
3488        }
3489    }
3490    #[inline]
3491    #[allow(unnecessary_transmutes)]
3492    pub fn specialized_instruction(&self) -> ::std::os::raw::c_uint {
3493        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<3usize, 1u8>() as u32) }
3494    }
3495    #[inline]
3496    #[allow(unnecessary_transmutes)]
3497    pub fn set_specialized_instruction(&mut self, val: ::std::os::raw::c_uint) {
3498        unsafe {
3499            let val: u32 = ::std::mem::transmute(val);
3500            self._bitfield_1.set_const::<3usize, 1u8>(val as u64)
3501        }
3502    }
3503    #[inline]
3504    #[allow(unnecessary_transmutes)]
3505    pub unsafe fn specialized_instruction_raw(this: *const Self) -> ::std::os::raw::c_uint {
3506        unsafe {
3507            ::std::mem::transmute(
3508                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<3usize, 1u8>(
3509                    ::std::ptr::addr_of!((*this)._bitfield_1),
3510                ) as u32,
3511            )
3512        }
3513    }
3514    #[inline]
3515    #[allow(unnecessary_transmutes)]
3516    pub unsafe fn set_specialized_instruction_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
3517        unsafe {
3518            let val: u32 = ::std::mem::transmute(val);
3519            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<3usize, 1u8>(
3520                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
3521                val as u64,
3522            )
3523        }
3524    }
3525    #[inline]
3526    #[allow(unnecessary_transmutes)]
3527    pub fn operands_unification(&self) -> ::std::os::raw::c_uint {
3528        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<4usize, 1u8>() as u32) }
3529    }
3530    #[inline]
3531    #[allow(unnecessary_transmutes)]
3532    pub fn set_operands_unification(&mut self, val: ::std::os::raw::c_uint) {
3533        unsafe {
3534            let val: u32 = ::std::mem::transmute(val);
3535            self._bitfield_1.set_const::<4usize, 1u8>(val as u64)
3536        }
3537    }
3538    #[inline]
3539    #[allow(unnecessary_transmutes)]
3540    pub unsafe fn operands_unification_raw(this: *const Self) -> ::std::os::raw::c_uint {
3541        unsafe {
3542            ::std::mem::transmute(
3543                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<4usize, 1u8>(
3544                    ::std::ptr::addr_of!((*this)._bitfield_1),
3545                ) as u32,
3546            )
3547        }
3548    }
3549    #[inline]
3550    #[allow(unnecessary_transmutes)]
3551    pub unsafe fn set_operands_unification_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
3552        unsafe {
3553            let val: u32 = ::std::mem::transmute(val);
3554            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<4usize, 1u8>(
3555                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
3556                val as u64,
3557            )
3558        }
3559    }
3560    #[inline]
3561    #[allow(unnecessary_transmutes)]
3562    pub fn instructions_unification(&self) -> ::std::os::raw::c_uint {
3563        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<5usize, 1u8>() as u32) }
3564    }
3565    #[inline]
3566    #[allow(unnecessary_transmutes)]
3567    pub fn set_instructions_unification(&mut self, val: ::std::os::raw::c_uint) {
3568        unsafe {
3569            let val: u32 = ::std::mem::transmute(val);
3570            self._bitfield_1.set_const::<5usize, 1u8>(val as u64)
3571        }
3572    }
3573    #[inline]
3574    #[allow(unnecessary_transmutes)]
3575    pub unsafe fn instructions_unification_raw(this: *const Self) -> ::std::os::raw::c_uint {
3576        unsafe {
3577            ::std::mem::transmute(
3578                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<5usize, 1u8>(
3579                    ::std::ptr::addr_of!((*this)._bitfield_1),
3580                ) as u32,
3581            )
3582        }
3583    }
3584    #[inline]
3585    #[allow(unnecessary_transmutes)]
3586    pub unsafe fn set_instructions_unification_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
3587        unsafe {
3588            let val: u32 = ::std::mem::transmute(val);
3589            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<5usize, 1u8>(
3590                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
3591                val as u64,
3592            )
3593        }
3594    }
3595    #[inline]
3596    #[allow(unnecessary_transmutes)]
3597    pub fn stack_caching(&self) -> ::std::os::raw::c_uint {
3598        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<6usize, 1u8>() as u32) }
3599    }
3600    #[inline]
3601    #[allow(unnecessary_transmutes)]
3602    pub fn set_stack_caching(&mut self, val: ::std::os::raw::c_uint) {
3603        unsafe {
3604            let val: u32 = ::std::mem::transmute(val);
3605            self._bitfield_1.set_const::<6usize, 1u8>(val as u64)
3606        }
3607    }
3608    #[inline]
3609    #[allow(unnecessary_transmutes)]
3610    pub unsafe fn stack_caching_raw(this: *const Self) -> ::std::os::raw::c_uint {
3611        unsafe {
3612            ::std::mem::transmute(
3613                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<6usize, 1u8>(
3614                    ::std::ptr::addr_of!((*this)._bitfield_1),
3615                ) as u32,
3616            )
3617        }
3618    }
3619    #[inline]
3620    #[allow(unnecessary_transmutes)]
3621    pub unsafe fn set_stack_caching_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
3622        unsafe {
3623            let val: u32 = ::std::mem::transmute(val);
3624            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<6usize, 1u8>(
3625                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
3626                val as u64,
3627            )
3628        }
3629    }
3630    #[inline]
3631    #[allow(unnecessary_transmutes)]
3632    pub fn frozen_string_literal(&self) -> ::std::os::raw::c_uint {
3633        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<7usize, 1u8>() as u32) }
3634    }
3635    #[inline]
3636    #[allow(unnecessary_transmutes)]
3637    pub fn set_frozen_string_literal(&mut self, val: ::std::os::raw::c_uint) {
3638        unsafe {
3639            let val: u32 = ::std::mem::transmute(val);
3640            self._bitfield_1.set_const::<7usize, 1u8>(val as u64)
3641        }
3642    }
3643    #[inline]
3644    #[allow(unnecessary_transmutes)]
3645    pub unsafe fn frozen_string_literal_raw(this: *const Self) -> ::std::os::raw::c_uint {
3646        unsafe {
3647            ::std::mem::transmute(
3648                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<7usize, 1u8>(
3649                    ::std::ptr::addr_of!((*this)._bitfield_1),
3650                ) as u32,
3651            )
3652        }
3653    }
3654    #[inline]
3655    #[allow(unnecessary_transmutes)]
3656    pub unsafe fn set_frozen_string_literal_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
3657        unsafe {
3658            let val: u32 = ::std::mem::transmute(val);
3659            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<7usize, 1u8>(
3660                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
3661                val as u64,
3662            )
3663        }
3664    }
3665    #[inline]
3666    #[allow(unnecessary_transmutes)]
3667    pub fn debug_frozen_string_literal(&self) -> ::std::os::raw::c_uint {
3668        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<8usize, 1u8>() as u32) }
3669    }
3670    #[inline]
3671    #[allow(unnecessary_transmutes)]
3672    pub fn set_debug_frozen_string_literal(&mut self, val: ::std::os::raw::c_uint) {
3673        unsafe {
3674            let val: u32 = ::std::mem::transmute(val);
3675            self._bitfield_1.set_const::<8usize, 1u8>(val as u64)
3676        }
3677    }
3678    #[inline]
3679    #[allow(unnecessary_transmutes)]
3680    pub unsafe fn debug_frozen_string_literal_raw(this: *const Self) -> ::std::os::raw::c_uint {
3681        unsafe {
3682            ::std::mem::transmute(
3683                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<8usize, 1u8>(
3684                    ::std::ptr::addr_of!((*this)._bitfield_1),
3685                ) as u32,
3686            )
3687        }
3688    }
3689    #[inline]
3690    #[allow(unnecessary_transmutes)]
3691    pub unsafe fn set_debug_frozen_string_literal_raw(
3692        this: *mut Self,
3693        val: ::std::os::raw::c_uint,
3694    ) {
3695        unsafe {
3696            let val: u32 = ::std::mem::transmute(val);
3697            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<8usize, 1u8>(
3698                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
3699                val as u64,
3700            )
3701        }
3702    }
3703    #[inline]
3704    #[allow(unnecessary_transmutes)]
3705    pub fn coverage_enabled(&self) -> ::std::os::raw::c_uint {
3706        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<9usize, 1u8>() as u32) }
3707    }
3708    #[inline]
3709    #[allow(unnecessary_transmutes)]
3710    pub fn set_coverage_enabled(&mut self, val: ::std::os::raw::c_uint) {
3711        unsafe {
3712            let val: u32 = ::std::mem::transmute(val);
3713            self._bitfield_1.set_const::<9usize, 1u8>(val as u64)
3714        }
3715    }
3716    #[inline]
3717    #[allow(unnecessary_transmutes)]
3718    pub unsafe fn coverage_enabled_raw(this: *const Self) -> ::std::os::raw::c_uint {
3719        unsafe {
3720            ::std::mem::transmute(
3721                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<9usize, 1u8>(
3722                    ::std::ptr::addr_of!((*this)._bitfield_1),
3723                ) as u32,
3724            )
3725        }
3726    }
3727    #[inline]
3728    #[allow(unnecessary_transmutes)]
3729    pub unsafe fn set_coverage_enabled_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
3730        unsafe {
3731            let val: u32 = ::std::mem::transmute(val);
3732            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<9usize, 1u8>(
3733                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
3734                val as u64,
3735            )
3736        }
3737    }
3738    #[inline]
3739    #[allow(unnecessary_transmutes)]
3740    pub fn new_bitfield_1(
3741        inline_const_cache: ::std::os::raw::c_uint,
3742        peephole_optimization: ::std::os::raw::c_uint,
3743        tailcall_optimization: ::std::os::raw::c_uint,
3744        specialized_instruction: ::std::os::raw::c_uint,
3745        operands_unification: ::std::os::raw::c_uint,
3746        instructions_unification: ::std::os::raw::c_uint,
3747        stack_caching: ::std::os::raw::c_uint,
3748        frozen_string_literal: ::std::os::raw::c_uint,
3749        debug_frozen_string_literal: ::std::os::raw::c_uint,
3750        coverage_enabled: ::std::os::raw::c_uint,
3751    ) -> __BindgenBitfieldUnit<[u8; 2usize]> {
3752        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 2usize]> = Default::default();
3753        __bindgen_bitfield_unit.set_const::<0usize, 1u8>({
3754            let inline_const_cache: u32 = unsafe { ::std::mem::transmute(inline_const_cache) };
3755            inline_const_cache as u64
3756        });
3757        __bindgen_bitfield_unit.set_const::<1usize, 1u8>({
3758            let peephole_optimization: u32 =
3759                unsafe { ::std::mem::transmute(peephole_optimization) };
3760            peephole_optimization as u64
3761        });
3762        __bindgen_bitfield_unit.set_const::<2usize, 1u8>({
3763            let tailcall_optimization: u32 =
3764                unsafe { ::std::mem::transmute(tailcall_optimization) };
3765            tailcall_optimization as u64
3766        });
3767        __bindgen_bitfield_unit.set_const::<3usize, 1u8>({
3768            let specialized_instruction: u32 =
3769                unsafe { ::std::mem::transmute(specialized_instruction) };
3770            specialized_instruction as u64
3771        });
3772        __bindgen_bitfield_unit.set_const::<4usize, 1u8>({
3773            let operands_unification: u32 = unsafe { ::std::mem::transmute(operands_unification) };
3774            operands_unification as u64
3775        });
3776        __bindgen_bitfield_unit.set_const::<5usize, 1u8>({
3777            let instructions_unification: u32 =
3778                unsafe { ::std::mem::transmute(instructions_unification) };
3779            instructions_unification as u64
3780        });
3781        __bindgen_bitfield_unit.set_const::<6usize, 1u8>({
3782            let stack_caching: u32 = unsafe { ::std::mem::transmute(stack_caching) };
3783            stack_caching as u64
3784        });
3785        __bindgen_bitfield_unit.set_const::<7usize, 1u8>({
3786            let frozen_string_literal: u32 =
3787                unsafe { ::std::mem::transmute(frozen_string_literal) };
3788            frozen_string_literal as u64
3789        });
3790        __bindgen_bitfield_unit.set_const::<8usize, 1u8>({
3791            let debug_frozen_string_literal: u32 =
3792                unsafe { ::std::mem::transmute(debug_frozen_string_literal) };
3793            debug_frozen_string_literal as u64
3794        });
3795        __bindgen_bitfield_unit.set_const::<9usize, 1u8>({
3796            let coverage_enabled: u32 = unsafe { ::std::mem::transmute(coverage_enabled) };
3797            coverage_enabled as u64
3798        });
3799        __bindgen_bitfield_unit
3800    }
3801}
3802#[repr(C)]
3803#[derive(Debug, Copy, Clone)]
3804pub struct iseq_insn_info_entry {
3805    pub line_no: ::std::os::raw::c_int,
3806    pub node_id: ::std::os::raw::c_int,
3807    pub events: rb_event_flag_t,
3808}
3809#[repr(C)]
3810#[derive(Debug, Copy, Clone)]
3811pub struct iseq_catch_table_entry {
3812    pub type_: iseq_catch_table_entry_catch_type,
3813    pub iseq: *mut rb_iseq_t,
3814    pub start: ::std::os::raw::c_uint,
3815    pub end: ::std::os::raw::c_uint,
3816    pub cont: ::std::os::raw::c_uint,
3817    pub sp: ::std::os::raw::c_uint,
3818}
3819pub const iseq_catch_table_entry_catch_type_CATCH_TYPE_RESCUE: iseq_catch_table_entry_catch_type =
3820    3;
3821pub const iseq_catch_table_entry_catch_type_CATCH_TYPE_ENSURE: iseq_catch_table_entry_catch_type =
3822    5;
3823pub const iseq_catch_table_entry_catch_type_CATCH_TYPE_RETRY: iseq_catch_table_entry_catch_type = 7;
3824pub const iseq_catch_table_entry_catch_type_CATCH_TYPE_BREAK: iseq_catch_table_entry_catch_type = 9;
3825pub const iseq_catch_table_entry_catch_type_CATCH_TYPE_REDO: iseq_catch_table_entry_catch_type = 11;
3826pub const iseq_catch_table_entry_catch_type_CATCH_TYPE_NEXT: iseq_catch_table_entry_catch_type = 13;
3827pub type iseq_catch_table_entry_catch_type = ::std::os::raw::c_uint;
3828#[repr(C, packed)]
3829pub struct iseq_catch_table {
3830    pub size: ::std::os::raw::c_uint,
3831    pub entries: __IncompleteArrayField<iseq_catch_table_entry>,
3832}
3833#[repr(C)]
3834#[derive(Debug)]
3835pub struct iseq_compile_data_storage {
3836    pub next: *mut iseq_compile_data_storage,
3837    pub pos: ::std::os::raw::c_uint,
3838    pub size: ::std::os::raw::c_uint,
3839    pub buff: __IncompleteArrayField<::std::os::raw::c_char>,
3840}
3841#[repr(C)]
3842#[derive(Debug, Copy, Clone)]
3843pub struct RVALUE {
3844    pub _address: u8,
3845}
3846#[repr(C)]
3847#[derive(Debug, Copy, Clone)]
3848pub struct heap_page {
3849    pub _address: u8,
3850}
3851#[repr(C)]
3852#[derive(Debug, Copy, Clone)]
3853pub struct rb_iv_index_tbl_entry {
3854    pub _address: u8,
3855}
3856#[repr(C)]
3857#[derive(Debug, Copy, Clone)]
3858pub struct yjit_block_version {
3859    pub _address: u8,
3860}
3861#[repr(C)]
3862#[derive(Debug, Copy, Clone)]
3863pub struct succ_index_table {
3864    pub _address: u8,
3865}
3866#[repr(C)]
3867#[derive(Debug, Copy, Clone)]
3868pub struct rb_call_data {
3869    pub _address: u8,
3870}
3871#[repr(C)]
3872#[derive(Debug, Copy, Clone)]
3873pub struct rb_event_hook_struct {
3874    pub _address: u8,
3875}
3876#[repr(C)]
3877#[derive(Debug, Copy, Clone)]
3878pub struct rb_postponed_job_struct {
3879    pub _address: u8,
3880}
3881#[repr(C)]
3882#[derive(Debug, Copy, Clone)]
3883pub struct iseq_label_data {
3884    pub _address: u8,
3885}
3886#[repr(C)]
3887#[derive(Debug, Copy, Clone)]
3888pub struct iseq_compile_data_ensure_node_stack {
3889    pub _address: u8,
3890}