Skip to main content

set_funcs

Function set_funcs 

Source
pub fn set_funcs(
    state: &mut LuaState,
    l: &[LuaReg],
    nup: i32,
) -> Result<(), LuaError>
Expand description

Register the functions in l into the table at -(nup + 1), giving each closure the nup upvalues currently at the top of the stack.