Skip to main content

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