Go to the documentation of this file. 1 #ifndef foopulsegccmacrohfoo
2 #define foopulsegccmacrohfoo
33 #define PA_GCC_PRINTF_ATTR(a,b) __attribute__ ((format (__printf__, a, b)))
35 #define PA_GCC_PRINTF_ATTR(a,b) __attribute__ ((format (printf, a, b)))
39 #define PA_GCC_PRINTF_ATTR(a,b)
42 #if defined(__GNUC__) && (__GNUC__ >= 4)
43 #define PA_GCC_SENTINEL __attribute__ ((sentinel))
46 #define PA_GCC_SENTINEL
50 #define PA_GCC_NORETURN __attribute__((noreturn))
53 #define PA_GCC_NORETURN
57 #define PA_GCC_UNUSED __attribute__ ((unused))
64 #define PA_GCC_DESTRUCTOR __attribute__ ((destructor))
67 #define PA_GCC_DESTRUCTOR
72 #define PA_GCC_PURE __attribute__ ((pure))
81 #define PA_GCC_CONST __attribute__ ((const))
88 #ifndef PA_GCC_DEPRECATED
90 #define PA_GCC_DEPRECATED __attribute__ ((deprecated))
93 #define PA_GCC_DEPRECATED
99 #define PA_GCC_PACKED __attribute__ ((packed))
102 #define PA_GCC_PACKED
106 #ifndef PA_GCC_ALLOC_SIZE
107 #if defined(__GNUC__) && (__GNUC__ >= 4) && (__GNUC_MINOR__ >= 3)
108 #define PA_GCC_ALLOC_SIZE(x) __attribute__ ((__alloc_size__(x)))
109 #define PA_GCC_ALLOC_SIZE2(x,y) __attribute__ ((__alloc_size__(x,y)))
112 #define PA_GCC_ALLOC_SIZE(x)
114 #define PA_GCC_ALLOC_SIZE2(x,y)
118 #ifndef PA_GCC_MALLOC
120 #define PA_GCC_MALLOC __attribute__ ((malloc))
123 #define PA_GCC_MALLOC
127 #ifndef PA_GCC_WEAKREF
128 #if defined(__GNUC__) && defined(__ELF__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ > 1)) || (__GNUC__ > 4))
130 #define PA_GCC_WEAKREF(x) __attribute__((weakref(#x)))