1 2 3 4 5 6 7 8 9 10 11 12
#[macro_export] #[allow(non_snake_case)] macro_rules! api_checknelems { ($L:expr, $n:expr) => { crate::macros::api_check::api_check!( $L, ($n) as isize <= unsafe { (*$L).top.offset_from((*$L).base) } ); }; } pub use api_checknelems;