#![allow(dead_code, unused)]
use std::ffi::c_int;
const fn const_parse_int(src: &'static str) -> i32 {
match c_int::from_str_radix(src, 10) {
Ok(v) => v,
_ => panic!("Invalid env value passed to luaconf")
}
}
pub mod luauconf {
use std::ffi::c_int;
use super::const_parse_int;
pub const LUA_IDSIZE: c_int = const_parse_int(env!("LUA_IDSIZE"));
pub const LUA_MINSTACK: c_int = const_parse_int(env!("LUA_MINSTACK"));
pub const LUAI_MAXCSTACK: c_int = const_parse_int(env!("LUAI_MAXCSTACK"));
pub const LUAI_MAXCALLS: c_int = const_parse_int(env!("LUAI_MAXCALLS"));
pub const LUAI_MAXCCALLS: c_int = const_parse_int(env!("LUAI_MAXCCALLS"));
pub const LUA_BUFFERSIZE: c_int = const_parse_int(env!("LUA_BUFFERSIZE"));
pub const LUA_UTAG_LIMIT: c_int = const_parse_int(env!("LUA_UTAG_LIMIT"));
pub const LUA_LUTAG_LIMIT: c_int = const_parse_int(env!("LUA_LUTAG_LIMIT"));
pub const LUA_SIZECLASSES: c_int = const_parse_int(env!("LUA_SIZECLASSES"));
pub const LUA_MEMORY_CATEGORIES: c_int = const_parse_int(env!("LUA_MEMORY_CATEGORIES"));
pub const LUA_MINSTRTABSIZE: c_int = const_parse_int(env!("LUA_MINSTRTABSIZE"));
pub const LUA_MAXCAPTURES: c_int = const_parse_int(env!("LUA_MAXCAPTURES"));
pub const LUA_VECTOR_SIZE: c_int = const_parse_int(env!("LUA_VECTOR_SIZE"));
}
pub mod luau;
pub mod luaulib;
pub mod lauxlib;
#[cfg(feature="compiler")]
pub mod luaucode;
#[cfg(feature="codegen")]
pub mod luaucodegen;
#[allow(dead_code, unused)]
pub mod prelude {
pub use super::luau::*;
pub use super::lauxlib::*;
pub use super::luaulib::*;
#[cfg(feature="compiler")]
pub use super::luaucode::*;
#[cfg(feature="codegen")]
pub use super::luaucodegen::*;
}