luaur-vm 0.1.0

The Luau register virtual machine and standard library (Rust).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::functions::lua_l_error_l::lua_l_error_l;

#[allow(non_snake_case)]
#[macro_export]
macro_rules! luaL_error {
    ($l:expr, $fmt:expr $(, $($arg:expr),+ )? $(,)? ) => {{
        unsafe { $crate::functions::lua_l_error_l::lua_l_error_l(
            $l,
            core::ptr::null(),
            core::format_args!($fmt $(, $($arg),* )?),
        ) };
    }};
}

pub use luaL_error;