Function tlua::ffi::lua_touserdata
source ยท pub unsafe extern "C" fn lua_touserdata(
l: *mut lua_State,
index: c_int,
) -> *mut c_voidExpand description
If the value at the given acceptable index is a full userdata, returns
its block address. If the value is a light userdata, returns its
pointer. Otherwise, returns NULL.
[-0, +0, -]