mlua_sys::lua51::lua

Function lua_tocfunction

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