Passing specialized vectors to C functions
Specialized vectors

Prev:Specialized vector words
Next:push-new ( vector -- new )


Each specialized vector has a underlying slot holding a specialized array, which in turn has an underlying slot holding a byte-array with the raw data. Passing a specialized vector as a parameter to a C function call will automatically extract the underlying data. To get at the underlying data directly, call the >c-ptr word on a specialized vector.