1 2 3 4 5 6 7 8 9 10 11
#[allow(non_snake_case)] #[macro_export] macro_rules! luaL_argcheck { ($L:expr, $cond:expr, $arg:expr, $extramsg:expr) => { if !($cond) { $crate::macros::lua_l_argerror::luaL_argerror!($L, $arg, $extramsg); } }; } pub use luaL_argcheck;