src/cx/printf.h

changeset 1112
22dc2163fffd
parent 1105
5c16dc362684
equal deleted inserted replaced
1111:78eeeb950883 1112:22dc2163fffd
183 * @return (@c int) the total number of bytes written or an error code from stdlib printf implementation 183 * @return (@c int) the total number of bytes written or an error code from stdlib printf implementation
184 * @see cx_fprintf() 184 * @see cx_fprintf()
185 * @see cxBufferWrite() 185 * @see cxBufferWrite()
186 */ 186 */
187 #define cx_bprintf(buffer, fmt, ...) cx_fprintf((void*)buffer, \ 187 #define cx_bprintf(buffer, fmt, ...) cx_fprintf((void*)buffer, \
188 (cx_write_func) cxBufferWrite, fmt, __VA_ARGS__) 188 cxBufferWriteFunc, fmt, __VA_ARGS__)
189 189
190 190
191 /** 191 /**
192 * An @c sprintf like function which reallocates the string when the buffer is not large enough. 192 * An @c sprintf like function which reallocates the string when the buffer is not large enough.
193 * 193 *

mercurial