src/cx/buffer.h

changeset 1029
c065d196a2c8
parent 1028
3e4905241838
child 1030
06091e067bee
equal deleted inserted replaced
1028:3e4905241838 1029:c065d196a2c8
163 * 163 *
164 * You may also provide a read-only \p space, in which case 164 * You may also provide a read-only \p space, in which case
165 * you will need to cast the pointer, and you should set the 165 * you will need to cast the pointer, and you should set the
166 * #CX_BUFFER_COPY_ON_WRITE flag. 166 * #CX_BUFFER_COPY_ON_WRITE flag.
167 * 167 *
168 * You need to set the size manually after initialization, if
169 * you provide \p space which already contains data.
170 *
168 * When you specify stack memory as \p space and decide to use 171 * When you specify stack memory as \p space and decide to use
169 * the auto-extension feature, you \em must use the 172 * the auto-extension feature, you \em must use the
170 * #CX_BUFFER_COPY_ON_EXTEND flag, instead of the 173 * #CX_BUFFER_COPY_ON_EXTEND flag, instead of the
171 * #CX_BUFFER_AUTO_EXTEND flag. 174 * #CX_BUFFER_AUTO_EXTEND flag.
172 * 175 *

mercurial