src/cx/common.h

changeset 1364
556e4e7608b1
parent 1301
f81d8b4f40c4
equal deleted inserted replaced
1363:c9a86bd9e361 1364:556e4e7608b1
129 */ 129 */
130 #define __attribute__(x) 130 #define __attribute__(x)
131 #endif 131 #endif
132 132
133 /** 133 /**
134 * Inform the compiler that falling through a switch case is intentional.
135 */
136 #define cx_attr_fallthrough __attribute__((__fallthrough__))
137
138 /**
134 * All pointer arguments must be non-NULL. 139 * All pointer arguments must be non-NULL.
135 */ 140 */
136 #define cx_attr_nonnull __attribute__((__nonnull__)) 141 #define cx_attr_nonnull __attribute__((__nonnull__))
137 142
138 /** 143 /**

mercurial