1#![allow(rustdoc::broken_intra_doc_links)]
2#![allow(non_upper_case_globals)]
3#![allow(non_snake_case)]
4
5use std::ffi::c_long;
11
12use crate::{ruby_special_consts, VALUE};
13
14pub const Qfalse: ruby_special_consts = ruby_special_consts::RUBY_Qfalse;
15pub const Qtrue: ruby_special_consts = ruby_special_consts::RUBY_Qtrue;
16pub const Qnil: ruby_special_consts = ruby_special_consts::RUBY_Qnil;
17pub const Qundef: ruby_special_consts = ruby_special_consts::RUBY_Qundef;
18pub const IMMEDIATE_MASK: ruby_special_consts = ruby_special_consts::RUBY_IMMEDIATE_MASK;
19pub const FIXNUM_FLAG: ruby_special_consts = ruby_special_consts::RUBY_FIXNUM_FLAG;
20pub const FIXNUM_MIN: c_long = c_long::MIN / 2;
21pub const FIXNUM_MAX: c_long = c_long::MAX / 2;
22pub const FLONUM_MASK: ruby_special_consts = ruby_special_consts::RUBY_FLONUM_MASK;
23pub const FLONUM_FLAG: ruby_special_consts = ruby_special_consts::RUBY_FLONUM_FLAG;
24pub const SYMBOL_FLAG: ruby_special_consts = ruby_special_consts::RUBY_SYMBOL_FLAG;
25
26#[allow(clippy::from_over_into)]
27impl Into<VALUE> for ruby_special_consts {
28 fn into(self) -> VALUE {
29 self as VALUE
30 }
31}