c8bb4db5b8cd38d61be56aa06da8f892d3e13969
1 #ifndef _BABELTRACE_COMPILER_H
2 #define _BABELTRACE_COMPILER_H
4 #define MAYBE_BUILD_BUG_ON(cond) ((void)sizeof(char[1 - 2 * !!(cond)]))
7 #define container_of(ptr, type, member) \
9 const typeof(((type *)NULL)->member) * __ptr = (ptr); \
10 (type *)((char *)__ptr - offsetof(type, member)); \
14 #endif /* _BABELTRACE_COMPILER_H */
This page took 0.02913 seconds and 4 git commands to generate.