luaur-vm 0.1.0

The Luau register virtual machine and standard library (Rust).
Documentation
1
2
3
4
5
6
7
8
9
use crate::functions::andaux::andaux;
use crate::functions::lua_pushunsigned::lua_pushunsigned;
use crate::type_aliases::lua_state::lua_State;

pub fn b_and(l: *mut lua_State) -> core::ffi::c_int {
    let r = andaux(l);
    lua_pushunsigned(l, r);
    1
}