Searched refs:Z7_container_of (Results 1 - 1 of 1) sorted by relevance
/third_party/lzma/C/ |
H A D | 7zTypes.h | 489 #ifndef Z7_container_of
492 #define Z7_container_of(ptr, type, m) container_of(ptr, type, m)
493 #define Z7_container_of(ptr, type, m) CONTAINING_RECORD(ptr, type, m)
494 #define Z7_container_of(ptr, type, m) ((type *)((char *)(ptr) - offsetof(type, m)))
495 #define Z7_container_of(ptr, type, m) (&((type *)0)->m == (ptr), ((type *)(((char *)(ptr)) - MY_offsetof(type, m))))
504 #define Z7_container_of(ptr, type, m) \
macro 523 #define Z7_CONTAINER_FROM_VTBL(ptr, type, m) Z7_container_of(ptr, type, m)
|
Completed in 2 milliseconds