Make enum parameter values unsigned 64bit integers
Making the enum value relatively large removes the need to expand it if a module requires a significant amount of enumeration values.
This commit is contained in:
@ -106,7 +106,7 @@ enum mxs_module_param_options
|
|||||||
typedef struct mxs_enum_value
|
typedef struct mxs_enum_value
|
||||||
{
|
{
|
||||||
const char *name; /**< Name of the enum value */
|
const char *name; /**< Name of the enum value */
|
||||||
int enum_value; /**< The integer value of the enum */
|
uint64_t enum_value; /**< The integer value of the enum */
|
||||||
} MXS_ENUM_VALUE;
|
} MXS_ENUM_VALUE;
|
||||||
|
|
||||||
/** Module parameter declaration */
|
/** Module parameter declaration */
|
||||||
|
Reference in New Issue
Block a user