Skip to contents

Create FFI enumeration type

Usage

ffi_enum(..., underlying_type = ffi_int())

Arguments

...

Named integer values representing enum constants

underlying_type

FFIType for underlying integer type (default: ffi_int())

Value

EnumType object