 |
EVE 1.0
|
Go to the documentation of this file. 1 #ifndef EVE_ENV_H_INCLUDED 2 #define EVE_ENV_H_INCLUDED 48 #include <nordic_common.h> 72 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) 80 #define MAX(a, b) (((a) > (b)) ? (a) : (b)) 89 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) 114 #define container_of(ptr, type, mem) \ 115 ((type*) (((char*)(ptr)) - offsetof(type, mem)))