Miscellaneous defines.
More...
Go to the source code of this file.
Defines |
|
#define | FALSE 0 |
|
#define | TRUE (!FALSE) |
|
#define | false 0 |
|
#define | true (!false) |
|
#define | NULL ((void *)0) |
|
#define | MIN(a, b) (((a) < (b)) ? (a) : (b)) |
|
#define | MAX(a, b) (((a) > (b)) ? (a) : (b)) |
|
#define | ABS(a) (((a) < 0) ? -(a) : (a)) |
|
#define | NELEMS(array) (sizeof(array) / sizeof(array[0])) |
Detailed Description
Miscellaneous defines.
Minimal set of often needed preprocessor definitions.