Skip to main content

rbspy_ruby_structs/
ruby_4_0_2.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_user: u8,
1085    pub is_optional: u8,
1086}
1087pub type rb_box_t = rb_box_struct;
1088pub type rb_serial_t = ::std::os::raw::c_ulonglong;
1089#[repr(C)]
1090#[derive(Debug)]
1091pub struct set_table_entry {
1092    _unused: [u8; 0],
1093}
1094#[repr(C)]
1095#[derive(Debug, Copy, Clone)]
1096pub struct set_table {
1097    pub entry_power: ::std::os::raw::c_uchar,
1098    pub bin_power: ::std::os::raw::c_uchar,
1099    pub size_ind: ::std::os::raw::c_uchar,
1100    pub rebuilds_num: ::std::os::raw::c_uint,
1101    pub type_: *const st_hash_type,
1102    pub num_entries: st_index_t,
1103    pub entries_start: st_index_t,
1104    pub entries_bound: st_index_t,
1105    pub entries: *mut set_table_entry,
1106}
1107pub const method_missing_reason_MISSING_NOENTRY: method_missing_reason = 0;
1108pub const method_missing_reason_MISSING_PRIVATE: method_missing_reason = 1;
1109pub const method_missing_reason_MISSING_PROTECTED: method_missing_reason = 2;
1110pub const method_missing_reason_MISSING_FCALL: method_missing_reason = 4;
1111pub const method_missing_reason_MISSING_VCALL: method_missing_reason = 8;
1112pub const method_missing_reason_MISSING_SUPER: method_missing_reason = 16;
1113pub const method_missing_reason_MISSING_MISSING: method_missing_reason = 32;
1114pub const method_missing_reason_MISSING_NONE: method_missing_reason = 64;
1115pub type method_missing_reason = ::std::os::raw::c_uint;
1116#[repr(C)]
1117#[derive(Debug)]
1118pub struct rb_callcache {
1119    _unused: [u8; 0],
1120}
1121#[repr(C)]
1122#[derive(Debug)]
1123pub struct rb_id_table {
1124    _unused: [u8; 0],
1125}
1126pub const imemo_type_imemo_env: imemo_type = 0;
1127pub const imemo_type_imemo_cref: imemo_type = 1;
1128pub const imemo_type_imemo_svar: imemo_type = 2;
1129pub const imemo_type_imemo_throw_data: imemo_type = 3;
1130pub const imemo_type_imemo_ifunc: imemo_type = 4;
1131pub const imemo_type_imemo_memo: imemo_type = 5;
1132pub const imemo_type_imemo_ment: imemo_type = 6;
1133pub const imemo_type_imemo_iseq: imemo_type = 7;
1134pub const imemo_type_imemo_tmpbuf: imemo_type = 8;
1135pub const imemo_type_imemo_callinfo: imemo_type = 10;
1136pub const imemo_type_imemo_callcache: imemo_type = 11;
1137pub const imemo_type_imemo_constcache: imemo_type = 12;
1138pub const imemo_type_imemo_fields: imemo_type = 13;
1139pub type imemo_type = ::std::os::raw::c_uint;
1140#[repr(C)]
1141#[derive(Debug, Copy, Clone)]
1142pub struct vm_svar {
1143    pub flags: VALUE,
1144    pub cref_or_me: VALUE,
1145    pub lastline: VALUE,
1146    pub backref: VALUE,
1147    pub others: VALUE,
1148}
1149pub type rb_atomic_t = ::std::os::raw::c_uint;
1150pub const rb_method_visibility_t_METHOD_VISI_UNDEF: rb_method_visibility_t = 0;
1151pub const rb_method_visibility_t_METHOD_VISI_PUBLIC: rb_method_visibility_t = 1;
1152pub const rb_method_visibility_t_METHOD_VISI_PRIVATE: rb_method_visibility_t = 2;
1153pub const rb_method_visibility_t_METHOD_VISI_PROTECTED: rb_method_visibility_t = 3;
1154pub const rb_method_visibility_t_METHOD_VISI_MASK: rb_method_visibility_t = 3;
1155pub type rb_method_visibility_t = ::std::os::raw::c_uint;
1156#[repr(C)]
1157#[derive(Debug, Copy, Clone)]
1158pub struct rb_scope_visi_struct {
1159    pub _bindgen_align: [u32; 0],
1160    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
1161    pub __bindgen_padding_0: [u8; 3usize],
1162}
1163impl rb_scope_visi_struct {
1164    #[inline]
1165    #[allow(unnecessary_transmutes)]
1166    pub fn method_visi(&self) -> rb_method_visibility_t {
1167        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<0usize, 3u8>() as u32) }
1168    }
1169    #[inline]
1170    #[allow(unnecessary_transmutes)]
1171    pub fn set_method_visi(&mut self, val: rb_method_visibility_t) {
1172        unsafe {
1173            let val: u32 = ::std::mem::transmute(val);
1174            self._bitfield_1.set_const::<0usize, 3u8>(val as u64)
1175        }
1176    }
1177    #[inline]
1178    #[allow(unnecessary_transmutes)]
1179    pub unsafe fn method_visi_raw(this: *const Self) -> rb_method_visibility_t {
1180        unsafe {
1181            ::std::mem::transmute(
1182                <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<0usize, 3u8>(
1183                    ::std::ptr::addr_of!((*this)._bitfield_1),
1184                ) as u32,
1185            )
1186        }
1187    }
1188    #[inline]
1189    #[allow(unnecessary_transmutes)]
1190    pub unsafe fn set_method_visi_raw(this: *mut Self, val: rb_method_visibility_t) {
1191        unsafe {
1192            let val: u32 = ::std::mem::transmute(val);
1193            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<0usize, 3u8>(
1194                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1195                val as u64,
1196            )
1197        }
1198    }
1199    #[inline]
1200    #[allow(unnecessary_transmutes)]
1201    pub fn module_func(&self) -> ::std::os::raw::c_uint {
1202        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<3usize, 1u8>() as u32) }
1203    }
1204    #[inline]
1205    #[allow(unnecessary_transmutes)]
1206    pub fn set_module_func(&mut self, val: ::std::os::raw::c_uint) {
1207        unsafe {
1208            let val: u32 = ::std::mem::transmute(val);
1209            self._bitfield_1.set_const::<3usize, 1u8>(val as u64)
1210        }
1211    }
1212    #[inline]
1213    #[allow(unnecessary_transmutes)]
1214    pub unsafe fn module_func_raw(this: *const Self) -> ::std::os::raw::c_uint {
1215        unsafe {
1216            ::std::mem::transmute(
1217                <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<3usize, 1u8>(
1218                    ::std::ptr::addr_of!((*this)._bitfield_1),
1219                ) as u32,
1220            )
1221        }
1222    }
1223    #[inline]
1224    #[allow(unnecessary_transmutes)]
1225    pub unsafe fn set_module_func_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1226        unsafe {
1227            let val: u32 = ::std::mem::transmute(val);
1228            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<3usize, 1u8>(
1229                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1230                val as u64,
1231            )
1232        }
1233    }
1234    #[inline]
1235    #[allow(unnecessary_transmutes)]
1236    pub fn new_bitfield_1(
1237        method_visi: rb_method_visibility_t,
1238        module_func: ::std::os::raw::c_uint,
1239    ) -> __BindgenBitfieldUnit<[u8; 1usize]> {
1240        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
1241        __bindgen_bitfield_unit.set_const::<0usize, 3u8>({
1242            let method_visi: u32 = unsafe { ::std::mem::transmute(method_visi) };
1243            method_visi as u64
1244        });
1245        __bindgen_bitfield_unit.set_const::<3usize, 1u8>({
1246            let module_func: u32 = unsafe { ::std::mem::transmute(module_func) };
1247            module_func as u64
1248        });
1249        __bindgen_bitfield_unit
1250    }
1251}
1252pub type rb_scope_visibility_t = rb_scope_visi_struct;
1253#[repr(C)]
1254#[derive(Debug, Copy, Clone)]
1255pub struct rb_cref_struct {
1256    pub flags: VALUE,
1257    pub refinements: VALUE,
1258    pub klass_or_self: VALUE,
1259    pub next: *mut rb_cref_struct,
1260    pub scope_visi: rb_scope_visibility_t,
1261}
1262pub type rb_cref_t = rb_cref_struct;
1263#[repr(C)]
1264#[derive(Debug, Copy, Clone)]
1265pub struct rb_method_entry_struct {
1266    pub flags: VALUE,
1267    pub defined_class: VALUE,
1268    pub def: *mut rb_method_definition_struct,
1269    pub called_id: ID,
1270    pub owner: VALUE,
1271}
1272pub const rb_method_type_t_VM_METHOD_TYPE_ISEQ: rb_method_type_t = 0;
1273pub const rb_method_type_t_VM_METHOD_TYPE_CFUNC: rb_method_type_t = 1;
1274pub const rb_method_type_t_VM_METHOD_TYPE_ATTRSET: rb_method_type_t = 2;
1275pub const rb_method_type_t_VM_METHOD_TYPE_IVAR: rb_method_type_t = 3;
1276pub const rb_method_type_t_VM_METHOD_TYPE_BMETHOD: rb_method_type_t = 4;
1277pub const rb_method_type_t_VM_METHOD_TYPE_ZSUPER: rb_method_type_t = 5;
1278pub const rb_method_type_t_VM_METHOD_TYPE_ALIAS: rb_method_type_t = 6;
1279pub const rb_method_type_t_VM_METHOD_TYPE_UNDEF: rb_method_type_t = 7;
1280pub const rb_method_type_t_VM_METHOD_TYPE_NOTIMPLEMENTED: rb_method_type_t = 8;
1281pub const rb_method_type_t_VM_METHOD_TYPE_OPTIMIZED: rb_method_type_t = 9;
1282pub const rb_method_type_t_VM_METHOD_TYPE_MISSING: rb_method_type_t = 10;
1283pub const rb_method_type_t_VM_METHOD_TYPE_REFINED: rb_method_type_t = 11;
1284pub type rb_method_type_t = ::std::os::raw::c_uint;
1285pub type rb_iseq_t = rb_iseq_struct;
1286#[repr(C)]
1287#[derive(Debug, Copy, Clone)]
1288pub struct rb_method_iseq_struct {
1289    pub iseqptr: *const rb_iseq_t,
1290    pub cref: *mut rb_cref_t,
1291}
1292pub type rb_method_iseq_t = rb_method_iseq_struct;
1293pub type rb_cfunc_t = ::std::option::Option<unsafe extern "C" fn() -> VALUE>;
1294#[repr(C)]
1295#[derive(Debug, Copy, Clone)]
1296pub struct rb_method_cfunc_struct {
1297    pub func: rb_cfunc_t,
1298    pub invoker: ::std::option::Option<
1299        unsafe extern "C" fn(
1300            recv: VALUE,
1301            argc: ::std::os::raw::c_int,
1302            argv: *const VALUE,
1303            func: ::std::option::Option<unsafe extern "C" fn() -> VALUE>,
1304        ) -> VALUE,
1305    >,
1306    pub argc: ::std::os::raw::c_int,
1307}
1308pub type rb_method_cfunc_t = rb_method_cfunc_struct;
1309#[repr(C)]
1310#[derive(Debug, Copy, Clone)]
1311pub struct rb_method_attr_struct {
1312    pub id: ID,
1313    pub location: VALUE,
1314}
1315pub type rb_method_attr_t = rb_method_attr_struct;
1316#[repr(C)]
1317#[derive(Debug, Copy, Clone)]
1318pub struct rb_method_alias_struct {
1319    pub original_me: *mut rb_method_entry_struct,
1320}
1321pub type rb_method_alias_t = rb_method_alias_struct;
1322#[repr(C)]
1323#[derive(Debug, Copy, Clone)]
1324pub struct rb_method_refined_struct {
1325    pub orig_me: *mut rb_method_entry_struct,
1326}
1327pub type rb_method_refined_t = rb_method_refined_struct;
1328#[repr(C)]
1329#[derive(Debug, Copy, Clone)]
1330pub struct rb_method_bmethod_struct {
1331    pub proc_: VALUE,
1332    pub defined_ractor_id: rb_serial_t,
1333    pub local_hooks_cnt: ::std::os::raw::c_uint,
1334}
1335pub type rb_method_bmethod_t = rb_method_bmethod_struct;
1336pub const method_optimized_type_OPTIMIZED_METHOD_TYPE_SEND: method_optimized_type = 0;
1337pub const method_optimized_type_OPTIMIZED_METHOD_TYPE_CALL: method_optimized_type = 1;
1338pub const method_optimized_type_OPTIMIZED_METHOD_TYPE_BLOCK_CALL: method_optimized_type = 2;
1339pub const method_optimized_type_OPTIMIZED_METHOD_TYPE_STRUCT_AREF: method_optimized_type = 3;
1340pub const method_optimized_type_OPTIMIZED_METHOD_TYPE_STRUCT_ASET: method_optimized_type = 4;
1341pub const method_optimized_type_OPTIMIZED_METHOD_TYPE__MAX: method_optimized_type = 5;
1342pub type method_optimized_type = ::std::os::raw::c_uint;
1343#[repr(C)]
1344#[derive(Debug, Copy, Clone)]
1345pub struct rb_method_optimized {
1346    pub type_: method_optimized_type,
1347    pub index: ::std::os::raw::c_uint,
1348}
1349pub type rb_method_optimized_t = rb_method_optimized;
1350#[repr(C)]
1351#[derive(Copy, Clone)]
1352pub struct rb_method_definition_struct {
1353    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
1354    pub reference_count: rb_atomic_t,
1355    pub body: rb_method_definition_struct__bindgen_ty_1,
1356    pub original_id: ID,
1357    pub method_serial: usize,
1358    pub box_: *const rb_box_t,
1359}
1360#[repr(C)]
1361#[derive(Copy, Clone)]
1362pub union rb_method_definition_struct__bindgen_ty_1 {
1363    pub iseq: rb_method_iseq_t,
1364    pub cfunc: rb_method_cfunc_t,
1365    pub attr: rb_method_attr_t,
1366    pub alias: rb_method_alias_t,
1367    pub refined: rb_method_refined_t,
1368    pub bmethod: rb_method_bmethod_t,
1369    pub optimized: rb_method_optimized_t,
1370}
1371impl ::std::fmt::Debug for rb_method_definition_struct__bindgen_ty_1 {
1372    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1373        write!(f, "rb_method_definition_struct__bindgen_ty_1 {{ union }}")
1374    }
1375}
1376impl rb_method_definition_struct {
1377    #[inline]
1378    #[allow(unnecessary_transmutes)]
1379    pub fn type_(&self) -> rb_method_type_t {
1380        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<0usize, 4u8>() as u32) }
1381    }
1382    #[inline]
1383    #[allow(unnecessary_transmutes)]
1384    pub fn set_type(&mut self, val: rb_method_type_t) {
1385        unsafe {
1386            let val: u32 = ::std::mem::transmute(val);
1387            self._bitfield_1.set_const::<0usize, 4u8>(val as u64)
1388        }
1389    }
1390    #[inline]
1391    #[allow(unnecessary_transmutes)]
1392    pub unsafe fn type__raw(this: *const Self) -> rb_method_type_t {
1393        unsafe {
1394            ::std::mem::transmute(
1395                <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<0usize, 4u8>(
1396                    ::std::ptr::addr_of!((*this)._bitfield_1),
1397                ) as u32,
1398            )
1399        }
1400    }
1401    #[inline]
1402    #[allow(unnecessary_transmutes)]
1403    pub unsafe fn set_type_raw(this: *mut Self, val: rb_method_type_t) {
1404        unsafe {
1405            let val: u32 = ::std::mem::transmute(val);
1406            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<0usize, 4u8>(
1407                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1408                val as u64,
1409            )
1410        }
1411    }
1412    #[inline]
1413    #[allow(unnecessary_transmutes)]
1414    pub fn iseq_overload(&self) -> ::std::os::raw::c_uint {
1415        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<4usize, 1u8>() as u32) }
1416    }
1417    #[inline]
1418    #[allow(unnecessary_transmutes)]
1419    pub fn set_iseq_overload(&mut self, val: ::std::os::raw::c_uint) {
1420        unsafe {
1421            let val: u32 = ::std::mem::transmute(val);
1422            self._bitfield_1.set_const::<4usize, 1u8>(val as u64)
1423        }
1424    }
1425    #[inline]
1426    #[allow(unnecessary_transmutes)]
1427    pub unsafe fn iseq_overload_raw(this: *const Self) -> ::std::os::raw::c_uint {
1428        unsafe {
1429            ::std::mem::transmute(
1430                <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<4usize, 1u8>(
1431                    ::std::ptr::addr_of!((*this)._bitfield_1),
1432                ) as u32,
1433            )
1434        }
1435    }
1436    #[inline]
1437    #[allow(unnecessary_transmutes)]
1438    pub unsafe fn set_iseq_overload_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1439        unsafe {
1440            let val: u32 = ::std::mem::transmute(val);
1441            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<4usize, 1u8>(
1442                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1443                val as u64,
1444            )
1445        }
1446    }
1447    #[inline]
1448    #[allow(unnecessary_transmutes)]
1449    pub fn no_redef_warning(&self) -> ::std::os::raw::c_uint {
1450        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<5usize, 1u8>() as u32) }
1451    }
1452    #[inline]
1453    #[allow(unnecessary_transmutes)]
1454    pub fn set_no_redef_warning(&mut self, val: ::std::os::raw::c_uint) {
1455        unsafe {
1456            let val: u32 = ::std::mem::transmute(val);
1457            self._bitfield_1.set_const::<5usize, 1u8>(val as u64)
1458        }
1459    }
1460    #[inline]
1461    #[allow(unnecessary_transmutes)]
1462    pub unsafe fn no_redef_warning_raw(this: *const Self) -> ::std::os::raw::c_uint {
1463        unsafe {
1464            ::std::mem::transmute(
1465                <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<5usize, 1u8>(
1466                    ::std::ptr::addr_of!((*this)._bitfield_1),
1467                ) as u32,
1468            )
1469        }
1470    }
1471    #[inline]
1472    #[allow(unnecessary_transmutes)]
1473    pub unsafe fn set_no_redef_warning_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1474        unsafe {
1475            let val: u32 = ::std::mem::transmute(val);
1476            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<5usize, 1u8>(
1477                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1478                val as u64,
1479            )
1480        }
1481    }
1482    #[inline]
1483    #[allow(unnecessary_transmutes)]
1484    pub fn aliased(&self) -> ::std::os::raw::c_uint {
1485        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<6usize, 1u8>() as u32) }
1486    }
1487    #[inline]
1488    #[allow(unnecessary_transmutes)]
1489    pub fn set_aliased(&mut self, val: ::std::os::raw::c_uint) {
1490        unsafe {
1491            let val: u32 = ::std::mem::transmute(val);
1492            self._bitfield_1.set_const::<6usize, 1u8>(val as u64)
1493        }
1494    }
1495    #[inline]
1496    #[allow(unnecessary_transmutes)]
1497    pub unsafe fn aliased_raw(this: *const Self) -> ::std::os::raw::c_uint {
1498        unsafe {
1499            ::std::mem::transmute(
1500                <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<6usize, 1u8>(
1501                    ::std::ptr::addr_of!((*this)._bitfield_1),
1502                ) as u32,
1503            )
1504        }
1505    }
1506    #[inline]
1507    #[allow(unnecessary_transmutes)]
1508    pub unsafe fn set_aliased_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1509        unsafe {
1510            let val: u32 = ::std::mem::transmute(val);
1511            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<6usize, 1u8>(
1512                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1513                val as u64,
1514            )
1515        }
1516    }
1517    #[inline]
1518    #[allow(unnecessary_transmutes)]
1519    pub fn new_bitfield_1(
1520        type_: rb_method_type_t,
1521        iseq_overload: ::std::os::raw::c_uint,
1522        no_redef_warning: ::std::os::raw::c_uint,
1523        aliased: ::std::os::raw::c_uint,
1524    ) -> __BindgenBitfieldUnit<[u8; 1usize]> {
1525        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
1526        __bindgen_bitfield_unit.set_const::<0usize, 4u8>({
1527            let type_: u32 = unsafe { ::std::mem::transmute(type_) };
1528            type_ as u64
1529        });
1530        __bindgen_bitfield_unit.set_const::<4usize, 1u8>({
1531            let iseq_overload: u32 = unsafe { ::std::mem::transmute(iseq_overload) };
1532            iseq_overload as u64
1533        });
1534        __bindgen_bitfield_unit.set_const::<5usize, 1u8>({
1535            let no_redef_warning: u32 = unsafe { ::std::mem::transmute(no_redef_warning) };
1536            no_redef_warning as u64
1537        });
1538        __bindgen_bitfield_unit.set_const::<6usize, 1u8>({
1539            let aliased: u32 = unsafe { ::std::mem::transmute(aliased) };
1540            aliased as u64
1541        });
1542        __bindgen_bitfield_unit
1543    }
1544}
1545#[repr(C)]
1546#[derive(Debug, Copy, Clone)]
1547pub struct rb_code_position_struct {
1548    pub lineno: ::std::os::raw::c_int,
1549    pub column: ::std::os::raw::c_int,
1550}
1551pub type rb_code_position_t = rb_code_position_struct;
1552#[repr(C)]
1553#[derive(Debug, Copy, Clone)]
1554pub struct rb_code_location_struct {
1555    pub beg_pos: rb_code_position_t,
1556    pub end_pos: rb_code_position_t,
1557}
1558pub type rb_code_location_t = rb_code_location_struct;
1559#[repr(C)]
1560#[derive(Debug, Copy, Clone)]
1561pub struct RNode {
1562    pub flags: VALUE,
1563    pub nd_loc: rb_code_location_t,
1564    pub node_id: ::std::os::raw::c_int,
1565}
1566pub type NODE = RNode;
1567pub type rb_nativethread_id_t = pthread_t;
1568pub type rb_nativethread_lock_t = pthread_mutex_t;
1569pub type rb_nativethread_cond_t = pthread_cond_t;
1570#[repr(C)]
1571#[derive(Debug, Copy, Clone)]
1572pub struct rb_thread_sched_waiting {
1573    pub flags: rb_thread_sched_waiting_thread_sched_waiting_flag,
1574    pub data: rb_thread_sched_waiting__bindgen_ty_1,
1575    pub node: ccan_list_node,
1576}
1577pub const rb_thread_sched_waiting_thread_sched_waiting_flag_thread_sched_waiting_none:
1578    rb_thread_sched_waiting_thread_sched_waiting_flag = 0;
1579pub const rb_thread_sched_waiting_thread_sched_waiting_flag_thread_sched_waiting_timeout:
1580    rb_thread_sched_waiting_thread_sched_waiting_flag = 1;
1581pub const rb_thread_sched_waiting_thread_sched_waiting_flag_thread_sched_waiting_io_read:
1582    rb_thread_sched_waiting_thread_sched_waiting_flag = 2;
1583pub const rb_thread_sched_waiting_thread_sched_waiting_flag_thread_sched_waiting_io_write:
1584    rb_thread_sched_waiting_thread_sched_waiting_flag = 8;
1585pub const rb_thread_sched_waiting_thread_sched_waiting_flag_thread_sched_waiting_io_force:
1586    rb_thread_sched_waiting_thread_sched_waiting_flag = 64;
1587pub type rb_thread_sched_waiting_thread_sched_waiting_flag = ::std::os::raw::c_uint;
1588#[repr(C)]
1589#[derive(Debug, Copy, Clone)]
1590pub struct rb_thread_sched_waiting__bindgen_ty_1 {
1591    pub timeout: u64,
1592    pub event_serial: u32,
1593    pub fd: ::std::os::raw::c_int,
1594    pub result: ::std::os::raw::c_int,
1595}
1596#[repr(C)]
1597#[derive(Debug, Copy, Clone)]
1598pub struct rb_thread_sched_item {
1599    pub node: rb_thread_sched_item__bindgen_ty_1,
1600    pub waiting_reason: rb_thread_sched_waiting,
1601    pub event_serial: u32,
1602    pub finished: u8,
1603    pub malloc_stack: u8,
1604    pub context_stack: *mut ::std::os::raw::c_void,
1605    pub context: *mut coroutine_context,
1606}
1607#[repr(C)]
1608#[derive(Debug, Copy, Clone)]
1609pub struct rb_thread_sched_item__bindgen_ty_1 {
1610    pub ubf: ccan_list_node,
1611    pub readyq: ccan_list_node,
1612    pub timeslice_threads: ccan_list_node,
1613    pub running_threads: ccan_list_node,
1614    pub zombie_threads: ccan_list_node,
1615}
1616#[repr(C)]
1617#[derive(Copy, Clone)]
1618pub struct rb_native_thread {
1619    pub serial: rb_atomic_t,
1620    pub vm: *mut rb_vm_struct,
1621    pub thread_id: rb_nativethread_id_t,
1622    pub tid: ::std::os::raw::c_int,
1623    pub running_thread: *mut rb_thread_struct,
1624    pub cond: rb_native_thread__bindgen_ty_1,
1625    pub altstack: *mut ::std::os::raw::c_void,
1626    pub nt_context: *mut coroutine_context,
1627    pub dedicated: ::std::os::raw::c_int,
1628    pub machine_stack_maxsize: usize,
1629}
1630#[repr(C)]
1631#[derive(Copy, Clone)]
1632pub union rb_native_thread__bindgen_ty_1 {
1633    pub intr: rb_nativethread_cond_t,
1634    pub readyq: rb_nativethread_cond_t,
1635}
1636impl ::std::fmt::Debug for rb_native_thread__bindgen_ty_1 {
1637    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1638        write!(f, "rb_native_thread__bindgen_ty_1 {{ union }}")
1639    }
1640}
1641impl ::std::fmt::Debug for rb_native_thread {
1642    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1643        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)
1644    }
1645}
1646#[repr(C)]
1647#[derive(Copy, Clone)]
1648pub struct rb_thread_sched {
1649    pub lock_: rb_nativethread_lock_t,
1650    pub running: *mut rb_thread_struct,
1651    pub is_running: u8,
1652    pub is_running_timeslice: u8,
1653    pub enable_mn_threads: u8,
1654    pub readyq: ccan_list_head,
1655    pub readyq_cnt: ::std::os::raw::c_int,
1656    pub grq_node: ccan_list_node,
1657}
1658impl ::std::fmt::Debug for rb_thread_sched {
1659    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1660        write ! (f , "rb_thread_sched {{ lock_: {:?}, running: {:?}, is_running: {:?}, is_running_timeslice: {:?}, enable_mn_threads: {:?}, readyq: {:?}, readyq_cnt: {:?}, grq_node: {:?} }}" , self . lock_ , self . running , self . is_running , self . is_running_timeslice , self . enable_mn_threads , self . readyq , self . readyq_cnt , self . grq_node)
1661    }
1662}
1663pub type rb_snum_t = ::std::os::raw::c_long;
1664pub const ruby_tag_type_RUBY_TAG_NONE: ruby_tag_type = 0;
1665pub const ruby_tag_type_RUBY_TAG_RETURN: ruby_tag_type = 1;
1666pub const ruby_tag_type_RUBY_TAG_BREAK: ruby_tag_type = 2;
1667pub const ruby_tag_type_RUBY_TAG_NEXT: ruby_tag_type = 3;
1668pub const ruby_tag_type_RUBY_TAG_RETRY: ruby_tag_type = 4;
1669pub const ruby_tag_type_RUBY_TAG_REDO: ruby_tag_type = 5;
1670pub const ruby_tag_type_RUBY_TAG_RAISE: ruby_tag_type = 6;
1671pub const ruby_tag_type_RUBY_TAG_THROW: ruby_tag_type = 7;
1672pub const ruby_tag_type_RUBY_TAG_FATAL: ruby_tag_type = 8;
1673pub const ruby_tag_type_RUBY_TAG_MASK: ruby_tag_type = 15;
1674pub type ruby_tag_type = ::std::os::raw::c_uint;
1675pub type rb_compile_option_t = rb_compile_option_struct;
1676#[repr(C)]
1677#[derive(Debug, Copy, Clone)]
1678pub struct iseq_inline_constant_cache_entry {
1679    pub flags: VALUE,
1680    pub value: VALUE,
1681    pub ic_cref: *const rb_cref_t,
1682}
1683#[repr(C)]
1684#[derive(Debug, Copy, Clone)]
1685pub struct iseq_inline_constant_cache {
1686    pub entry: *mut iseq_inline_constant_cache_entry,
1687    pub segments: *const ID,
1688}
1689#[repr(C)]
1690#[derive(Debug, Copy, Clone)]
1691pub struct iseq_inline_iv_cache_entry {
1692    pub value: u64,
1693    pub iv_set_name: ID,
1694}
1695#[repr(C)]
1696#[derive(Copy, Clone)]
1697pub union iseq_inline_storage_entry {
1698    pub once: iseq_inline_storage_entry__bindgen_ty_1,
1699    pub ic_cache: iseq_inline_constant_cache,
1700    pub iv_cache: iseq_inline_iv_cache_entry,
1701}
1702#[repr(C)]
1703#[derive(Debug, Copy, Clone)]
1704pub struct iseq_inline_storage_entry__bindgen_ty_1 {
1705    pub running_thread: *mut rb_thread_struct,
1706    pub value: VALUE,
1707}
1708impl ::std::fmt::Debug for iseq_inline_storage_entry {
1709    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1710        write!(f, "iseq_inline_storage_entry {{ union }}")
1711    }
1712}
1713#[repr(C)]
1714#[derive(Debug, Copy, Clone)]
1715pub struct rb_calling_info {
1716    pub cd: *mut rb_call_data,
1717    pub cc: *const rb_callcache,
1718    pub block_handler: VALUE,
1719    pub recv: VALUE,
1720    pub argc: ::std::os::raw::c_int,
1721    pub kw_splat: u8,
1722    pub heap_argv: VALUE,
1723}
1724#[repr(C)]
1725#[derive(Debug, Copy, Clone)]
1726pub struct rb_iseq_location_struct {
1727    pub pathobj: VALUE,
1728    pub base_label: VALUE,
1729    pub label: VALUE,
1730    pub first_lineno: ::std::os::raw::c_int,
1731    pub node_id: ::std::os::raw::c_int,
1732    pub code_location: rb_code_location_t,
1733}
1734pub type rb_iseq_location_t = rb_iseq_location_struct;
1735pub type iseq_bits_t = usize;
1736pub const rb_iseq_type_ISEQ_TYPE_TOP: rb_iseq_type = 0;
1737pub const rb_iseq_type_ISEQ_TYPE_METHOD: rb_iseq_type = 1;
1738pub const rb_iseq_type_ISEQ_TYPE_BLOCK: rb_iseq_type = 2;
1739pub const rb_iseq_type_ISEQ_TYPE_CLASS: rb_iseq_type = 3;
1740pub const rb_iseq_type_ISEQ_TYPE_RESCUE: rb_iseq_type = 4;
1741pub const rb_iseq_type_ISEQ_TYPE_ENSURE: rb_iseq_type = 5;
1742pub const rb_iseq_type_ISEQ_TYPE_EVAL: rb_iseq_type = 6;
1743pub const rb_iseq_type_ISEQ_TYPE_MAIN: rb_iseq_type = 7;
1744pub const rb_iseq_type_ISEQ_TYPE_PLAIN: rb_iseq_type = 8;
1745pub type rb_iseq_type = ::std::os::raw::c_uint;
1746pub type rb_jit_func_t = ::std::option::Option<
1747    unsafe extern "C" fn(
1748        arg1: *mut rb_execution_context_struct,
1749        arg2: *mut rb_control_frame_struct,
1750    ) -> VALUE,
1751>;
1752#[repr(C)]
1753#[derive(Copy, Clone)]
1754pub struct rb_iseq_constant_body {
1755    pub type_: rb_iseq_type,
1756    pub iseq_size: ::std::os::raw::c_uint,
1757    pub iseq_encoded: *mut VALUE,
1758    pub param: rb_iseq_constant_body_rb_iseq_parameters,
1759    pub location: rb_iseq_location_t,
1760    pub insns_info: rb_iseq_constant_body_iseq_insn_info,
1761    pub local_table: *const ID,
1762    pub lvar_states: *mut rb_iseq_constant_body_lvar_state,
1763    pub catch_table: *mut iseq_catch_table,
1764    pub parent_iseq: *const rb_iseq_struct,
1765    pub local_iseq: *mut rb_iseq_struct,
1766    pub is_entries: *mut iseq_inline_storage_entry,
1767    pub call_data: *mut rb_call_data,
1768    pub variable: rb_iseq_constant_body__bindgen_ty_1,
1769    pub local_table_size: ::std::os::raw::c_uint,
1770    pub ic_size: ::std::os::raw::c_uint,
1771    pub ise_size: ::std::os::raw::c_uint,
1772    pub ivc_size: ::std::os::raw::c_uint,
1773    pub icvarc_size: ::std::os::raw::c_uint,
1774    pub ci_size: ::std::os::raw::c_uint,
1775    pub stack_max: ::std::os::raw::c_uint,
1776    pub builtin_attrs: ::std::os::raw::c_uint,
1777    pub prism: u8,
1778    pub mark_bits: rb_iseq_constant_body__bindgen_ty_2,
1779    pub outer_variables: *mut rb_id_table,
1780    pub mandatory_only_iseq: *const rb_iseq_t,
1781    pub jit_entry: rb_jit_func_t,
1782    pub jit_entry_calls: ::std::os::raw::c_ulong,
1783    pub jit_exception: rb_jit_func_t,
1784    pub jit_exception_calls: ::std::os::raw::c_ulong,
1785    pub yjit_payload: *mut ::std::os::raw::c_void,
1786    pub yjit_calls_at_interv: u64,
1787}
1788#[repr(C)]
1789#[derive(Debug, Copy, Clone)]
1790pub struct rb_iseq_constant_body_rb_iseq_parameters {
1791    pub flags: rb_iseq_constant_body_rb_iseq_parameters__bindgen_ty_1,
1792    pub size: ::std::os::raw::c_uint,
1793    pub lead_num: ::std::os::raw::c_int,
1794    pub opt_num: ::std::os::raw::c_int,
1795    pub rest_start: ::std::os::raw::c_int,
1796    pub post_start: ::std::os::raw::c_int,
1797    pub post_num: ::std::os::raw::c_int,
1798    pub block_start: ::std::os::raw::c_int,
1799    pub opt_table: *const VALUE,
1800    pub keyword: *const rb_iseq_constant_body_rb_iseq_parameters_rb_iseq_param_keyword,
1801}
1802#[repr(C)]
1803#[derive(Debug, Copy, Clone)]
1804pub struct rb_iseq_constant_body_rb_iseq_parameters__bindgen_ty_1 {
1805    pub _bindgen_align: [u32; 0],
1806    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2usize]>,
1807    pub __bindgen_padding_0: u16,
1808}
1809impl rb_iseq_constant_body_rb_iseq_parameters__bindgen_ty_1 {
1810    #[inline]
1811    #[allow(unnecessary_transmutes)]
1812    pub fn has_lead(&self) -> ::std::os::raw::c_uint {
1813        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<0usize, 1u8>() as u32) }
1814    }
1815    #[inline]
1816    #[allow(unnecessary_transmutes)]
1817    pub fn set_has_lead(&mut self, val: ::std::os::raw::c_uint) {
1818        unsafe {
1819            let val: u32 = ::std::mem::transmute(val);
1820            self._bitfield_1.set_const::<0usize, 1u8>(val as u64)
1821        }
1822    }
1823    #[inline]
1824    #[allow(unnecessary_transmutes)]
1825    pub unsafe fn has_lead_raw(this: *const Self) -> ::std::os::raw::c_uint {
1826        unsafe {
1827            ::std::mem::transmute(
1828                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<0usize, 1u8>(
1829                    ::std::ptr::addr_of!((*this)._bitfield_1),
1830                ) as u32,
1831            )
1832        }
1833    }
1834    #[inline]
1835    #[allow(unnecessary_transmutes)]
1836    pub unsafe fn set_has_lead_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1837        unsafe {
1838            let val: u32 = ::std::mem::transmute(val);
1839            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<0usize, 1u8>(
1840                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1841                val as u64,
1842            )
1843        }
1844    }
1845    #[inline]
1846    #[allow(unnecessary_transmutes)]
1847    pub fn has_opt(&self) -> ::std::os::raw::c_uint {
1848        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<1usize, 1u8>() as u32) }
1849    }
1850    #[inline]
1851    #[allow(unnecessary_transmutes)]
1852    pub fn set_has_opt(&mut self, val: ::std::os::raw::c_uint) {
1853        unsafe {
1854            let val: u32 = ::std::mem::transmute(val);
1855            self._bitfield_1.set_const::<1usize, 1u8>(val as u64)
1856        }
1857    }
1858    #[inline]
1859    #[allow(unnecessary_transmutes)]
1860    pub unsafe fn has_opt_raw(this: *const Self) -> ::std::os::raw::c_uint {
1861        unsafe {
1862            ::std::mem::transmute(
1863                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<1usize, 1u8>(
1864                    ::std::ptr::addr_of!((*this)._bitfield_1),
1865                ) as u32,
1866            )
1867        }
1868    }
1869    #[inline]
1870    #[allow(unnecessary_transmutes)]
1871    pub unsafe fn set_has_opt_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1872        unsafe {
1873            let val: u32 = ::std::mem::transmute(val);
1874            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<1usize, 1u8>(
1875                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1876                val as u64,
1877            )
1878        }
1879    }
1880    #[inline]
1881    #[allow(unnecessary_transmutes)]
1882    pub fn has_rest(&self) -> ::std::os::raw::c_uint {
1883        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<2usize, 1u8>() as u32) }
1884    }
1885    #[inline]
1886    #[allow(unnecessary_transmutes)]
1887    pub fn set_has_rest(&mut self, val: ::std::os::raw::c_uint) {
1888        unsafe {
1889            let val: u32 = ::std::mem::transmute(val);
1890            self._bitfield_1.set_const::<2usize, 1u8>(val as u64)
1891        }
1892    }
1893    #[inline]
1894    #[allow(unnecessary_transmutes)]
1895    pub unsafe fn has_rest_raw(this: *const Self) -> ::std::os::raw::c_uint {
1896        unsafe {
1897            ::std::mem::transmute(
1898                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<2usize, 1u8>(
1899                    ::std::ptr::addr_of!((*this)._bitfield_1),
1900                ) as u32,
1901            )
1902        }
1903    }
1904    #[inline]
1905    #[allow(unnecessary_transmutes)]
1906    pub unsafe fn set_has_rest_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1907        unsafe {
1908            let val: u32 = ::std::mem::transmute(val);
1909            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<2usize, 1u8>(
1910                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1911                val as u64,
1912            )
1913        }
1914    }
1915    #[inline]
1916    #[allow(unnecessary_transmutes)]
1917    pub fn has_post(&self) -> ::std::os::raw::c_uint {
1918        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<3usize, 1u8>() as u32) }
1919    }
1920    #[inline]
1921    #[allow(unnecessary_transmutes)]
1922    pub fn set_has_post(&mut self, val: ::std::os::raw::c_uint) {
1923        unsafe {
1924            let val: u32 = ::std::mem::transmute(val);
1925            self._bitfield_1.set_const::<3usize, 1u8>(val as u64)
1926        }
1927    }
1928    #[inline]
1929    #[allow(unnecessary_transmutes)]
1930    pub unsafe fn has_post_raw(this: *const Self) -> ::std::os::raw::c_uint {
1931        unsafe {
1932            ::std::mem::transmute(
1933                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<3usize, 1u8>(
1934                    ::std::ptr::addr_of!((*this)._bitfield_1),
1935                ) as u32,
1936            )
1937        }
1938    }
1939    #[inline]
1940    #[allow(unnecessary_transmutes)]
1941    pub unsafe fn set_has_post_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1942        unsafe {
1943            let val: u32 = ::std::mem::transmute(val);
1944            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<3usize, 1u8>(
1945                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1946                val as u64,
1947            )
1948        }
1949    }
1950    #[inline]
1951    #[allow(unnecessary_transmutes)]
1952    pub fn has_kw(&self) -> ::std::os::raw::c_uint {
1953        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<4usize, 1u8>() as u32) }
1954    }
1955    #[inline]
1956    #[allow(unnecessary_transmutes)]
1957    pub fn set_has_kw(&mut self, val: ::std::os::raw::c_uint) {
1958        unsafe {
1959            let val: u32 = ::std::mem::transmute(val);
1960            self._bitfield_1.set_const::<4usize, 1u8>(val as u64)
1961        }
1962    }
1963    #[inline]
1964    #[allow(unnecessary_transmutes)]
1965    pub unsafe fn has_kw_raw(this: *const Self) -> ::std::os::raw::c_uint {
1966        unsafe {
1967            ::std::mem::transmute(
1968                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<4usize, 1u8>(
1969                    ::std::ptr::addr_of!((*this)._bitfield_1),
1970                ) as u32,
1971            )
1972        }
1973    }
1974    #[inline]
1975    #[allow(unnecessary_transmutes)]
1976    pub unsafe fn set_has_kw_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
1977        unsafe {
1978            let val: u32 = ::std::mem::transmute(val);
1979            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<4usize, 1u8>(
1980                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
1981                val as u64,
1982            )
1983        }
1984    }
1985    #[inline]
1986    #[allow(unnecessary_transmutes)]
1987    pub fn has_kwrest(&self) -> ::std::os::raw::c_uint {
1988        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<5usize, 1u8>() as u32) }
1989    }
1990    #[inline]
1991    #[allow(unnecessary_transmutes)]
1992    pub fn set_has_kwrest(&mut self, val: ::std::os::raw::c_uint) {
1993        unsafe {
1994            let val: u32 = ::std::mem::transmute(val);
1995            self._bitfield_1.set_const::<5usize, 1u8>(val as u64)
1996        }
1997    }
1998    #[inline]
1999    #[allow(unnecessary_transmutes)]
2000    pub unsafe fn has_kwrest_raw(this: *const Self) -> ::std::os::raw::c_uint {
2001        unsafe {
2002            ::std::mem::transmute(
2003                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<5usize, 1u8>(
2004                    ::std::ptr::addr_of!((*this)._bitfield_1),
2005                ) as u32,
2006            )
2007        }
2008    }
2009    #[inline]
2010    #[allow(unnecessary_transmutes)]
2011    pub unsafe fn set_has_kwrest_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2012        unsafe {
2013            let val: u32 = ::std::mem::transmute(val);
2014            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<5usize, 1u8>(
2015                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2016                val as u64,
2017            )
2018        }
2019    }
2020    #[inline]
2021    #[allow(unnecessary_transmutes)]
2022    pub fn has_block(&self) -> ::std::os::raw::c_uint {
2023        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<6usize, 1u8>() as u32) }
2024    }
2025    #[inline]
2026    #[allow(unnecessary_transmutes)]
2027    pub fn set_has_block(&mut self, val: ::std::os::raw::c_uint) {
2028        unsafe {
2029            let val: u32 = ::std::mem::transmute(val);
2030            self._bitfield_1.set_const::<6usize, 1u8>(val as u64)
2031        }
2032    }
2033    #[inline]
2034    #[allow(unnecessary_transmutes)]
2035    pub unsafe fn has_block_raw(this: *const Self) -> ::std::os::raw::c_uint {
2036        unsafe {
2037            ::std::mem::transmute(
2038                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<6usize, 1u8>(
2039                    ::std::ptr::addr_of!((*this)._bitfield_1),
2040                ) as u32,
2041            )
2042        }
2043    }
2044    #[inline]
2045    #[allow(unnecessary_transmutes)]
2046    pub unsafe fn set_has_block_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2047        unsafe {
2048            let val: u32 = ::std::mem::transmute(val);
2049            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<6usize, 1u8>(
2050                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2051                val as u64,
2052            )
2053        }
2054    }
2055    #[inline]
2056    #[allow(unnecessary_transmutes)]
2057    pub fn ambiguous_param0(&self) -> ::std::os::raw::c_uint {
2058        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<7usize, 1u8>() as u32) }
2059    }
2060    #[inline]
2061    #[allow(unnecessary_transmutes)]
2062    pub fn set_ambiguous_param0(&mut self, val: ::std::os::raw::c_uint) {
2063        unsafe {
2064            let val: u32 = ::std::mem::transmute(val);
2065            self._bitfield_1.set_const::<7usize, 1u8>(val as u64)
2066        }
2067    }
2068    #[inline]
2069    #[allow(unnecessary_transmutes)]
2070    pub unsafe fn ambiguous_param0_raw(this: *const Self) -> ::std::os::raw::c_uint {
2071        unsafe {
2072            ::std::mem::transmute(
2073                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<7usize, 1u8>(
2074                    ::std::ptr::addr_of!((*this)._bitfield_1),
2075                ) as u32,
2076            )
2077        }
2078    }
2079    #[inline]
2080    #[allow(unnecessary_transmutes)]
2081    pub unsafe fn set_ambiguous_param0_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2082        unsafe {
2083            let val: u32 = ::std::mem::transmute(val);
2084            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<7usize, 1u8>(
2085                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2086                val as u64,
2087            )
2088        }
2089    }
2090    #[inline]
2091    #[allow(unnecessary_transmutes)]
2092    pub fn accepts_no_kwarg(&self) -> ::std::os::raw::c_uint {
2093        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<8usize, 1u8>() as u32) }
2094    }
2095    #[inline]
2096    #[allow(unnecessary_transmutes)]
2097    pub fn set_accepts_no_kwarg(&mut self, val: ::std::os::raw::c_uint) {
2098        unsafe {
2099            let val: u32 = ::std::mem::transmute(val);
2100            self._bitfield_1.set_const::<8usize, 1u8>(val as u64)
2101        }
2102    }
2103    #[inline]
2104    #[allow(unnecessary_transmutes)]
2105    pub unsafe fn accepts_no_kwarg_raw(this: *const Self) -> ::std::os::raw::c_uint {
2106        unsafe {
2107            ::std::mem::transmute(
2108                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<8usize, 1u8>(
2109                    ::std::ptr::addr_of!((*this)._bitfield_1),
2110                ) as u32,
2111            )
2112        }
2113    }
2114    #[inline]
2115    #[allow(unnecessary_transmutes)]
2116    pub unsafe fn set_accepts_no_kwarg_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2117        unsafe {
2118            let val: u32 = ::std::mem::transmute(val);
2119            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<8usize, 1u8>(
2120                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2121                val as u64,
2122            )
2123        }
2124    }
2125    #[inline]
2126    #[allow(unnecessary_transmutes)]
2127    pub fn ruby2_keywords(&self) -> ::std::os::raw::c_uint {
2128        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<9usize, 1u8>() as u32) }
2129    }
2130    #[inline]
2131    #[allow(unnecessary_transmutes)]
2132    pub fn set_ruby2_keywords(&mut self, val: ::std::os::raw::c_uint) {
2133        unsafe {
2134            let val: u32 = ::std::mem::transmute(val);
2135            self._bitfield_1.set_const::<9usize, 1u8>(val as u64)
2136        }
2137    }
2138    #[inline]
2139    #[allow(unnecessary_transmutes)]
2140    pub unsafe fn ruby2_keywords_raw(this: *const Self) -> ::std::os::raw::c_uint {
2141        unsafe {
2142            ::std::mem::transmute(
2143                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<9usize, 1u8>(
2144                    ::std::ptr::addr_of!((*this)._bitfield_1),
2145                ) as u32,
2146            )
2147        }
2148    }
2149    #[inline]
2150    #[allow(unnecessary_transmutes)]
2151    pub unsafe fn set_ruby2_keywords_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2152        unsafe {
2153            let val: u32 = ::std::mem::transmute(val);
2154            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<9usize, 1u8>(
2155                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2156                val as u64,
2157            )
2158        }
2159    }
2160    #[inline]
2161    #[allow(unnecessary_transmutes)]
2162    pub fn anon_rest(&self) -> ::std::os::raw::c_uint {
2163        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<10usize, 1u8>() as u32) }
2164    }
2165    #[inline]
2166    #[allow(unnecessary_transmutes)]
2167    pub fn set_anon_rest(&mut self, val: ::std::os::raw::c_uint) {
2168        unsafe {
2169            let val: u32 = ::std::mem::transmute(val);
2170            self._bitfield_1.set_const::<10usize, 1u8>(val as u64)
2171        }
2172    }
2173    #[inline]
2174    #[allow(unnecessary_transmutes)]
2175    pub unsafe fn anon_rest_raw(this: *const Self) -> ::std::os::raw::c_uint {
2176        unsafe {
2177            ::std::mem::transmute(
2178                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<10usize, 1u8>(
2179                    ::std::ptr::addr_of!((*this)._bitfield_1),
2180                ) as u32,
2181            )
2182        }
2183    }
2184    #[inline]
2185    #[allow(unnecessary_transmutes)]
2186    pub unsafe fn set_anon_rest_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2187        unsafe {
2188            let val: u32 = ::std::mem::transmute(val);
2189            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<10usize, 1u8>(
2190                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2191                val as u64,
2192            )
2193        }
2194    }
2195    #[inline]
2196    #[allow(unnecessary_transmutes)]
2197    pub fn anon_kwrest(&self) -> ::std::os::raw::c_uint {
2198        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<11usize, 1u8>() as u32) }
2199    }
2200    #[inline]
2201    #[allow(unnecessary_transmutes)]
2202    pub fn set_anon_kwrest(&mut self, val: ::std::os::raw::c_uint) {
2203        unsafe {
2204            let val: u32 = ::std::mem::transmute(val);
2205            self._bitfield_1.set_const::<11usize, 1u8>(val as u64)
2206        }
2207    }
2208    #[inline]
2209    #[allow(unnecessary_transmutes)]
2210    pub unsafe fn anon_kwrest_raw(this: *const Self) -> ::std::os::raw::c_uint {
2211        unsafe {
2212            ::std::mem::transmute(
2213                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<11usize, 1u8>(
2214                    ::std::ptr::addr_of!((*this)._bitfield_1),
2215                ) as u32,
2216            )
2217        }
2218    }
2219    #[inline]
2220    #[allow(unnecessary_transmutes)]
2221    pub unsafe fn set_anon_kwrest_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2222        unsafe {
2223            let val: u32 = ::std::mem::transmute(val);
2224            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<11usize, 1u8>(
2225                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2226                val as u64,
2227            )
2228        }
2229    }
2230    #[inline]
2231    #[allow(unnecessary_transmutes)]
2232    pub fn use_block(&self) -> ::std::os::raw::c_uint {
2233        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<12usize, 1u8>() as u32) }
2234    }
2235    #[inline]
2236    #[allow(unnecessary_transmutes)]
2237    pub fn set_use_block(&mut self, val: ::std::os::raw::c_uint) {
2238        unsafe {
2239            let val: u32 = ::std::mem::transmute(val);
2240            self._bitfield_1.set_const::<12usize, 1u8>(val as u64)
2241        }
2242    }
2243    #[inline]
2244    #[allow(unnecessary_transmutes)]
2245    pub unsafe fn use_block_raw(this: *const Self) -> ::std::os::raw::c_uint {
2246        unsafe {
2247            ::std::mem::transmute(
2248                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<12usize, 1u8>(
2249                    ::std::ptr::addr_of!((*this)._bitfield_1),
2250                ) as u32,
2251            )
2252        }
2253    }
2254    #[inline]
2255    #[allow(unnecessary_transmutes)]
2256    pub unsafe fn set_use_block_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2257        unsafe {
2258            let val: u32 = ::std::mem::transmute(val);
2259            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<12usize, 1u8>(
2260                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2261                val as u64,
2262            )
2263        }
2264    }
2265    #[inline]
2266    #[allow(unnecessary_transmutes)]
2267    pub fn forwardable(&self) -> ::std::os::raw::c_uint {
2268        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<13usize, 1u8>() as u32) }
2269    }
2270    #[inline]
2271    #[allow(unnecessary_transmutes)]
2272    pub fn set_forwardable(&mut self, val: ::std::os::raw::c_uint) {
2273        unsafe {
2274            let val: u32 = ::std::mem::transmute(val);
2275            self._bitfield_1.set_const::<13usize, 1u8>(val as u64)
2276        }
2277    }
2278    #[inline]
2279    #[allow(unnecessary_transmutes)]
2280    pub unsafe fn forwardable_raw(this: *const Self) -> ::std::os::raw::c_uint {
2281        unsafe {
2282            ::std::mem::transmute(
2283                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<13usize, 1u8>(
2284                    ::std::ptr::addr_of!((*this)._bitfield_1),
2285                ) as u32,
2286            )
2287        }
2288    }
2289    #[inline]
2290    #[allow(unnecessary_transmutes)]
2291    pub unsafe fn set_forwardable_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2292        unsafe {
2293            let val: u32 = ::std::mem::transmute(val);
2294            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<13usize, 1u8>(
2295                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2296                val as u64,
2297            )
2298        }
2299    }
2300    #[inline]
2301    #[allow(unnecessary_transmutes)]
2302    pub fn new_bitfield_1(
2303        has_lead: ::std::os::raw::c_uint,
2304        has_opt: ::std::os::raw::c_uint,
2305        has_rest: ::std::os::raw::c_uint,
2306        has_post: ::std::os::raw::c_uint,
2307        has_kw: ::std::os::raw::c_uint,
2308        has_kwrest: ::std::os::raw::c_uint,
2309        has_block: ::std::os::raw::c_uint,
2310        ambiguous_param0: ::std::os::raw::c_uint,
2311        accepts_no_kwarg: ::std::os::raw::c_uint,
2312        ruby2_keywords: ::std::os::raw::c_uint,
2313        anon_rest: ::std::os::raw::c_uint,
2314        anon_kwrest: ::std::os::raw::c_uint,
2315        use_block: ::std::os::raw::c_uint,
2316        forwardable: ::std::os::raw::c_uint,
2317    ) -> __BindgenBitfieldUnit<[u8; 2usize]> {
2318        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 2usize]> = Default::default();
2319        __bindgen_bitfield_unit.set_const::<0usize, 1u8>({
2320            let has_lead: u32 = unsafe { ::std::mem::transmute(has_lead) };
2321            has_lead as u64
2322        });
2323        __bindgen_bitfield_unit.set_const::<1usize, 1u8>({
2324            let has_opt: u32 = unsafe { ::std::mem::transmute(has_opt) };
2325            has_opt as u64
2326        });
2327        __bindgen_bitfield_unit.set_const::<2usize, 1u8>({
2328            let has_rest: u32 = unsafe { ::std::mem::transmute(has_rest) };
2329            has_rest as u64
2330        });
2331        __bindgen_bitfield_unit.set_const::<3usize, 1u8>({
2332            let has_post: u32 = unsafe { ::std::mem::transmute(has_post) };
2333            has_post as u64
2334        });
2335        __bindgen_bitfield_unit.set_const::<4usize, 1u8>({
2336            let has_kw: u32 = unsafe { ::std::mem::transmute(has_kw) };
2337            has_kw as u64
2338        });
2339        __bindgen_bitfield_unit.set_const::<5usize, 1u8>({
2340            let has_kwrest: u32 = unsafe { ::std::mem::transmute(has_kwrest) };
2341            has_kwrest as u64
2342        });
2343        __bindgen_bitfield_unit.set_const::<6usize, 1u8>({
2344            let has_block: u32 = unsafe { ::std::mem::transmute(has_block) };
2345            has_block as u64
2346        });
2347        __bindgen_bitfield_unit.set_const::<7usize, 1u8>({
2348            let ambiguous_param0: u32 = unsafe { ::std::mem::transmute(ambiguous_param0) };
2349            ambiguous_param0 as u64
2350        });
2351        __bindgen_bitfield_unit.set_const::<8usize, 1u8>({
2352            let accepts_no_kwarg: u32 = unsafe { ::std::mem::transmute(accepts_no_kwarg) };
2353            accepts_no_kwarg as u64
2354        });
2355        __bindgen_bitfield_unit.set_const::<9usize, 1u8>({
2356            let ruby2_keywords: u32 = unsafe { ::std::mem::transmute(ruby2_keywords) };
2357            ruby2_keywords as u64
2358        });
2359        __bindgen_bitfield_unit.set_const::<10usize, 1u8>({
2360            let anon_rest: u32 = unsafe { ::std::mem::transmute(anon_rest) };
2361            anon_rest as u64
2362        });
2363        __bindgen_bitfield_unit.set_const::<11usize, 1u8>({
2364            let anon_kwrest: u32 = unsafe { ::std::mem::transmute(anon_kwrest) };
2365            anon_kwrest as u64
2366        });
2367        __bindgen_bitfield_unit.set_const::<12usize, 1u8>({
2368            let use_block: u32 = unsafe { ::std::mem::transmute(use_block) };
2369            use_block as u64
2370        });
2371        __bindgen_bitfield_unit.set_const::<13usize, 1u8>({
2372            let forwardable: u32 = unsafe { ::std::mem::transmute(forwardable) };
2373            forwardable as u64
2374        });
2375        __bindgen_bitfield_unit
2376    }
2377}
2378#[repr(C)]
2379#[derive(Debug, Copy, Clone)]
2380pub struct rb_iseq_constant_body_rb_iseq_parameters_rb_iseq_param_keyword {
2381    pub num: ::std::os::raw::c_int,
2382    pub required_num: ::std::os::raw::c_int,
2383    pub bits_start: ::std::os::raw::c_int,
2384    pub rest_start: ::std::os::raw::c_int,
2385    pub table: *const ID,
2386    pub default_values: *mut VALUE,
2387}
2388#[repr(C)]
2389#[derive(Debug, Copy, Clone)]
2390pub struct rb_iseq_constant_body_iseq_insn_info {
2391    pub body: *const iseq_insn_info_entry,
2392    pub positions: *mut ::std::os::raw::c_uint,
2393    pub size: ::std::os::raw::c_uint,
2394    pub succ_index_table: *mut succ_index_table,
2395}
2396pub const rb_iseq_constant_body_lvar_state_lvar_uninitialized: rb_iseq_constant_body_lvar_state = 0;
2397pub const rb_iseq_constant_body_lvar_state_lvar_initialized: rb_iseq_constant_body_lvar_state = 1;
2398pub const rb_iseq_constant_body_lvar_state_lvar_reassigned: rb_iseq_constant_body_lvar_state = 2;
2399pub type rb_iseq_constant_body_lvar_state = ::std::os::raw::c_uint;
2400#[repr(C)]
2401#[derive(Debug, Copy, Clone)]
2402pub struct rb_iseq_constant_body__bindgen_ty_1 {
2403    pub flip_count: rb_snum_t,
2404    pub script_lines: VALUE,
2405    pub coverage: VALUE,
2406    pub pc2branchindex: VALUE,
2407    pub original_iseq: *mut VALUE,
2408}
2409#[repr(C)]
2410#[derive(Copy, Clone)]
2411pub union rb_iseq_constant_body__bindgen_ty_2 {
2412    pub list: *mut iseq_bits_t,
2413    pub single: iseq_bits_t,
2414}
2415impl ::std::fmt::Debug for rb_iseq_constant_body__bindgen_ty_2 {
2416    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2417        write!(f, "rb_iseq_constant_body__bindgen_ty_2 {{ union }}")
2418    }
2419}
2420impl ::std::fmt::Debug for rb_iseq_constant_body {
2421    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2422        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)
2423    }
2424}
2425#[repr(C)]
2426#[derive(Copy, Clone)]
2427pub struct rb_iseq_struct {
2428    pub flags: VALUE,
2429    pub wrapper: VALUE,
2430    pub body: *mut rb_iseq_constant_body,
2431    pub aux: rb_iseq_struct__bindgen_ty_1,
2432}
2433#[repr(C)]
2434#[derive(Copy, Clone)]
2435pub union rb_iseq_struct__bindgen_ty_1 {
2436    pub compile_data: *mut iseq_compile_data,
2437    pub loader: rb_iseq_struct__bindgen_ty_1__bindgen_ty_1,
2438    pub exec: rb_iseq_struct__bindgen_ty_1__bindgen_ty_2,
2439}
2440#[repr(C)]
2441#[derive(Debug, Copy, Clone)]
2442pub struct rb_iseq_struct__bindgen_ty_1__bindgen_ty_1 {
2443    pub obj: VALUE,
2444    pub index: ::std::os::raw::c_int,
2445}
2446#[repr(C)]
2447#[derive(Debug, Copy, Clone)]
2448pub struct rb_iseq_struct__bindgen_ty_1__bindgen_ty_2 {
2449    pub local_hooks_cnt: ::std::os::raw::c_uint,
2450    pub global_trace_events: rb_event_flag_t,
2451}
2452impl ::std::fmt::Debug for rb_iseq_struct__bindgen_ty_1 {
2453    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2454        write!(f, "rb_iseq_struct__bindgen_ty_1 {{ union }}")
2455    }
2456}
2457impl ::std::fmt::Debug for rb_iseq_struct {
2458    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2459        write!(
2460            f,
2461            "rb_iseq_struct {{ flags: {:?}, wrapper: {:?}, body: {:?}, aux: {:?} }}",
2462            self.flags, self.wrapper, self.body, self.aux
2463        )
2464    }
2465}
2466pub type rb_vm_at_exit_func = ::std::option::Option<unsafe extern "C" fn(arg1: *mut rb_vm_struct)>;
2467#[repr(C)]
2468#[derive(Debug, Copy, Clone)]
2469pub struct rb_at_exit_list {
2470    pub func: rb_vm_at_exit_func,
2471    pub next: *mut rb_at_exit_list,
2472}
2473pub const rb_hook_list_type_hook_list_type_ractor_local: rb_hook_list_type = 0;
2474pub const rb_hook_list_type_hook_list_type_targeted_iseq: rb_hook_list_type = 1;
2475pub const rb_hook_list_type_hook_list_type_targeted_def: rb_hook_list_type = 2;
2476pub const rb_hook_list_type_hook_list_type_global: rb_hook_list_type = 3;
2477pub type rb_hook_list_type = ::std::os::raw::c_uint;
2478#[repr(C)]
2479#[derive(Debug, Copy, Clone)]
2480pub struct rb_hook_list_struct {
2481    pub hooks: *mut rb_event_hook_struct,
2482    pub events: rb_event_flag_t,
2483    pub running: ::std::os::raw::c_uint,
2484    pub type_: rb_hook_list_type,
2485    pub need_clean: u8,
2486}
2487pub type rb_hook_list_t = rb_hook_list_struct;
2488#[repr(C)]
2489#[derive(Debug)]
2490pub struct rb_builtin_function {
2491    _unused: [u8; 0],
2492}
2493#[repr(C)]
2494#[derive(Debug, Copy, Clone)]
2495pub struct global_object_list {
2496    pub varptr: *mut VALUE,
2497    pub next: *mut global_object_list,
2498}
2499#[repr(C)]
2500#[derive(Copy, Clone)]
2501pub struct rb_vm_struct {
2502    pub self_: VALUE,
2503    pub ractor: rb_vm_struct__bindgen_ty_1,
2504    pub main_altstack: *mut ::std::os::raw::c_void,
2505    pub fork_gen: rb_serial_t,
2506    pub ubf_async_safe: ::std::os::raw::c_int,
2507    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
2508    pub mark_object_ary: VALUE,
2509    pub global_object_list: *mut global_object_list,
2510    pub special_exceptions: [VALUE; 5usize],
2511    pub root_box: *mut rb_box_t,
2512    pub main_box: *mut rb_box_t,
2513    pub static_ext_inits: *mut st_table,
2514    pub trap_list: rb_vm_struct__bindgen_ty_2,
2515    pub global_hooks: rb_hook_list_t,
2516    pub postponed_job_queue: *mut rb_postponed_job_queue,
2517    pub src_encoding_index: ::std::os::raw::c_int,
2518    pub workqueue: ccan_list_head,
2519    pub workqueue_lock: rb_nativethread_lock_t,
2520    pub orig_progname: VALUE,
2521    pub progname: VALUE,
2522    pub coverages: VALUE,
2523    pub me2counter: VALUE,
2524    pub coverage_mode: ::std::os::raw::c_int,
2525    pub gc: rb_vm_struct__bindgen_ty_3,
2526    pub at_exit: *mut rb_at_exit_list,
2527    pub builtin_function_table: *const rb_builtin_function,
2528    pub ci_table: *mut st_table,
2529    pub negative_cme_table: *mut rb_id_table,
2530    pub overloaded_cme_table: *mut st_table,
2531    pub unused_block_warning_table: *mut set_table,
2532    pub cc_refinement_table: *mut set_table,
2533    pub constant_cache: *mut rb_id_table,
2534    pub inserting_constant_cache_id: ID,
2535    pub global_cc_cache_table: [*const rb_callcache; 1023usize],
2536    pub default_params: rb_vm_struct__bindgen_ty_4,
2537}
2538#[repr(C)]
2539#[derive(Copy, Clone)]
2540pub struct rb_vm_struct__bindgen_ty_1 {
2541    pub set: ccan_list_head,
2542    pub cnt: ::std::os::raw::c_uint,
2543    pub blocking_cnt: ::std::os::raw::c_uint,
2544    pub main_ractor: *mut rb_ractor_struct,
2545    pub main_thread: *mut rb_thread_struct,
2546    pub sync: rb_vm_struct__bindgen_ty_1__bindgen_ty_1,
2547    pub sched: rb_vm_struct__bindgen_ty_1__bindgen_ty_2,
2548}
2549#[repr(C)]
2550#[derive(Copy, Clone)]
2551pub struct rb_vm_struct__bindgen_ty_1__bindgen_ty_1 {
2552    pub lock: rb_nativethread_lock_t,
2553    pub lock_owner: *mut rb_ractor_struct,
2554    pub lock_rec: ::std::os::raw::c_uint,
2555    pub terminate_cond: rb_nativethread_cond_t,
2556    pub terminate_waiting: u8,
2557}
2558impl ::std::fmt::Debug for rb_vm_struct__bindgen_ty_1__bindgen_ty_1 {
2559    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2560        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)
2561    }
2562}
2563#[repr(C)]
2564#[derive(Copy, Clone)]
2565pub struct rb_vm_struct__bindgen_ty_1__bindgen_ty_2 {
2566    pub lock: rb_nativethread_lock_t,
2567    pub lock_owner: *mut rb_ractor_struct,
2568    pub locked: u8,
2569    pub cond: rb_nativethread_cond_t,
2570    pub snt_cnt: ::std::os::raw::c_uint,
2571    pub dnt_cnt: ::std::os::raw::c_uint,
2572    pub running_cnt: ::std::os::raw::c_uint,
2573    pub max_cpu: ::std::os::raw::c_uint,
2574    pub grq: ccan_list_head,
2575    pub grq_cnt: ::std::os::raw::c_uint,
2576    pub running_threads: ccan_list_head,
2577    pub timeslice_threads: ccan_list_head,
2578    pub zombie_threads: ccan_list_head,
2579    pub timeslice_wait_inf: u8,
2580    pub barrier_complete_cond: rb_nativethread_cond_t,
2581    pub barrier_release_cond: rb_nativethread_cond_t,
2582    pub barrier_waiting: u8,
2583    pub barrier_waiting_cnt: ::std::os::raw::c_uint,
2584    pub barrier_serial: ::std::os::raw::c_uint,
2585    pub barrier_ractor: *mut rb_ractor_struct,
2586    pub barrier_lock_rec: ::std::os::raw::c_uint,
2587}
2588impl ::std::fmt::Debug for rb_vm_struct__bindgen_ty_1__bindgen_ty_2 {
2589    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2590        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)
2591    }
2592}
2593impl ::std::fmt::Debug for rb_vm_struct__bindgen_ty_1 {
2594    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2595        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)
2596    }
2597}
2598#[repr(C)]
2599#[derive(Debug, Copy, Clone)]
2600pub struct rb_vm_struct__bindgen_ty_2 {
2601    pub cmd: [VALUE; 65usize],
2602}
2603#[repr(C)]
2604#[derive(Debug, Copy, Clone)]
2605pub struct rb_vm_struct__bindgen_ty_3 {
2606    pub objspace: *mut rb_objspace,
2607    pub mark_func_data: *mut rb_vm_struct__bindgen_ty_3_gc_mark_func_data_struct,
2608}
2609#[repr(C)]
2610#[derive(Debug, Copy, Clone)]
2611pub struct rb_vm_struct__bindgen_ty_3_gc_mark_func_data_struct {
2612    pub data: *mut ::std::os::raw::c_void,
2613    pub mark_func:
2614        ::std::option::Option<unsafe extern "C" fn(v: VALUE, data: *mut ::std::os::raw::c_void)>,
2615}
2616#[repr(C)]
2617#[derive(Debug, Copy, Clone)]
2618pub struct rb_vm_struct__bindgen_ty_4 {
2619    pub thread_vm_stack_size: usize,
2620    pub thread_machine_stack_size: usize,
2621    pub fiber_vm_stack_size: usize,
2622    pub fiber_machine_stack_size: usize,
2623}
2624impl ::std::fmt::Debug for rb_vm_struct {
2625    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
2626        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: {:?}, 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 . 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)
2627    }
2628}
2629impl rb_vm_struct {
2630    #[inline]
2631    #[allow(unnecessary_transmutes)]
2632    pub fn running(&self) -> ::std::os::raw::c_uint {
2633        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<0usize, 1u8>() as u32) }
2634    }
2635    #[inline]
2636    #[allow(unnecessary_transmutes)]
2637    pub fn set_running(&mut self, val: ::std::os::raw::c_uint) {
2638        unsafe {
2639            let val: u32 = ::std::mem::transmute(val);
2640            self._bitfield_1.set_const::<0usize, 1u8>(val as u64)
2641        }
2642    }
2643    #[inline]
2644    #[allow(unnecessary_transmutes)]
2645    pub unsafe fn running_raw(this: *const Self) -> ::std::os::raw::c_uint {
2646        unsafe {
2647            ::std::mem::transmute(
2648                <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<0usize, 1u8>(
2649                    ::std::ptr::addr_of!((*this)._bitfield_1),
2650                ) as u32,
2651            )
2652        }
2653    }
2654    #[inline]
2655    #[allow(unnecessary_transmutes)]
2656    pub unsafe fn set_running_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2657        unsafe {
2658            let val: u32 = ::std::mem::transmute(val);
2659            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<0usize, 1u8>(
2660                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2661                val as u64,
2662            )
2663        }
2664    }
2665    #[inline]
2666    #[allow(unnecessary_transmutes)]
2667    pub fn thread_abort_on_exception(&self) -> ::std::os::raw::c_uint {
2668        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<1usize, 1u8>() as u32) }
2669    }
2670    #[inline]
2671    #[allow(unnecessary_transmutes)]
2672    pub fn set_thread_abort_on_exception(&mut self, val: ::std::os::raw::c_uint) {
2673        unsafe {
2674            let val: u32 = ::std::mem::transmute(val);
2675            self._bitfield_1.set_const::<1usize, 1u8>(val as u64)
2676        }
2677    }
2678    #[inline]
2679    #[allow(unnecessary_transmutes)]
2680    pub unsafe fn thread_abort_on_exception_raw(this: *const Self) -> ::std::os::raw::c_uint {
2681        unsafe {
2682            ::std::mem::transmute(
2683                <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<1usize, 1u8>(
2684                    ::std::ptr::addr_of!((*this)._bitfield_1),
2685                ) as u32,
2686            )
2687        }
2688    }
2689    #[inline]
2690    #[allow(unnecessary_transmutes)]
2691    pub unsafe fn set_thread_abort_on_exception_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2692        unsafe {
2693            let val: u32 = ::std::mem::transmute(val);
2694            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<1usize, 1u8>(
2695                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2696                val as u64,
2697            )
2698        }
2699    }
2700    #[inline]
2701    #[allow(unnecessary_transmutes)]
2702    pub fn thread_report_on_exception(&self) -> ::std::os::raw::c_uint {
2703        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<2usize, 1u8>() as u32) }
2704    }
2705    #[inline]
2706    #[allow(unnecessary_transmutes)]
2707    pub fn set_thread_report_on_exception(&mut self, val: ::std::os::raw::c_uint) {
2708        unsafe {
2709            let val: u32 = ::std::mem::transmute(val);
2710            self._bitfield_1.set_const::<2usize, 1u8>(val as u64)
2711        }
2712    }
2713    #[inline]
2714    #[allow(unnecessary_transmutes)]
2715    pub unsafe fn thread_report_on_exception_raw(this: *const Self) -> ::std::os::raw::c_uint {
2716        unsafe {
2717            ::std::mem::transmute(
2718                <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<2usize, 1u8>(
2719                    ::std::ptr::addr_of!((*this)._bitfield_1),
2720                ) as u32,
2721            )
2722        }
2723    }
2724    #[inline]
2725    #[allow(unnecessary_transmutes)]
2726    pub unsafe fn set_thread_report_on_exception_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2727        unsafe {
2728            let val: u32 = ::std::mem::transmute(val);
2729            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<2usize, 1u8>(
2730                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2731                val as u64,
2732            )
2733        }
2734    }
2735    #[inline]
2736    #[allow(unnecessary_transmutes)]
2737    pub fn thread_ignore_deadlock(&self) -> ::std::os::raw::c_uint {
2738        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<3usize, 1u8>() as u32) }
2739    }
2740    #[inline]
2741    #[allow(unnecessary_transmutes)]
2742    pub fn set_thread_ignore_deadlock(&mut self, val: ::std::os::raw::c_uint) {
2743        unsafe {
2744            let val: u32 = ::std::mem::transmute(val);
2745            self._bitfield_1.set_const::<3usize, 1u8>(val as u64)
2746        }
2747    }
2748    #[inline]
2749    #[allow(unnecessary_transmutes)]
2750    pub unsafe fn thread_ignore_deadlock_raw(this: *const Self) -> ::std::os::raw::c_uint {
2751        unsafe {
2752            ::std::mem::transmute(
2753                <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<3usize, 1u8>(
2754                    ::std::ptr::addr_of!((*this)._bitfield_1),
2755                ) as u32,
2756            )
2757        }
2758    }
2759    #[inline]
2760    #[allow(unnecessary_transmutes)]
2761    pub unsafe fn set_thread_ignore_deadlock_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
2762        unsafe {
2763            let val: u32 = ::std::mem::transmute(val);
2764            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<3usize, 1u8>(
2765                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2766                val as u64,
2767            )
2768        }
2769    }
2770    #[inline]
2771    #[allow(unnecessary_transmutes)]
2772    pub fn new_bitfield_1(
2773        running: ::std::os::raw::c_uint,
2774        thread_abort_on_exception: ::std::os::raw::c_uint,
2775        thread_report_on_exception: ::std::os::raw::c_uint,
2776        thread_ignore_deadlock: ::std::os::raw::c_uint,
2777    ) -> __BindgenBitfieldUnit<[u8; 1usize]> {
2778        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
2779        __bindgen_bitfield_unit.set_const::<0usize, 1u8>({
2780            let running: u32 = unsafe { ::std::mem::transmute(running) };
2781            running as u64
2782        });
2783        __bindgen_bitfield_unit.set_const::<1usize, 1u8>({
2784            let thread_abort_on_exception: u32 =
2785                unsafe { ::std::mem::transmute(thread_abort_on_exception) };
2786            thread_abort_on_exception as u64
2787        });
2788        __bindgen_bitfield_unit.set_const::<2usize, 1u8>({
2789            let thread_report_on_exception: u32 =
2790                unsafe { ::std::mem::transmute(thread_report_on_exception) };
2791            thread_report_on_exception as u64
2792        });
2793        __bindgen_bitfield_unit.set_const::<3usize, 1u8>({
2794            let thread_ignore_deadlock: u32 =
2795                unsafe { ::std::mem::transmute(thread_ignore_deadlock) };
2796            thread_ignore_deadlock as u64
2797        });
2798        __bindgen_bitfield_unit
2799    }
2800}
2801pub type rb_vm_t = rb_vm_struct;
2802#[repr(C)]
2803#[derive(Debug, Copy, Clone)]
2804pub struct rb_control_frame_struct {
2805    pub pc: *const VALUE,
2806    pub sp: *mut VALUE,
2807    pub iseq: *const rb_iseq_t,
2808    pub self_: VALUE,
2809    pub ep: *const VALUE,
2810    pub block_code: *const ::std::os::raw::c_void,
2811    pub jit_return: *mut ::std::os::raw::c_void,
2812}
2813pub type rb_control_frame_t = rb_control_frame_struct;
2814pub const rb_thread_status_THREAD_RUNNABLE: rb_thread_status = 0;
2815pub const rb_thread_status_THREAD_STOPPED: rb_thread_status = 1;
2816pub const rb_thread_status_THREAD_STOPPED_FOREVER: rb_thread_status = 2;
2817pub const rb_thread_status_THREAD_KILLED: rb_thread_status = 3;
2818pub type rb_thread_status = ::std::os::raw::c_uint;
2819pub type rb_jmpbuf_t = sigjmp_buf;
2820pub type rb_vm_tag_jmpbuf_t = rb_jmpbuf_t;
2821#[repr(C)]
2822#[derive(Debug, Copy, Clone)]
2823pub struct rb_vm_tag {
2824    pub tag: VALUE,
2825    pub retval: VALUE,
2826    pub buf: rb_vm_tag_jmpbuf_t,
2827    pub prev: *mut rb_vm_tag,
2828    pub state: ruby_tag_type,
2829    pub lock_rec: ::std::os::raw::c_uint,
2830}
2831#[repr(C)]
2832#[derive(Debug, Copy, Clone)]
2833pub struct rb_unblock_callback {
2834    pub func: rb_unblock_function_t,
2835    pub arg: *mut ::std::os::raw::c_void,
2836}
2837#[repr(C)]
2838#[derive(Debug)]
2839pub struct rb_mutex_struct {
2840    _unused: [u8; 0],
2841}
2842#[repr(C)]
2843#[derive(Debug)]
2844pub struct rb_fiber_struct {
2845    _unused: [u8; 0],
2846}
2847pub type rb_fiber_t = rb_fiber_struct;
2848#[repr(C)]
2849#[derive(Debug, Copy, Clone)]
2850pub struct rb_waiting_list {
2851    pub next: *mut rb_waiting_list,
2852    pub thread: *mut rb_thread_struct,
2853    pub fiber: *mut rb_fiber_struct,
2854}
2855#[repr(C)]
2856#[derive(Debug, Copy, Clone)]
2857pub struct rb_execution_context_struct {
2858    pub vm_stack: *mut VALUE,
2859    pub vm_stack_size: usize,
2860    pub cfp: *mut rb_control_frame_t,
2861    pub tag: *mut rb_vm_tag,
2862    pub interrupt_flag: rb_atomic_t,
2863    pub interrupt_mask: rb_atomic_t,
2864    pub fiber_ptr: *mut rb_fiber_t,
2865    pub thread_ptr: *mut rb_thread_struct,
2866    pub serial: rb_serial_t,
2867    pub ractor_id: rb_serial_t,
2868    pub local_storage: *mut rb_id_table,
2869    pub local_storage_recursive_hash: VALUE,
2870    pub local_storage_recursive_hash_for_trace: VALUE,
2871    pub storage: VALUE,
2872    pub root_lep: *const VALUE,
2873    pub root_svar: VALUE,
2874    pub trace_arg: *mut rb_trace_arg_struct,
2875    pub errinfo: VALUE,
2876    pub passed_block_handler: VALUE,
2877    pub raised_flag: u8,
2878    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
2879    pub private_const_reference: VALUE,
2880    pub gen_fields_cache: rb_execution_context_struct__bindgen_ty_1,
2881    pub machine: rb_execution_context_struct__bindgen_ty_2,
2882}
2883#[repr(C)]
2884#[derive(Debug, Copy, Clone)]
2885pub struct rb_execution_context_struct__bindgen_ty_1 {
2886    pub obj: VALUE,
2887    pub fields_obj: VALUE,
2888}
2889#[repr(C)]
2890#[derive(Debug, Copy, Clone)]
2891pub struct rb_execution_context_struct__bindgen_ty_2 {
2892    pub stack_start: *mut VALUE,
2893    pub stack_end: *mut VALUE,
2894    pub stack_maxsize: usize,
2895    pub regs: jmp_buf,
2896}
2897impl rb_execution_context_struct {
2898    #[inline]
2899    #[allow(unnecessary_transmutes)]
2900    pub fn method_missing_reason(&self) -> method_missing_reason {
2901        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<0usize, 8u8>() as u32) }
2902    }
2903    #[inline]
2904    #[allow(unnecessary_transmutes)]
2905    pub fn set_method_missing_reason(&mut self, val: method_missing_reason) {
2906        unsafe {
2907            let val: u32 = ::std::mem::transmute(val);
2908            self._bitfield_1.set_const::<0usize, 8u8>(val as u64)
2909        }
2910    }
2911    #[inline]
2912    #[allow(unnecessary_transmutes)]
2913    pub unsafe fn method_missing_reason_raw(this: *const Self) -> method_missing_reason {
2914        unsafe {
2915            ::std::mem::transmute(
2916                <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<0usize, 8u8>(
2917                    ::std::ptr::addr_of!((*this)._bitfield_1),
2918                ) as u32,
2919            )
2920        }
2921    }
2922    #[inline]
2923    #[allow(unnecessary_transmutes)]
2924    pub unsafe fn set_method_missing_reason_raw(this: *mut Self, val: method_missing_reason) {
2925        unsafe {
2926            let val: u32 = ::std::mem::transmute(val);
2927            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<0usize, 8u8>(
2928                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
2929                val as u64,
2930            )
2931        }
2932    }
2933    #[inline]
2934    #[allow(unnecessary_transmutes)]
2935    pub fn new_bitfield_1(
2936        method_missing_reason: method_missing_reason,
2937    ) -> __BindgenBitfieldUnit<[u8; 1usize]> {
2938        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
2939        __bindgen_bitfield_unit.set_const::<0usize, 8u8>({
2940            let method_missing_reason: u32 =
2941                unsafe { ::std::mem::transmute(method_missing_reason) };
2942            method_missing_reason as u64
2943        });
2944        __bindgen_bitfield_unit
2945    }
2946}
2947pub type rb_execution_context_t = rb_execution_context_struct;
2948#[repr(C)]
2949#[derive(Debug, Copy, Clone)]
2950pub struct rb_ext_config {
2951    pub ractor_safe: u8,
2952}
2953pub type rb_ractor_t = rb_ractor_struct;
2954#[repr(C)]
2955#[derive(Copy, Clone)]
2956pub struct rb_thread_struct {
2957    pub lt_node: ccan_list_node,
2958    pub self_: VALUE,
2959    pub ractor: *mut rb_ractor_t,
2960    pub vm: *mut rb_vm_t,
2961    pub nt: *mut rb_native_thread,
2962    pub ec: *mut rb_execution_context_t,
2963    pub sched: rb_thread_sched_item,
2964    pub mn_schedulable: u8,
2965    pub serial: rb_atomic_t,
2966    pub last_status: VALUE,
2967    pub calling: *mut rb_calling_info,
2968    pub top_self: VALUE,
2969    pub top_wrapper: VALUE,
2970    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
2971    pub priority: i8,
2972    pub running_time_us: u32,
2973    pub blocking_region_buffer: *mut ::std::os::raw::c_void,
2974    pub thgroup: VALUE,
2975    pub value: VALUE,
2976    pub pending_interrupt_queue: VALUE,
2977    pub pending_interrupt_mask_stack: VALUE,
2978    pub interrupt_lock: rb_nativethread_lock_t,
2979    pub unblock: rb_unblock_callback,
2980    pub locking_mutex: VALUE,
2981    pub keeping_mutexes: *mut rb_mutex_struct,
2982    pub interrupt_exec_tasks: ccan_list_head,
2983    pub join_list: *mut rb_waiting_list,
2984    pub invoke_arg: rb_thread_struct__bindgen_ty_1,
2985    pub invoke_type: rb_thread_struct_thread_invoke_type,
2986    pub root_fiber: *mut rb_fiber_t,
2987    pub scheduler: VALUE,
2988    pub blocking: ::std::os::raw::c_uint,
2989    pub name: VALUE,
2990    pub specific_storage: *mut *mut ::std::os::raw::c_void,
2991    pub ext_config: rb_ext_config,
2992}
2993#[repr(C)]
2994#[derive(Copy, Clone)]
2995pub union rb_thread_struct__bindgen_ty_1 {
2996    pub proc_: rb_thread_struct__bindgen_ty_1__bindgen_ty_1,
2997    pub func: rb_thread_struct__bindgen_ty_1__bindgen_ty_2,
2998}
2999#[repr(C)]
3000#[derive(Debug, Copy, Clone)]
3001pub struct rb_thread_struct__bindgen_ty_1__bindgen_ty_1 {
3002    pub proc_: VALUE,
3003    pub args: VALUE,
3004    pub kw_splat: ::std::os::raw::c_int,
3005}
3006#[repr(C)]
3007#[derive(Debug, Copy, Clone)]
3008pub struct rb_thread_struct__bindgen_ty_1__bindgen_ty_2 {
3009    pub func:
3010        ::std::option::Option<unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_void) -> VALUE>,
3011    pub arg: *mut ::std::os::raw::c_void,
3012}
3013impl ::std::fmt::Debug for rb_thread_struct__bindgen_ty_1 {
3014    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3015        write!(f, "rb_thread_struct__bindgen_ty_1 {{ union }}")
3016    }
3017}
3018pub const rb_thread_struct_thread_invoke_type_thread_invoke_type_none:
3019    rb_thread_struct_thread_invoke_type = 0;
3020pub const rb_thread_struct_thread_invoke_type_thread_invoke_type_proc:
3021    rb_thread_struct_thread_invoke_type = 1;
3022pub const rb_thread_struct_thread_invoke_type_thread_invoke_type_ractor_proc:
3023    rb_thread_struct_thread_invoke_type = 2;
3024pub const rb_thread_struct_thread_invoke_type_thread_invoke_type_func:
3025    rb_thread_struct_thread_invoke_type = 3;
3026pub type rb_thread_struct_thread_invoke_type = ::std::os::raw::c_uint;
3027impl ::std::fmt::Debug for rb_thread_struct {
3028    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3029        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)
3030    }
3031}
3032impl rb_thread_struct {
3033    #[inline]
3034    #[allow(unnecessary_transmutes)]
3035    pub fn status(&self) -> rb_thread_status {
3036        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<0usize, 2u8>() as u32) }
3037    }
3038    #[inline]
3039    #[allow(unnecessary_transmutes)]
3040    pub fn set_status(&mut self, val: rb_thread_status) {
3041        unsafe {
3042            let val: u32 = ::std::mem::transmute(val);
3043            self._bitfield_1.set_const::<0usize, 2u8>(val as u64)
3044        }
3045    }
3046    #[inline]
3047    #[allow(unnecessary_transmutes)]
3048    pub unsafe fn status_raw(this: *const Self) -> rb_thread_status {
3049        unsafe {
3050            ::std::mem::transmute(
3051                <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<0usize, 2u8>(
3052                    ::std::ptr::addr_of!((*this)._bitfield_1),
3053                ) as u32,
3054            )
3055        }
3056    }
3057    #[inline]
3058    #[allow(unnecessary_transmutes)]
3059    pub unsafe fn set_status_raw(this: *mut Self, val: rb_thread_status) {
3060        unsafe {
3061            let val: u32 = ::std::mem::transmute(val);
3062            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<0usize, 2u8>(
3063                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
3064                val as u64,
3065            )
3066        }
3067    }
3068    #[inline]
3069    #[allow(unnecessary_transmutes)]
3070    pub fn has_dedicated_nt(&self) -> ::std::os::raw::c_uint {
3071        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<2usize, 1u8>() as u32) }
3072    }
3073    #[inline]
3074    #[allow(unnecessary_transmutes)]
3075    pub fn set_has_dedicated_nt(&mut self, val: ::std::os::raw::c_uint) {
3076        unsafe {
3077            let val: u32 = ::std::mem::transmute(val);
3078            self._bitfield_1.set_const::<2usize, 1u8>(val as u64)
3079        }
3080    }
3081    #[inline]
3082    #[allow(unnecessary_transmutes)]
3083    pub unsafe fn has_dedicated_nt_raw(this: *const Self) -> ::std::os::raw::c_uint {
3084        unsafe {
3085            ::std::mem::transmute(
3086                <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<2usize, 1u8>(
3087                    ::std::ptr::addr_of!((*this)._bitfield_1),
3088                ) as u32,
3089            )
3090        }
3091    }
3092    #[inline]
3093    #[allow(unnecessary_transmutes)]
3094    pub unsafe fn set_has_dedicated_nt_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
3095        unsafe {
3096            let val: u32 = ::std::mem::transmute(val);
3097            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<2usize, 1u8>(
3098                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
3099                val as u64,
3100            )
3101        }
3102    }
3103    #[inline]
3104    #[allow(unnecessary_transmutes)]
3105    pub fn to_kill(&self) -> ::std::os::raw::c_uint {
3106        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<3usize, 1u8>() as u32) }
3107    }
3108    #[inline]
3109    #[allow(unnecessary_transmutes)]
3110    pub fn set_to_kill(&mut self, val: ::std::os::raw::c_uint) {
3111        unsafe {
3112            let val: u32 = ::std::mem::transmute(val);
3113            self._bitfield_1.set_const::<3usize, 1u8>(val as u64)
3114        }
3115    }
3116    #[inline]
3117    #[allow(unnecessary_transmutes)]
3118    pub unsafe fn to_kill_raw(this: *const Self) -> ::std::os::raw::c_uint {
3119        unsafe {
3120            ::std::mem::transmute(
3121                <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<3usize, 1u8>(
3122                    ::std::ptr::addr_of!((*this)._bitfield_1),
3123                ) as u32,
3124            )
3125        }
3126    }
3127    #[inline]
3128    #[allow(unnecessary_transmutes)]
3129    pub unsafe fn set_to_kill_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
3130        unsafe {
3131            let val: u32 = ::std::mem::transmute(val);
3132            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<3usize, 1u8>(
3133                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
3134                val as u64,
3135            )
3136        }
3137    }
3138    #[inline]
3139    #[allow(unnecessary_transmutes)]
3140    pub fn abort_on_exception(&self) -> ::std::os::raw::c_uint {
3141        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<4usize, 1u8>() as u32) }
3142    }
3143    #[inline]
3144    #[allow(unnecessary_transmutes)]
3145    pub fn set_abort_on_exception(&mut self, val: ::std::os::raw::c_uint) {
3146        unsafe {
3147            let val: u32 = ::std::mem::transmute(val);
3148            self._bitfield_1.set_const::<4usize, 1u8>(val as u64)
3149        }
3150    }
3151    #[inline]
3152    #[allow(unnecessary_transmutes)]
3153    pub unsafe fn abort_on_exception_raw(this: *const Self) -> ::std::os::raw::c_uint {
3154        unsafe {
3155            ::std::mem::transmute(
3156                <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<4usize, 1u8>(
3157                    ::std::ptr::addr_of!((*this)._bitfield_1),
3158                ) as u32,
3159            )
3160        }
3161    }
3162    #[inline]
3163    #[allow(unnecessary_transmutes)]
3164    pub unsafe fn set_abort_on_exception_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
3165        unsafe {
3166            let val: u32 = ::std::mem::transmute(val);
3167            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<4usize, 1u8>(
3168                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
3169                val as u64,
3170            )
3171        }
3172    }
3173    #[inline]
3174    #[allow(unnecessary_transmutes)]
3175    pub fn report_on_exception(&self) -> ::std::os::raw::c_uint {
3176        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<5usize, 1u8>() as u32) }
3177    }
3178    #[inline]
3179    #[allow(unnecessary_transmutes)]
3180    pub fn set_report_on_exception(&mut self, val: ::std::os::raw::c_uint) {
3181        unsafe {
3182            let val: u32 = ::std::mem::transmute(val);
3183            self._bitfield_1.set_const::<5usize, 1u8>(val as u64)
3184        }
3185    }
3186    #[inline]
3187    #[allow(unnecessary_transmutes)]
3188    pub unsafe fn report_on_exception_raw(this: *const Self) -> ::std::os::raw::c_uint {
3189        unsafe {
3190            ::std::mem::transmute(
3191                <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<5usize, 1u8>(
3192                    ::std::ptr::addr_of!((*this)._bitfield_1),
3193                ) as u32,
3194            )
3195        }
3196    }
3197    #[inline]
3198    #[allow(unnecessary_transmutes)]
3199    pub unsafe fn set_report_on_exception_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
3200        unsafe {
3201            let val: u32 = ::std::mem::transmute(val);
3202            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<5usize, 1u8>(
3203                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
3204                val as u64,
3205            )
3206        }
3207    }
3208    #[inline]
3209    #[allow(unnecessary_transmutes)]
3210    pub fn pending_interrupt_queue_checked(&self) -> ::std::os::raw::c_uint {
3211        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<6usize, 1u8>() as u32) }
3212    }
3213    #[inline]
3214    #[allow(unnecessary_transmutes)]
3215    pub fn set_pending_interrupt_queue_checked(&mut self, val: ::std::os::raw::c_uint) {
3216        unsafe {
3217            let val: u32 = ::std::mem::transmute(val);
3218            self._bitfield_1.set_const::<6usize, 1u8>(val as u64)
3219        }
3220    }
3221    #[inline]
3222    #[allow(unnecessary_transmutes)]
3223    pub unsafe fn pending_interrupt_queue_checked_raw(this: *const Self) -> ::std::os::raw::c_uint {
3224        unsafe {
3225            ::std::mem::transmute(
3226                <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<6usize, 1u8>(
3227                    ::std::ptr::addr_of!((*this)._bitfield_1),
3228                ) as u32,
3229            )
3230        }
3231    }
3232    #[inline]
3233    #[allow(unnecessary_transmutes)]
3234    pub unsafe fn set_pending_interrupt_queue_checked_raw(
3235        this: *mut Self,
3236        val: ::std::os::raw::c_uint,
3237    ) {
3238        unsafe {
3239            let val: u32 = ::std::mem::transmute(val);
3240            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<6usize, 1u8>(
3241                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
3242                val as u64,
3243            )
3244        }
3245    }
3246    #[inline]
3247    #[allow(unnecessary_transmutes)]
3248    pub fn new_bitfield_1(
3249        status: rb_thread_status,
3250        has_dedicated_nt: ::std::os::raw::c_uint,
3251        to_kill: ::std::os::raw::c_uint,
3252        abort_on_exception: ::std::os::raw::c_uint,
3253        report_on_exception: ::std::os::raw::c_uint,
3254        pending_interrupt_queue_checked: ::std::os::raw::c_uint,
3255    ) -> __BindgenBitfieldUnit<[u8; 1usize]> {
3256        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
3257        __bindgen_bitfield_unit.set_const::<0usize, 2u8>({
3258            let status: u32 = unsafe { ::std::mem::transmute(status) };
3259            status as u64
3260        });
3261        __bindgen_bitfield_unit.set_const::<2usize, 1u8>({
3262            let has_dedicated_nt: u32 = unsafe { ::std::mem::transmute(has_dedicated_nt) };
3263            has_dedicated_nt as u64
3264        });
3265        __bindgen_bitfield_unit.set_const::<3usize, 1u8>({
3266            let to_kill: u32 = unsafe { ::std::mem::transmute(to_kill) };
3267            to_kill as u64
3268        });
3269        __bindgen_bitfield_unit.set_const::<4usize, 1u8>({
3270            let abort_on_exception: u32 = unsafe { ::std::mem::transmute(abort_on_exception) };
3271            abort_on_exception as u64
3272        });
3273        __bindgen_bitfield_unit.set_const::<5usize, 1u8>({
3274            let report_on_exception: u32 = unsafe { ::std::mem::transmute(report_on_exception) };
3275            report_on_exception as u64
3276        });
3277        __bindgen_bitfield_unit.set_const::<6usize, 1u8>({
3278            let pending_interrupt_queue_checked: u32 =
3279                unsafe { ::std::mem::transmute(pending_interrupt_queue_checked) };
3280            pending_interrupt_queue_checked as u64
3281        });
3282        __bindgen_bitfield_unit
3283    }
3284}
3285pub type rb_thread_t = rb_thread_struct;
3286#[repr(C)]
3287#[derive(Debug, Copy, Clone)]
3288pub struct rb_trace_arg_struct {
3289    pub event: rb_event_flag_t,
3290    pub ec: *mut rb_execution_context_t,
3291    pub cfp: *const rb_control_frame_t,
3292    pub self_: VALUE,
3293    pub id: ID,
3294    pub called_id: ID,
3295    pub klass: VALUE,
3296    pub data: VALUE,
3297    pub klass_solved: ::std::os::raw::c_int,
3298    pub lineno: ::std::os::raw::c_int,
3299    pub path: VALUE,
3300}
3301#[repr(C)]
3302#[derive(Debug, Copy, Clone)]
3303pub struct rb_ractor_pub {
3304    pub self_: VALUE,
3305    pub id: u32,
3306    pub hooks: rb_hook_list_t,
3307    pub targeted_hooks: *mut st_table,
3308    pub targeted_hooks_cnt: ::std::os::raw::c_uint,
3309}
3310#[repr(C)]
3311#[derive(Debug)]
3312pub struct rb_objspace {
3313    _unused: [u8; 0],
3314}
3315#[repr(C)]
3316#[derive(Copy, Clone)]
3317pub struct rb_ractor_sync {
3318    pub lock: rb_nativethread_lock_t,
3319    pub recv_queue: *mut ractor_queue,
3320    pub waiters: ccan_list_head,
3321    pub default_port_value: VALUE,
3322    pub ports: *mut st_table,
3323    pub next_port_id: usize,
3324    pub monitors: ccan_list_head,
3325    pub successor: *mut rb_ractor_t,
3326    pub legacy: VALUE,
3327    pub legacy_exc: u8,
3328}
3329impl ::std::fmt::Debug for rb_ractor_sync {
3330    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3331        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)
3332    }
3333}
3334pub const ractor_status_ractor_created: ractor_status = 0;
3335pub const ractor_status_ractor_running: ractor_status = 1;
3336pub const ractor_status_ractor_blocking: ractor_status = 2;
3337pub const ractor_status_ractor_terminated: ractor_status = 3;
3338pub type ractor_status = ::std::os::raw::c_uint;
3339#[repr(C)]
3340#[derive(Copy, Clone)]
3341pub struct rb_ractor_struct {
3342    pub pub_: rb_ractor_pub,
3343    pub sync: rb_ractor_sync,
3344    pub threads: rb_ractor_struct__bindgen_ty_1,
3345    pub thgroup_default: VALUE,
3346    pub name: VALUE,
3347    pub loc: VALUE,
3348    pub status_: ractor_status,
3349    pub vmlr_node: ccan_list_node,
3350    pub next_ec_serial: rb_serial_t,
3351    pub local_storage: *mut st_table,
3352    pub idkey_local_storage: *mut rb_id_table,
3353    pub local_storage_store_lock: VALUE,
3354    pub r_stdin: VALUE,
3355    pub r_stdout: VALUE,
3356    pub r_stderr: VALUE,
3357    pub verbose: VALUE,
3358    pub debug: VALUE,
3359    pub malloc_gc_disabled: u8,
3360    pub newobj_cache: *mut ::std::os::raw::c_void,
3361}
3362#[repr(C)]
3363#[derive(Copy, Clone)]
3364pub struct rb_ractor_struct__bindgen_ty_1 {
3365    pub set: ccan_list_head,
3366    pub cnt: ::std::os::raw::c_uint,
3367    pub blocking_cnt: ::std::os::raw::c_uint,
3368    pub sleeper: ::std::os::raw::c_uint,
3369    pub sched: rb_thread_sched,
3370    pub running_ec: *mut rb_execution_context_t,
3371    pub main: *mut rb_thread_t,
3372}
3373impl ::std::fmt::Debug for rb_ractor_struct__bindgen_ty_1 {
3374    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3375        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)
3376    }
3377}
3378impl ::std::fmt::Debug for rb_ractor_struct {
3379    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3380        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)
3381    }
3382}
3383pub type attr_index_t = u16;
3384#[repr(C)]
3385#[derive(Debug, Copy, Clone)]
3386pub struct rb_box_subclasses {
3387    pub refcount: ::std::os::raw::c_long,
3388    pub tbl: *mut st_table,
3389}
3390pub type rb_box_subclasses_t = rb_box_subclasses;
3391#[repr(C)]
3392#[derive(Debug, Copy, Clone)]
3393pub struct rb_subclass_anchor {
3394    pub box_subclasses: *mut rb_box_subclasses_t,
3395    pub head: *mut rb_subclass_entry,
3396}
3397#[repr(C)]
3398#[derive(Debug, Copy, Clone)]
3399pub struct rb_subclass_entry {
3400    pub klass: VALUE,
3401    pub next: *mut rb_subclass_entry,
3402    pub prev: *mut rb_subclass_entry,
3403}
3404#[repr(C)]
3405#[derive(Copy, Clone)]
3406pub struct rb_classext_struct {
3407    pub box_: *const rb_box_t,
3408    pub super_: VALUE,
3409    pub fields_obj: VALUE,
3410    pub m_tbl: *mut rb_id_table,
3411    pub const_tbl: *mut rb_id_table,
3412    pub callable_m_tbl: *mut rb_id_table,
3413    pub cc_tbl: VALUE,
3414    pub cvc_tbl: *mut rb_id_table,
3415    pub superclasses: *mut VALUE,
3416    pub subclasses: *mut rb_subclass_anchor,
3417    pub box_super_subclasses: *mut rb_box_subclasses_t,
3418    pub box_module_subclasses: *mut rb_box_subclasses_t,
3419    pub origin_: VALUE,
3420    pub refined_class: VALUE,
3421    pub as_: rb_classext_struct__bindgen_ty_1,
3422    pub max_iv_count: attr_index_t,
3423    pub superclass_depth: u16,
3424    pub variation_count: ::std::os::raw::c_uchar,
3425    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
3426    pub classpath: VALUE,
3427}
3428#[repr(C)]
3429#[derive(Copy, Clone)]
3430pub union rb_classext_struct__bindgen_ty_1 {
3431    pub class: rb_classext_struct__bindgen_ty_1__bindgen_ty_1,
3432    pub singleton_class: rb_classext_struct__bindgen_ty_1__bindgen_ty_2,
3433    pub iclass: rb_classext_struct__bindgen_ty_1__bindgen_ty_3,
3434}
3435#[repr(C)]
3436#[derive(Debug, Copy, Clone)]
3437pub struct rb_classext_struct__bindgen_ty_1__bindgen_ty_1 {
3438    pub allocator: rb_alloc_func_t,
3439}
3440#[repr(C)]
3441#[derive(Debug, Copy, Clone)]
3442pub struct rb_classext_struct__bindgen_ty_1__bindgen_ty_2 {
3443    pub attached_object: VALUE,
3444}
3445#[repr(C)]
3446#[derive(Debug, Copy, Clone)]
3447pub struct rb_classext_struct__bindgen_ty_1__bindgen_ty_3 {
3448    pub includer: VALUE,
3449}
3450impl ::std::fmt::Debug for rb_classext_struct__bindgen_ty_1 {
3451    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3452        write!(f, "rb_classext_struct__bindgen_ty_1 {{ union }}")
3453    }
3454}
3455impl ::std::fmt::Debug for rb_classext_struct {
3456    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3457        write ! (f , "rb_classext_struct {{ box: {:?}, super: {:?}, fields_obj: {:?}, m_tbl: {:?}, const_tbl: {:?}, callable_m_tbl: {:?}, cc_tbl: {:?}, cvc_tbl: {:?}, superclasses: {:?}, subclasses: {:?}, box_super_subclasses: {:?}, box_module_subclasses: {:?}, 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 . box_super_subclasses , self . box_module_subclasses , 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)
3458    }
3459}
3460impl rb_classext_struct {
3461    #[inline]
3462    #[allow(unnecessary_transmutes)]
3463    pub fn permanent_classpath(&self) -> bool {
3464        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<0usize, 1u8>() as u8) }
3465    }
3466    #[inline]
3467    #[allow(unnecessary_transmutes)]
3468    pub fn set_permanent_classpath(&mut self, val: bool) {
3469        unsafe {
3470            let val: u8 = ::std::mem::transmute(val);
3471            self._bitfield_1.set_const::<0usize, 1u8>(val as u64)
3472        }
3473    }
3474    #[inline]
3475    #[allow(unnecessary_transmutes)]
3476    pub unsafe fn permanent_classpath_raw(this: *const Self) -> bool {
3477        unsafe {
3478            ::std::mem::transmute(
3479                <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<0usize, 1u8>(
3480                    ::std::ptr::addr_of!((*this)._bitfield_1),
3481                ) as u8,
3482            )
3483        }
3484    }
3485    #[inline]
3486    #[allow(unnecessary_transmutes)]
3487    pub unsafe fn set_permanent_classpath_raw(this: *mut Self, val: bool) {
3488        unsafe {
3489            let val: u8 = ::std::mem::transmute(val);
3490            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<0usize, 1u8>(
3491                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
3492                val as u64,
3493            )
3494        }
3495    }
3496    #[inline]
3497    #[allow(unnecessary_transmutes)]
3498    pub fn cloned(&self) -> bool {
3499        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<1usize, 1u8>() as u8) }
3500    }
3501    #[inline]
3502    #[allow(unnecessary_transmutes)]
3503    pub fn set_cloned(&mut self, val: bool) {
3504        unsafe {
3505            let val: u8 = ::std::mem::transmute(val);
3506            self._bitfield_1.set_const::<1usize, 1u8>(val as u64)
3507        }
3508    }
3509    #[inline]
3510    #[allow(unnecessary_transmutes)]
3511    pub unsafe fn cloned_raw(this: *const Self) -> bool {
3512        unsafe {
3513            ::std::mem::transmute(
3514                <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<1usize, 1u8>(
3515                    ::std::ptr::addr_of!((*this)._bitfield_1),
3516                ) as u8,
3517            )
3518        }
3519    }
3520    #[inline]
3521    #[allow(unnecessary_transmutes)]
3522    pub unsafe fn set_cloned_raw(this: *mut Self, val: bool) {
3523        unsafe {
3524            let val: u8 = ::std::mem::transmute(val);
3525            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<1usize, 1u8>(
3526                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
3527                val as u64,
3528            )
3529        }
3530    }
3531    #[inline]
3532    #[allow(unnecessary_transmutes)]
3533    pub fn shared_const_tbl(&self) -> bool {
3534        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<2usize, 1u8>() as u8) }
3535    }
3536    #[inline]
3537    #[allow(unnecessary_transmutes)]
3538    pub fn set_shared_const_tbl(&mut self, val: bool) {
3539        unsafe {
3540            let val: u8 = ::std::mem::transmute(val);
3541            self._bitfield_1.set_const::<2usize, 1u8>(val as u64)
3542        }
3543    }
3544    #[inline]
3545    #[allow(unnecessary_transmutes)]
3546    pub unsafe fn shared_const_tbl_raw(this: *const Self) -> bool {
3547        unsafe {
3548            ::std::mem::transmute(
3549                <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<2usize, 1u8>(
3550                    ::std::ptr::addr_of!((*this)._bitfield_1),
3551                ) as u8,
3552            )
3553        }
3554    }
3555    #[inline]
3556    #[allow(unnecessary_transmutes)]
3557    pub unsafe fn set_shared_const_tbl_raw(this: *mut Self, val: bool) {
3558        unsafe {
3559            let val: u8 = ::std::mem::transmute(val);
3560            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<2usize, 1u8>(
3561                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
3562                val as u64,
3563            )
3564        }
3565    }
3566    #[inline]
3567    #[allow(unnecessary_transmutes)]
3568    pub fn iclass_is_origin(&self) -> bool {
3569        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<3usize, 1u8>() as u8) }
3570    }
3571    #[inline]
3572    #[allow(unnecessary_transmutes)]
3573    pub fn set_iclass_is_origin(&mut self, val: bool) {
3574        unsafe {
3575            let val: u8 = ::std::mem::transmute(val);
3576            self._bitfield_1.set_const::<3usize, 1u8>(val as u64)
3577        }
3578    }
3579    #[inline]
3580    #[allow(unnecessary_transmutes)]
3581    pub unsafe fn iclass_is_origin_raw(this: *const Self) -> bool {
3582        unsafe {
3583            ::std::mem::transmute(
3584                <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<3usize, 1u8>(
3585                    ::std::ptr::addr_of!((*this)._bitfield_1),
3586                ) as u8,
3587            )
3588        }
3589    }
3590    #[inline]
3591    #[allow(unnecessary_transmutes)]
3592    pub unsafe fn set_iclass_is_origin_raw(this: *mut Self, val: bool) {
3593        unsafe {
3594            let val: u8 = ::std::mem::transmute(val);
3595            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<3usize, 1u8>(
3596                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
3597                val as u64,
3598            )
3599        }
3600    }
3601    #[inline]
3602    #[allow(unnecessary_transmutes)]
3603    pub fn iclass_origin_shared_mtbl(&self) -> bool {
3604        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<4usize, 1u8>() as u8) }
3605    }
3606    #[inline]
3607    #[allow(unnecessary_transmutes)]
3608    pub fn set_iclass_origin_shared_mtbl(&mut self, val: bool) {
3609        unsafe {
3610            let val: u8 = ::std::mem::transmute(val);
3611            self._bitfield_1.set_const::<4usize, 1u8>(val as u64)
3612        }
3613    }
3614    #[inline]
3615    #[allow(unnecessary_transmutes)]
3616    pub unsafe fn iclass_origin_shared_mtbl_raw(this: *const Self) -> bool {
3617        unsafe {
3618            ::std::mem::transmute(
3619                <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<4usize, 1u8>(
3620                    ::std::ptr::addr_of!((*this)._bitfield_1),
3621                ) as u8,
3622            )
3623        }
3624    }
3625    #[inline]
3626    #[allow(unnecessary_transmutes)]
3627    pub unsafe fn set_iclass_origin_shared_mtbl_raw(this: *mut Self, val: bool) {
3628        unsafe {
3629            let val: u8 = ::std::mem::transmute(val);
3630            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<4usize, 1u8>(
3631                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
3632                val as u64,
3633            )
3634        }
3635    }
3636    #[inline]
3637    #[allow(unnecessary_transmutes)]
3638    pub fn superclasses_with_self(&self) -> bool {
3639        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<5usize, 1u8>() as u8) }
3640    }
3641    #[inline]
3642    #[allow(unnecessary_transmutes)]
3643    pub fn set_superclasses_with_self(&mut self, val: bool) {
3644        unsafe {
3645            let val: u8 = ::std::mem::transmute(val);
3646            self._bitfield_1.set_const::<5usize, 1u8>(val as u64)
3647        }
3648    }
3649    #[inline]
3650    #[allow(unnecessary_transmutes)]
3651    pub unsafe fn superclasses_with_self_raw(this: *const Self) -> bool {
3652        unsafe {
3653            ::std::mem::transmute(
3654                <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_get_const::<5usize, 1u8>(
3655                    ::std::ptr::addr_of!((*this)._bitfield_1),
3656                ) as u8,
3657            )
3658        }
3659    }
3660    #[inline]
3661    #[allow(unnecessary_transmutes)]
3662    pub unsafe fn set_superclasses_with_self_raw(this: *mut Self, val: bool) {
3663        unsafe {
3664            let val: u8 = ::std::mem::transmute(val);
3665            <__BindgenBitfieldUnit<[u8; 1usize]>>::raw_set_const::<5usize, 1u8>(
3666                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
3667                val as u64,
3668            )
3669        }
3670    }
3671    #[inline]
3672    #[allow(unnecessary_transmutes)]
3673    pub fn new_bitfield_1(
3674        permanent_classpath: bool,
3675        cloned: bool,
3676        shared_const_tbl: bool,
3677        iclass_is_origin: bool,
3678        iclass_origin_shared_mtbl: bool,
3679        superclasses_with_self: bool,
3680    ) -> __BindgenBitfieldUnit<[u8; 1usize]> {
3681        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
3682        __bindgen_bitfield_unit.set_const::<0usize, 1u8>({
3683            let permanent_classpath: u8 = unsafe { ::std::mem::transmute(permanent_classpath) };
3684            permanent_classpath as u64
3685        });
3686        __bindgen_bitfield_unit.set_const::<1usize, 1u8>({
3687            let cloned: u8 = unsafe { ::std::mem::transmute(cloned) };
3688            cloned as u64
3689        });
3690        __bindgen_bitfield_unit.set_const::<2usize, 1u8>({
3691            let shared_const_tbl: u8 = unsafe { ::std::mem::transmute(shared_const_tbl) };
3692            shared_const_tbl as u64
3693        });
3694        __bindgen_bitfield_unit.set_const::<3usize, 1u8>({
3695            let iclass_is_origin: u8 = unsafe { ::std::mem::transmute(iclass_is_origin) };
3696            iclass_is_origin as u64
3697        });
3698        __bindgen_bitfield_unit.set_const::<4usize, 1u8>({
3699            let iclass_origin_shared_mtbl: u8 =
3700                unsafe { ::std::mem::transmute(iclass_origin_shared_mtbl) };
3701            iclass_origin_shared_mtbl as u64
3702        });
3703        __bindgen_bitfield_unit.set_const::<5usize, 1u8>({
3704            let superclasses_with_self: u8 =
3705                unsafe { ::std::mem::transmute(superclasses_with_self) };
3706            superclasses_with_self as u64
3707        });
3708        __bindgen_bitfield_unit
3709    }
3710}
3711pub type rb_classext_t = rb_classext_struct;
3712#[repr(C)]
3713#[derive(Debug, Copy, Clone)]
3714pub struct RClass {
3715    pub basic: RBasic,
3716    pub object_id: VALUE,
3717}
3718#[repr(C)]
3719#[derive(Copy, Clone)]
3720pub struct RClass_and_rb_classext_t {
3721    pub rclass: RClass,
3722    pub classext: rb_classext_t,
3723}
3724impl ::std::fmt::Debug for RClass_and_rb_classext_t {
3725    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3726        write!(
3727            f,
3728            "RClass_and_rb_classext_t {{ rclass: {:?}, classext: {:?} }}",
3729            self.rclass, self.classext
3730        )
3731    }
3732}
3733#[repr(C)]
3734#[derive(Copy, Clone)]
3735pub struct iseq_compile_data {
3736    pub err_info: VALUE,
3737    pub catch_table_ary: VALUE,
3738    pub iseq_size: ::std::os::raw::c_uint,
3739    pub iseq_encoded: *mut VALUE,
3740    pub is_single_mark_bit: u8,
3741    pub mark_bits: iseq_compile_data__bindgen_ty_1,
3742    pub start_label: *mut iseq_label_data,
3743    pub end_label: *mut iseq_label_data,
3744    pub redo_label: *mut iseq_label_data,
3745    pub current_block: *const rb_iseq_t,
3746    pub ensure_node_stack: *mut iseq_compile_data_ensure_node_stack,
3747    pub node: iseq_compile_data__bindgen_ty_2,
3748    pub insn: iseq_compile_data__bindgen_ty_3,
3749    pub in_rescue: u8,
3750    pub in_masgn: u8,
3751    pub loopval_popped: ::std::os::raw::c_int,
3752    pub last_line: ::std::os::raw::c_int,
3753    pub label_no: ::std::os::raw::c_int,
3754    pub node_level: ::std::os::raw::c_int,
3755    pub isolated_depth: ::std::os::raw::c_int,
3756    pub ci_index: ::std::os::raw::c_uint,
3757    pub ic_index: ::std::os::raw::c_uint,
3758    pub option: *const rb_compile_option_t,
3759    pub ivar_cache_table: *mut rb_id_table,
3760    pub builtin_function_table: *const rb_builtin_function,
3761    pub root_node: *const NODE,
3762    pub catch_except_p: u8,
3763}
3764#[repr(C)]
3765#[derive(Copy, Clone)]
3766pub union iseq_compile_data__bindgen_ty_1 {
3767    pub list: *mut iseq_bits_t,
3768    pub single: iseq_bits_t,
3769}
3770impl ::std::fmt::Debug for iseq_compile_data__bindgen_ty_1 {
3771    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3772        write!(f, "iseq_compile_data__bindgen_ty_1 {{ union }}")
3773    }
3774}
3775#[repr(C)]
3776#[derive(Debug, Copy, Clone)]
3777pub struct iseq_compile_data__bindgen_ty_2 {
3778    pub storage_head: *mut iseq_compile_data_storage,
3779    pub storage_current: *mut iseq_compile_data_storage,
3780}
3781#[repr(C)]
3782#[derive(Debug, Copy, Clone)]
3783pub struct iseq_compile_data__bindgen_ty_3 {
3784    pub storage_head: *mut iseq_compile_data_storage,
3785    pub storage_current: *mut iseq_compile_data_storage,
3786}
3787impl ::std::fmt::Debug for iseq_compile_data {
3788    fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3789        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)
3790    }
3791}
3792#[repr(C)]
3793#[derive(Debug, Copy, Clone)]
3794pub struct rb_compile_option_struct {
3795    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2usize]>,
3796    pub debug_level: ::std::os::raw::c_int,
3797}
3798impl rb_compile_option_struct {
3799    #[inline]
3800    #[allow(unnecessary_transmutes)]
3801    pub fn inline_const_cache(&self) -> ::std::os::raw::c_uint {
3802        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<0usize, 1u8>() as u32) }
3803    }
3804    #[inline]
3805    #[allow(unnecessary_transmutes)]
3806    pub fn set_inline_const_cache(&mut self, val: ::std::os::raw::c_uint) {
3807        unsafe {
3808            let val: u32 = ::std::mem::transmute(val);
3809            self._bitfield_1.set_const::<0usize, 1u8>(val as u64)
3810        }
3811    }
3812    #[inline]
3813    #[allow(unnecessary_transmutes)]
3814    pub unsafe fn inline_const_cache_raw(this: *const Self) -> ::std::os::raw::c_uint {
3815        unsafe {
3816            ::std::mem::transmute(
3817                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<0usize, 1u8>(
3818                    ::std::ptr::addr_of!((*this)._bitfield_1),
3819                ) as u32,
3820            )
3821        }
3822    }
3823    #[inline]
3824    #[allow(unnecessary_transmutes)]
3825    pub unsafe fn set_inline_const_cache_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
3826        unsafe {
3827            let val: u32 = ::std::mem::transmute(val);
3828            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<0usize, 1u8>(
3829                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
3830                val as u64,
3831            )
3832        }
3833    }
3834    #[inline]
3835    #[allow(unnecessary_transmutes)]
3836    pub fn peephole_optimization(&self) -> ::std::os::raw::c_uint {
3837        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<1usize, 1u8>() as u32) }
3838    }
3839    #[inline]
3840    #[allow(unnecessary_transmutes)]
3841    pub fn set_peephole_optimization(&mut self, val: ::std::os::raw::c_uint) {
3842        unsafe {
3843            let val: u32 = ::std::mem::transmute(val);
3844            self._bitfield_1.set_const::<1usize, 1u8>(val as u64)
3845        }
3846    }
3847    #[inline]
3848    #[allow(unnecessary_transmutes)]
3849    pub unsafe fn peephole_optimization_raw(this: *const Self) -> ::std::os::raw::c_uint {
3850        unsafe {
3851            ::std::mem::transmute(
3852                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<1usize, 1u8>(
3853                    ::std::ptr::addr_of!((*this)._bitfield_1),
3854                ) as u32,
3855            )
3856        }
3857    }
3858    #[inline]
3859    #[allow(unnecessary_transmutes)]
3860    pub unsafe fn set_peephole_optimization_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
3861        unsafe {
3862            let val: u32 = ::std::mem::transmute(val);
3863            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<1usize, 1u8>(
3864                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
3865                val as u64,
3866            )
3867        }
3868    }
3869    #[inline]
3870    #[allow(unnecessary_transmutes)]
3871    pub fn tailcall_optimization(&self) -> ::std::os::raw::c_uint {
3872        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<2usize, 1u8>() as u32) }
3873    }
3874    #[inline]
3875    #[allow(unnecessary_transmutes)]
3876    pub fn set_tailcall_optimization(&mut self, val: ::std::os::raw::c_uint) {
3877        unsafe {
3878            let val: u32 = ::std::mem::transmute(val);
3879            self._bitfield_1.set_const::<2usize, 1u8>(val as u64)
3880        }
3881    }
3882    #[inline]
3883    #[allow(unnecessary_transmutes)]
3884    pub unsafe fn tailcall_optimization_raw(this: *const Self) -> ::std::os::raw::c_uint {
3885        unsafe {
3886            ::std::mem::transmute(
3887                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<2usize, 1u8>(
3888                    ::std::ptr::addr_of!((*this)._bitfield_1),
3889                ) as u32,
3890            )
3891        }
3892    }
3893    #[inline]
3894    #[allow(unnecessary_transmutes)]
3895    pub unsafe fn set_tailcall_optimization_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
3896        unsafe {
3897            let val: u32 = ::std::mem::transmute(val);
3898            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<2usize, 1u8>(
3899                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
3900                val as u64,
3901            )
3902        }
3903    }
3904    #[inline]
3905    #[allow(unnecessary_transmutes)]
3906    pub fn specialized_instruction(&self) -> ::std::os::raw::c_uint {
3907        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<3usize, 1u8>() as u32) }
3908    }
3909    #[inline]
3910    #[allow(unnecessary_transmutes)]
3911    pub fn set_specialized_instruction(&mut self, val: ::std::os::raw::c_uint) {
3912        unsafe {
3913            let val: u32 = ::std::mem::transmute(val);
3914            self._bitfield_1.set_const::<3usize, 1u8>(val as u64)
3915        }
3916    }
3917    #[inline]
3918    #[allow(unnecessary_transmutes)]
3919    pub unsafe fn specialized_instruction_raw(this: *const Self) -> ::std::os::raw::c_uint {
3920        unsafe {
3921            ::std::mem::transmute(
3922                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<3usize, 1u8>(
3923                    ::std::ptr::addr_of!((*this)._bitfield_1),
3924                ) as u32,
3925            )
3926        }
3927    }
3928    #[inline]
3929    #[allow(unnecessary_transmutes)]
3930    pub unsafe fn set_specialized_instruction_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
3931        unsafe {
3932            let val: u32 = ::std::mem::transmute(val);
3933            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<3usize, 1u8>(
3934                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
3935                val as u64,
3936            )
3937        }
3938    }
3939    #[inline]
3940    #[allow(unnecessary_transmutes)]
3941    pub fn operands_unification(&self) -> ::std::os::raw::c_uint {
3942        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<4usize, 1u8>() as u32) }
3943    }
3944    #[inline]
3945    #[allow(unnecessary_transmutes)]
3946    pub fn set_operands_unification(&mut self, val: ::std::os::raw::c_uint) {
3947        unsafe {
3948            let val: u32 = ::std::mem::transmute(val);
3949            self._bitfield_1.set_const::<4usize, 1u8>(val as u64)
3950        }
3951    }
3952    #[inline]
3953    #[allow(unnecessary_transmutes)]
3954    pub unsafe fn operands_unification_raw(this: *const Self) -> ::std::os::raw::c_uint {
3955        unsafe {
3956            ::std::mem::transmute(
3957                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<4usize, 1u8>(
3958                    ::std::ptr::addr_of!((*this)._bitfield_1),
3959                ) as u32,
3960            )
3961        }
3962    }
3963    #[inline]
3964    #[allow(unnecessary_transmutes)]
3965    pub unsafe fn set_operands_unification_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
3966        unsafe {
3967            let val: u32 = ::std::mem::transmute(val);
3968            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<4usize, 1u8>(
3969                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
3970                val as u64,
3971            )
3972        }
3973    }
3974    #[inline]
3975    #[allow(unnecessary_transmutes)]
3976    pub fn instructions_unification(&self) -> ::std::os::raw::c_uint {
3977        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<5usize, 1u8>() as u32) }
3978    }
3979    #[inline]
3980    #[allow(unnecessary_transmutes)]
3981    pub fn set_instructions_unification(&mut self, val: ::std::os::raw::c_uint) {
3982        unsafe {
3983            let val: u32 = ::std::mem::transmute(val);
3984            self._bitfield_1.set_const::<5usize, 1u8>(val as u64)
3985        }
3986    }
3987    #[inline]
3988    #[allow(unnecessary_transmutes)]
3989    pub unsafe fn instructions_unification_raw(this: *const Self) -> ::std::os::raw::c_uint {
3990        unsafe {
3991            ::std::mem::transmute(
3992                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<5usize, 1u8>(
3993                    ::std::ptr::addr_of!((*this)._bitfield_1),
3994                ) as u32,
3995            )
3996        }
3997    }
3998    #[inline]
3999    #[allow(unnecessary_transmutes)]
4000    pub unsafe fn set_instructions_unification_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
4001        unsafe {
4002            let val: u32 = ::std::mem::transmute(val);
4003            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<5usize, 1u8>(
4004                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
4005                val as u64,
4006            )
4007        }
4008    }
4009    #[inline]
4010    #[allow(unnecessary_transmutes)]
4011    pub fn frozen_string_literal(&self) -> ::std::os::raw::c_int {
4012        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<6usize, 2u8>() as u32) }
4013    }
4014    #[inline]
4015    #[allow(unnecessary_transmutes)]
4016    pub fn set_frozen_string_literal(&mut self, val: ::std::os::raw::c_int) {
4017        unsafe {
4018            let val: u32 = ::std::mem::transmute(val);
4019            self._bitfield_1.set_const::<6usize, 2u8>(val as u64)
4020        }
4021    }
4022    #[inline]
4023    #[allow(unnecessary_transmutes)]
4024    pub unsafe fn frozen_string_literal_raw(this: *const Self) -> ::std::os::raw::c_int {
4025        unsafe {
4026            ::std::mem::transmute(
4027                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<6usize, 2u8>(
4028                    ::std::ptr::addr_of!((*this)._bitfield_1),
4029                ) as u32,
4030            )
4031        }
4032    }
4033    #[inline]
4034    #[allow(unnecessary_transmutes)]
4035    pub unsafe fn set_frozen_string_literal_raw(this: *mut Self, val: ::std::os::raw::c_int) {
4036        unsafe {
4037            let val: u32 = ::std::mem::transmute(val);
4038            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<6usize, 2u8>(
4039                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
4040                val as u64,
4041            )
4042        }
4043    }
4044    #[inline]
4045    #[allow(unnecessary_transmutes)]
4046    pub fn debug_frozen_string_literal(&self) -> ::std::os::raw::c_uint {
4047        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<8usize, 1u8>() as u32) }
4048    }
4049    #[inline]
4050    #[allow(unnecessary_transmutes)]
4051    pub fn set_debug_frozen_string_literal(&mut self, val: ::std::os::raw::c_uint) {
4052        unsafe {
4053            let val: u32 = ::std::mem::transmute(val);
4054            self._bitfield_1.set_const::<8usize, 1u8>(val as u64)
4055        }
4056    }
4057    #[inline]
4058    #[allow(unnecessary_transmutes)]
4059    pub unsafe fn debug_frozen_string_literal_raw(this: *const Self) -> ::std::os::raw::c_uint {
4060        unsafe {
4061            ::std::mem::transmute(
4062                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<8usize, 1u8>(
4063                    ::std::ptr::addr_of!((*this)._bitfield_1),
4064                ) as u32,
4065            )
4066        }
4067    }
4068    #[inline]
4069    #[allow(unnecessary_transmutes)]
4070    pub unsafe fn set_debug_frozen_string_literal_raw(
4071        this: *mut Self,
4072        val: ::std::os::raw::c_uint,
4073    ) {
4074        unsafe {
4075            let val: u32 = ::std::mem::transmute(val);
4076            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<8usize, 1u8>(
4077                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
4078                val as u64,
4079            )
4080        }
4081    }
4082    #[inline]
4083    #[allow(unnecessary_transmutes)]
4084    pub fn coverage_enabled(&self) -> ::std::os::raw::c_uint {
4085        unsafe { ::std::mem::transmute(self._bitfield_1.get_const::<9usize, 1u8>() as u32) }
4086    }
4087    #[inline]
4088    #[allow(unnecessary_transmutes)]
4089    pub fn set_coverage_enabled(&mut self, val: ::std::os::raw::c_uint) {
4090        unsafe {
4091            let val: u32 = ::std::mem::transmute(val);
4092            self._bitfield_1.set_const::<9usize, 1u8>(val as u64)
4093        }
4094    }
4095    #[inline]
4096    #[allow(unnecessary_transmutes)]
4097    pub unsafe fn coverage_enabled_raw(this: *const Self) -> ::std::os::raw::c_uint {
4098        unsafe {
4099            ::std::mem::transmute(
4100                <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_get_const::<9usize, 1u8>(
4101                    ::std::ptr::addr_of!((*this)._bitfield_1),
4102                ) as u32,
4103            )
4104        }
4105    }
4106    #[inline]
4107    #[allow(unnecessary_transmutes)]
4108    pub unsafe fn set_coverage_enabled_raw(this: *mut Self, val: ::std::os::raw::c_uint) {
4109        unsafe {
4110            let val: u32 = ::std::mem::transmute(val);
4111            <__BindgenBitfieldUnit<[u8; 2usize]>>::raw_set_const::<9usize, 1u8>(
4112                ::std::ptr::addr_of_mut!((*this)._bitfield_1),
4113                val as u64,
4114            )
4115        }
4116    }
4117    #[inline]
4118    #[allow(unnecessary_transmutes)]
4119    pub fn new_bitfield_1(
4120        inline_const_cache: ::std::os::raw::c_uint,
4121        peephole_optimization: ::std::os::raw::c_uint,
4122        tailcall_optimization: ::std::os::raw::c_uint,
4123        specialized_instruction: ::std::os::raw::c_uint,
4124        operands_unification: ::std::os::raw::c_uint,
4125        instructions_unification: ::std::os::raw::c_uint,
4126        frozen_string_literal: ::std::os::raw::c_int,
4127        debug_frozen_string_literal: ::std::os::raw::c_uint,
4128        coverage_enabled: ::std::os::raw::c_uint,
4129    ) -> __BindgenBitfieldUnit<[u8; 2usize]> {
4130        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 2usize]> = Default::default();
4131        __bindgen_bitfield_unit.set_const::<0usize, 1u8>({
4132            let inline_const_cache: u32 = unsafe { ::std::mem::transmute(inline_const_cache) };
4133            inline_const_cache as u64
4134        });
4135        __bindgen_bitfield_unit.set_const::<1usize, 1u8>({
4136            let peephole_optimization: u32 =
4137                unsafe { ::std::mem::transmute(peephole_optimization) };
4138            peephole_optimization as u64
4139        });
4140        __bindgen_bitfield_unit.set_const::<2usize, 1u8>({
4141            let tailcall_optimization: u32 =
4142                unsafe { ::std::mem::transmute(tailcall_optimization) };
4143            tailcall_optimization as u64
4144        });
4145        __bindgen_bitfield_unit.set_const::<3usize, 1u8>({
4146            let specialized_instruction: u32 =
4147                unsafe { ::std::mem::transmute(specialized_instruction) };
4148            specialized_instruction as u64
4149        });
4150        __bindgen_bitfield_unit.set_const::<4usize, 1u8>({
4151            let operands_unification: u32 = unsafe { ::std::mem::transmute(operands_unification) };
4152            operands_unification as u64
4153        });
4154        __bindgen_bitfield_unit.set_const::<5usize, 1u8>({
4155            let instructions_unification: u32 =
4156                unsafe { ::std::mem::transmute(instructions_unification) };
4157            instructions_unification as u64
4158        });
4159        __bindgen_bitfield_unit.set_const::<6usize, 2u8>({
4160            let frozen_string_literal: u32 =
4161                unsafe { ::std::mem::transmute(frozen_string_literal) };
4162            frozen_string_literal as u64
4163        });
4164        __bindgen_bitfield_unit.set_const::<8usize, 1u8>({
4165            let debug_frozen_string_literal: u32 =
4166                unsafe { ::std::mem::transmute(debug_frozen_string_literal) };
4167            debug_frozen_string_literal as u64
4168        });
4169        __bindgen_bitfield_unit.set_const::<9usize, 1u8>({
4170            let coverage_enabled: u32 = unsafe { ::std::mem::transmute(coverage_enabled) };
4171            coverage_enabled as u64
4172        });
4173        __bindgen_bitfield_unit
4174    }
4175}
4176#[repr(C)]
4177#[derive(Debug, Copy, Clone)]
4178pub struct iseq_insn_info_entry {
4179    pub line_no: ::std::os::raw::c_int,
4180    pub node_id: ::std::os::raw::c_int,
4181    pub events: rb_event_flag_t,
4182}
4183pub const rb_catch_type_CATCH_TYPE_RESCUE: rb_catch_type = 3;
4184pub const rb_catch_type_CATCH_TYPE_ENSURE: rb_catch_type = 5;
4185pub const rb_catch_type_CATCH_TYPE_RETRY: rb_catch_type = 7;
4186pub const rb_catch_type_CATCH_TYPE_BREAK: rb_catch_type = 9;
4187pub const rb_catch_type_CATCH_TYPE_REDO: rb_catch_type = 11;
4188pub const rb_catch_type_CATCH_TYPE_NEXT: rb_catch_type = 13;
4189pub type rb_catch_type = ::std::os::raw::c_uint;
4190#[repr(C)]
4191#[derive(Debug, Copy, Clone)]
4192pub struct iseq_catch_table_entry {
4193    pub type_: rb_catch_type,
4194    pub iseq: *mut rb_iseq_t,
4195    pub start: ::std::os::raw::c_uint,
4196    pub end: ::std::os::raw::c_uint,
4197    pub cont: ::std::os::raw::c_uint,
4198    pub sp: ::std::os::raw::c_uint,
4199}
4200#[repr(C, packed)]
4201pub struct iseq_catch_table {
4202    pub size: ::std::os::raw::c_uint,
4203    pub entries: __IncompleteArrayField<iseq_catch_table_entry>,
4204}
4205#[repr(C)]
4206#[derive(Debug)]
4207pub struct iseq_compile_data_storage {
4208    pub next: *mut iseq_compile_data_storage,
4209    pub pos: ::std::os::raw::c_uint,
4210    pub size: ::std::os::raw::c_uint,
4211    pub buff: __IncompleteArrayField<::std::os::raw::c_char>,
4212}
4213#[repr(C)]
4214#[derive(Debug, Copy, Clone)]
4215pub struct coroutine_context {
4216    pub _address: u8,
4217}
4218#[repr(C)]
4219#[derive(Debug, Copy, Clone)]
4220pub struct rb_call_data {
4221    pub _address: u8,
4222}
4223#[repr(C)]
4224#[derive(Debug, Copy, Clone)]
4225pub struct succ_index_table {
4226    pub _address: u8,
4227}
4228#[repr(C)]
4229#[derive(Debug, Copy, Clone)]
4230pub struct rb_event_hook_struct {
4231    pub _address: u8,
4232}
4233#[repr(C)]
4234#[derive(Debug, Copy, Clone)]
4235pub struct rb_postponed_job_queue {
4236    pub _address: u8,
4237}
4238#[repr(C)]
4239#[derive(Debug, Copy, Clone)]
4240pub struct ractor_queue {
4241    pub _address: u8,
4242}
4243#[repr(C)]
4244#[derive(Debug, Copy, Clone)]
4245pub struct iseq_label_data {
4246    pub _address: u8,
4247}
4248#[repr(C)]
4249#[derive(Debug, Copy, Clone)]
4250pub struct iseq_compile_data_ensure_node_stack {
4251    pub _address: u8,
4252}