Function R_new_altrep

Source
pub unsafe extern "C" fn R_new_altrep(
    aclass: R_altrep_class_t,
    data1: SEXP,
    data2: SEXP,
) -> SEXP
Expand description

Allocates, constructs and returns a compact-representation value. It will have the TYPEOF() of the corresponding class and will use the methods in aclass and the instance variables to respond to calls such as XLENGTH().