#include <stddef.h>
Go to the source code of this file.
Define Documentation
#define SAL_ABS |
( |
|
a | ) |
(((a) < 0) ? (-(a)) : (a)) |
#define SAL_BOUND |
( |
|
x, |
|
|
|
l, |
|
|
|
h |
|
) |
| ((x) <= (l) ? (l) : ((x) >= (h) ? (h) : (x))) |
#define SAL_FIELDOFFSET |
( |
|
type, |
|
|
|
field |
|
) |
| ((sal_Int32)(&((type *)16)->field) - 16) |
#define SAL_MAX |
( |
|
a, |
|
|
|
b |
|
) |
| (((a) > (b)) ? (a) : (b)) |
#define SAL_MIN |
( |
|
a, |
|
|
|
b |
|
) |
| (((a) < (b)) ? (a) : (b)) |
#define SAL_N_ELEMENTS |
( |
|
arr | ) |
(sizeof (arr) / sizeof ((arr)[0])) |
#define SAL_STRINGIFY |
( |
|
x | ) |
SAL_STRINGIFY_ARG(x) |
#define SAL_STRINGIFY_ARG |
( |
|
x | ) |
#x |