Function tocfunction

Source
pub unsafe extern "C" fn tocfunction(
    state: lua_State,
    index: i32,
) -> Option<lua_CFunction>
Expand description

Converts a value at the given acceptable index to a C function. That value must be a C function; otherwise, returns NULL.