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


Vocabulary
classes.struct

Inputs and outputs
classa class
slotsa sequence of struct-slot-specs


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