get_storage_type


Description:

public TypeTag get_storage_type ()

Obtain the tag of the type used for the enum in the C ABI.

This will will be a signed or unsigned integral type.

Note that in the current implementation the width of the type is computed correctly, but the signed or unsigned nature of the type may not match the sign of the type used by the C compiler.

Parameters:

info

a EnumInfo

Returns:

the storage type for the enumeration