Skip to main content

Rf_classgets_unchecked

Function Rf_classgets_unchecked 

Source
pub unsafe extern "C-unwind" fn Rf_classgets_unchecked(
    vec: SEXP,
    klass: SEXP,
) -> SEXP
Expand description

Set the class attribute of a vector.

Equivalent to R’s class(vec) <- klass syntax. The “gets” suffix indicates this is a setter function.

§Returns

Returns the modified vector (like all “*gets” functions). Unchecked FFI binding for Rf_classgets. Generated from source location line 881, column 12. Generated from source file miniextendr-api/src/sys.rs.