Go to the source code of this file.
◆ INLINE
◆ READNU16
◆ READNU32
◆ UNUSED
| #define UNUSED |
( |
|
arg | ) |
(void)(arg) |
◆ WRITENU16
◆ WRITENU32
◆ readnu16()
Definition at line 27 of file macros.h.
29 return (p[0] << 8 | p[1]);
◆ readnu32()
Definition at line 22 of file macros.h.
24 return (p[0] << 24 | p[1] << 16 | p[2] << 8 | p[3]);
◆ writenu16()
Definition at line 40 of file macros.h.
42 p[0] = (n & 0xff00) >> 8;
◆ writenu32()
Definition at line 32 of file macros.h.
34 p[0] = (n & 0xff000000) >> 24;
35 p[1] = (n & 0xff0000) >> 16;
36 p[2] = (n & 0xff00) >> 8;