src/cx/common.h

changeset 959
0e1bf3c199bf
parent 945
84a5fab8a47c
equal deleted inserted replaced
958:c9033d30a9f6 959:0e1bf3c199bf
93 #include <stdlib.h> 93 #include <stdlib.h>
94 #include <stddef.h> 94 #include <stddef.h>
95 #include <stdbool.h> 95 #include <stdbool.h>
96 #include <stdint.h> 96 #include <stdint.h>
97 97
98 #ifndef UCX_TEST_H
99 /** 98 /**
100 * Function pointer compatible with fwrite-like functions. 99 * Function pointer compatible with fwrite-like functions.
101 */ 100 */
102 typedef size_t (*cx_write_func)( 101 typedef size_t (*cx_write_func)(
103 const void *, 102 const void *,
104 size_t, 103 size_t,
105 size_t, 104 size_t,
106 void * 105 void *
107 ); 106 );
108 #endif // UCX_TEST_H
109 107
110 /** 108 /**
111 * Function pointer compatible with fread-like functions. 109 * Function pointer compatible with fread-like functions.
112 */ 110 */
113 typedef size_t (*cx_read_func)( 111 typedef size_t (*cx_read_func)(

mercurial