src/cx/buffer.h

changeset 757
49ceea78fce7
parent 683
aa0d09f2d81c
child 759
475335643af4
equal deleted inserted replaced
756:0b635553b86a 757:49ceea78fce7
317 */ 317 */
318 __attribute__((__nonnull__)) 318 __attribute__((__nonnull__))
319 void cxBufferClear(CxBuffer *buffer); 319 void cxBufferClear(CxBuffer *buffer);
320 320
321 /** 321 /**
322 * Tests, if the buffer position has exceeded the buffer capacity. 322 * Tests, if the buffer position has exceeded the buffer size.
323 * 323 *
324 * @param buffer the buffer to test 324 * @param buffer the buffer to test
325 * @return non-zero, if the current buffer position has exceeded the last 325 * @return non-zero, if the current buffer position has exceeded the last
326 * available byte of the buffer. 326 * byte of the buffer's contents.
327 */ 327 */
328 __attribute__((__nonnull__)) 328 __attribute__((__nonnull__))
329 int cxBufferEof(CxBuffer const *buffer); 329 int cxBufferEof(CxBuffer const *buffer);
330 330
331 331

mercurial