R_altvec_Dataptr_method_t

Type Alias R_altvec_Dataptr_method_t 

Source
pub type R_altvec_Dataptr_method_t = Option<unsafe extern "C" fn(arg1: SEXP, arg2: Rboolean) -> *mut c_void>;
Expand description

Must return a pointer to the start of the buffer of type corresponding to the SEXPTYPE of x and containing XLENGTH(x) elements (see DATAPTR_RO) corresponding to the contents of x. May signal an R error instead. The default method always signals an error.

Aliased Type§

pub enum R_altvec_Dataptr_method_t {
    None,
    Some(unsafe extern "C" fn(*mut SEXPREC, Rboolean) -> *mut c_void),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut SEXPREC, Rboolean) -> *mut c_void)

Some value of type T.