Skip to main content

COMPLEX

Function COMPLEX 

Source
pub(crate) unsafe fn COMPLEX(x: SEXP) -> *mut Rcomplex
Expand description

Get mutable pointer to complex vector data.

For ALTREP vectors, this may force materialization. Prefer SexpExt::set_complex_elt() / SexpExt::complex_elt(). Checked wrapper for COMPLEX. Calls COMPLEX_unchecked and routes through with_r_thread. Generated from source location line 2345, column 19. Generated from source file miniextendr-api/src/ffi.rs.