<c-direct-array> ( alien len c-type -- array )


Vocabulary
alien.data

Inputs and outputs
aliena c-ptr
lenan integer
c-typea C type
arraya specialized direct array


Word description
Constructs a new specialized array of length len and element type c-type over the range of memory referenced by alien.

Notes
The appropriate specialized array vocabulary must be loaded; otherwise, an error will be thrown. See the specialized-arrays vocabulary for details on the underlying sequence type constructed.

See also
<c-array>, malloc-array

Definition

GENERIC: <c-direct-array> ( alien len c-type -- array )


Methods