Function tlua::ffi::luaL_toint64

source ·
pub unsafe extern "C" fn luaL_toint64(
    l: *mut lua_State,
    idx: c_int,
) -> i64
Expand description

Checks whether the argument idx is a i64 or a convertable string and returns this number. [-0, +0, -]

Return the converted number or 0 of argument can’t be converted.