88 |
89 |
89 // |
90 // |
90 #if !defined(__clang__) && __GNUC__ > 3 |
91 #if !defined(__clang__) && __GNUC__ > 3 |
91 #pragma GCC diagnostic ignored "-Wclobbered" |
92 #pragma GCC diagnostic ignored "-Wclobbered" |
92 #endif |
93 #endif |
93 |
|
94 #ifndef UCX_COMMON_H |
|
95 /** |
|
96 * Function pointer compatible with fwrite-like functions. |
|
97 */ |
|
98 typedef size_t (*cx_write_func)( |
|
99 const void *, |
|
100 size_t, |
|
101 size_t, |
|
102 void * |
|
103 ); |
|
104 #endif // UCX_COMMON_H |
|
105 |
94 |
106 /** Type for the CxTestSuite. */ |
95 /** Type for the CxTestSuite. */ |
107 typedef struct CxTestSuite CxTestSuite; |
96 typedef struct CxTestSuite CxTestSuite; |
108 |
97 |
109 /** Pointer to a test function. */ |
98 /** Pointer to a test function. */ |