number>enum ( enum-c-type -- quot )
Factor handbook > C library interface > Passing data between Factor and C > Enumeration types

Prev:enum>number ( enum -- number )


Vocabulary
alien.enums

Inputs and outputs
numberan enum number
enum-c-typean enum type
enumthe corresponding enum word


Word description
Convert a number to an enum.

See also
ENUM:, define-enum, enum>number

Definition