|
libamxc
1.10.3
C Generic Data Containers
|
Macros | |
| #define | amxc_container_of(addr, type, member) ((type*) (((char*) addr) - offsetof(type, member))) |
| Calculates the address of the containing structure. More... | |
| #define amxc_container_of | ( | addr, | |
| type, | |||
| member | |||
| ) | ((type*) (((char*) addr) - offsetof(type, member))) |
Calculates the address of the containing structure.
Definition at line 83 of file amxc_common.h.