UNION-STRUCT:
Factor handbook » C library interface » Passing data between Factor and C » C type specifiers

Prev:STRUCT:
Next:CALLBACK:


Vocabulary
classes.struct

Syntax
UNION-STRUCT: class { slot type } { slot type } ... ;


Inputs and outputs
classa new struct class to define
slotsa list of slot specifiers


Word description
Defines a new struct type where all of the slots share the same storage. See STRUCT: for details on the syntax.

See also
struct, STRUCT:

Definition