Skip to main content

Rf_classgets_unchecked

Function Rf_classgets_unchecked 

Source
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 2527, column 8. Generated from source file miniextendr-api/src/ffi.rs.