Utility macros for unicoap
More...
Utility macros for unicoap
Definition in file util_macros.h.
Include dependency graph for util_macros.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Macros | |
| #define | UNICOAP_BITFIELD(...) |
| Creates a bitfield where each argument i indicates the i-th bit is to be set. | |
| #define UNICOAP_BITFIELD | ( | ... | ) |
Creates a bitfield where each argument i indicates the i-th bit is to be set.
For example, UNICOAP_BITFIELD(11, 8, 9) will return a bitfield with the 11th, 8th, and 9th bit set, i.e. (1 << 11) | (1 << 8) | (1 << 9)
Definition at line 83 of file util_macros.h.