Function touserdata

Source
pub unsafe extern "C" fn touserdata(
    state: lua_State,
    index: i32,
) -> *mut c_void
Expand 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.