deref ( c-ptr c-type -- value )
Factor handbook » C library interface » Passing data between Factor and C » C value boxes

Prev:<ref> ( value c-type -- c-ptr )


Vocabulary
alien.data

Inputs
c-ptra c-ptr
c-typea C type


Outputs
valuean object


Word description
Loads a C value from a byte array.

Examples

USING: alien.c-types alien.data prettyprint sequences ; 321 int <ref> int deref .
321



Definition