MySQL 9.1.0
Source Code Documentation
|
definitions More...
Macros | |
#define | INTEGRAL_CHECK_ARG(type) |
Defines an integral placeholder to fill in with values and pass to the registration function. More... | |
#define | ENUM_CHECK_ARG(type) |
Defines an TYPE_LIB placeholder to fill in with values and pass to the registration function. More... | |
#define | BOOL_CHECK_ARG(type) |
Defines a bool placeholder to fill in with values and pass to the registration function. More... | |
#define | STR_CHECK_ARG(type) |
Defines a char * placeholder to fill in with values and pass to the registration function. More... | |
definitions
You need to fill one of these in an pass it to the registration function. The values are copied so this doesn't have to survive once the registration call is done. So usually it's done as an automatic variable in the stack.
Make sure to use the right one for your variable type. See Variable types for what to use for the individual types.
#define BOOL_CHECK_ARG | ( | type | ) |
#define ENUM_CHECK_ARG | ( | type | ) |
#define INTEGRAL_CHECK_ARG | ( | type | ) |
Defines an integral placeholder to fill in with values and pass to the registration function.
Make sure to fill in def_val, min_val, max_val and blk_sz.