PACKED-STRUCT:
Factor handbook » C library interface » Struct classes » Defining struct classes

Prev:STRUCT:
Next:UNION-STRUCT:


Vocabulary
classes.struct

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


Inputs
None

Outputs
None

Word description
Defines a new struct type with no alignment padding between slots or at the end. In all other respects, behaves like STRUCT:.

Definition