pub unsafe extern "C" fn R_check_class_etc(
    x: SEXP,
    valid: *mut *const c_char
) -> c_int