#include <limits.h>
#include <stdint.h>
Go to the source code of this file.
§ ALIGN_CEIL
#define ALIGN_CEIL |
( |
|
x, |
|
|
|
n |
|
) |
| ((uint8_t*)(x) + (-((ptrint_t)(x)) & ((n) - 1))) |
§ ALIGN_FLOOR
#define ALIGN_FLOOR |
( |
|
x, |
|
|
|
n |
|
) |
| ((uint8_t*)(x) - ( ((ptrint_t)(x)) & ((n) - 1))) |
§ ALIGN_OFFSET
#define ALIGN_OFFSET |
( |
|
x, |
|
|
|
n |
|
) |
| (((ptrint_t)(x)) & ((n) - 1)) |
§ BRG_UI32
§ BUFR_TYPEDEF
#define BUFR_TYPEDEF |
( |
|
x, |
|
|
|
size, |
|
|
|
bsize |
|
) |
| typedef UI_TYPE(size) x[bsize / (size >> 3)] |
§ INT_RETURN
§ ptrint_t
§ RETURN_VALUES
§ UI_TYPE
#define UI_TYPE |
( |
|
size | ) |
uint##size##_t |
§ UNIT_CAST
#define UNIT_CAST |
( |
|
x, |
|
|
|
size |
|
) |
| ((UI_TYPE(size) )(x)) |
§ UNIT_TYPEDEF
#define UNIT_TYPEDEF |
( |
|
x, |
|
|
|
size |
|
) |
| typedef UI_TYPE(size) x |
§ UPTR_CAST
#define UPTR_CAST |
( |
|
x, |
|
|
|
size |
|
) |
| ((UI_TYPE(size)*)(x)) |
§ VOID_RETURN