Skip to main content

S_alloc

Function S_alloc 

Source
unsafe fn S_alloc(nelem: c_long, eltsize: c_int) -> *mut c_char
Expand description

S compatibility: allocate zeroed memory on R’s memory stack.

§Parameters

  • nelem: Number of elements
  • eltsize: Size of each element Checked wrapper for S_alloc. Calls S_alloc_unchecked and routes through with_r_thread. Generated from source location line 3347, column 8. Generated from source file miniextendr-api/src/ffi.rs.