MySQL 9.1.0
Source Code Documentation
|
Go to the source code of this file.
Macros | |
#define | MYSQL_CALLBACK(OBJ, FUNC, PARAMS) |
Macro used for an internal callback. More... | |
#define | MYSQL_CALLBACK_ELSE(OBJ, FUNC, PARAMS, ELSE) (((OBJ) && ((OBJ)->FUNC)) ? (OBJ)->FUNC PARAMS : (ELSE)) |
#define MYSQL_CALLBACK | ( | OBJ, | |
FUNC, | |||
PARAMS | |||
) |
Macro used for an internal callback.
The macro will check that the object exists and that the function is defined. If that is the case, it will call the function with the given parameters.
If the object or the function is not defined, the callback will be considered successful (nothing needed to be done) and will therefore return no error.