mlua_sys::lua51::lua

Function lua_setfenv

Source
pub unsafe extern "C-unwind" fn lua_setfenv(
    L: *mut lua_State,
    idx: c_int,
) -> c_int
Available on crate features lua51 or luajit only.