define-union-struct-class ( class slots -- )


Vocabulary
classes.struct

Inputs
classa class
slotsa sequence of struct-slot-specs


Outputs
None

Word description
Defines a new struct class where all of the slots share the same storage. This is the runtime equivalent of the UNION-STRUCT: syntax.

Definition