Skip to main content

luaur_vm/macros/
api_checknelems.rs

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