pub unsafe extern "C" fn LOGICAL_GET_REGION(
    sx: SEXP,
    i: R_xlen_t,
    n: R_xlen_t,
    buf: *mut c_int
) -> R_xlen_t