Function alloc_r_vector_unchecked
Source pub(crate) unsafe fn alloc_r_vector_unchecked<T: RNativeType>(
n: usize,
) -> (SEXP, &'static mut [T])
Expand description
Allocate an R vector (unchecked FFI variant).
§Safety
Must be called from R’s main thread.