src/cx/buffer.h

changeset 1112
22dc2163fffd
parent 1110
a0e9be7ed131
equal deleted inserted replaced
1111:78eeeb950883 1112:22dc2163fffd
85 * After performing the copy, the flag is automatically cleared. 85 * After performing the copy, the flag is automatically cleared.
86 * This flag has no effect on buffers which do not have #CX_BUFFER_AUTO_EXTEND set, which is why 86 * This flag has no effect on buffers which do not have #CX_BUFFER_AUTO_EXTEND set, which is why
87 * buffers automatically admit the auto-extend flag when initialized with copy-on-extend enabled. 87 * buffers automatically admit the auto-extend flag when initialized with copy-on-extend enabled.
88 */ 88 */
89 #define CX_BUFFER_COPY_ON_EXTEND 0x08 89 #define CX_BUFFER_COPY_ON_EXTEND 0x08
90
91 /**
92 * Function pointer for cxBufferWrite that is compatible with cx_write_func.
93 * @see cx_write_func
94 */
95 #define cxBufferWriteFunc ((cx_write_func) cxBufferWrite)
96 /**
97 * Function pointer for cxBufferRead that is compatible with cx_read_func.
98 * @see cx_read_func
99 */
100 #define cxBufferReadFunc ((cx_read_func) cxBufferRead)
90 101
91 /** 102 /**
92 * Configuration for automatic flushing. 103 * Configuration for automatic flushing.
93 */ 104 */
94 struct cx_buffer_flush_config_s { 105 struct cx_buffer_flush_config_s {

mercurial