src/cx/buffer.h

changeset 1004
d8044fd5005c
parent 989
8aa57a7fecc4
child 1005
67fa386ce600
equal deleted inserted replaced
1003:455afb252878 1004:d8044fd5005c
342 342
343 /** 343 /**
344 * Tests, if the buffer position has exceeded the buffer size. 344 * Tests, if the buffer position has exceeded the buffer size.
345 * 345 *
346 * @param buffer the buffer to test 346 * @param buffer the buffer to test
347 * @return non-zero, if the current buffer position has exceeded the last 347 * @return true, if the current buffer position has exceeded the last
348 * byte of the buffer's contents. 348 * byte of the buffer's contents.
349 */ 349 */
350 cx_attr_nonnull 350 cx_attr_nonnull
351 cx_attr_nodiscard 351 cx_attr_nodiscard
352 int cxBufferEof(const CxBuffer *buffer); 352 bool cxBufferEof(const CxBuffer *buffer);
353 353
354 354
355 /** 355 /**
356 * Ensures that the buffer has a minimum capacity. 356 * Ensures that the buffer has a minimum capacity.
357 * 357 *

mercurial