heap-size ( name -- size )


Vocabulary
alien.c-types

Inputs
namea c-type-name


Outputs
sizean integer


Word description
Outputs the number of bytes needed for a heap-allocated value of this C type.

Examples
USING: alien alien.c-types prettyprint ; int heap-size .
4


Errors
Throws a no-c-type error if the type does not exist.

Definition


Methods