luaur-vm 0.1.1

The Luau register virtual machine and standard library (Rust).
Documentation
use crate::functions::lua_g_runerror_l::lua_g_runerror_l;

// C++ `luaG_runerror(L, fmt, ...)` — per the project varargs convention the
// format string is a Rust format literal and the C fmt parameter is unused
#[allow(non_snake_case)]
#[macro_export]
macro_rules! lua_g_runerror {
    ($l:expr, $fmt:expr $(, $($arg:expr),+ )? $(,)? ) => {{
        $crate::functions::lua_g_runerror_l::lua_g_runerror_l(
            $l,
            core::ptr::null(),
            format_args!($fmt $(, $($arg),* )?),
        )
    }};
}

pub use lua_g_runerror;

#[allow(unused_imports)]
pub use lua_g_runerror as luaG_runerror;