ucx/buffer.h

changeset 169
279dd3ca7a77
parent 168
24a012440dee
child 177
11ad03783baf
     1.1 --- a/ucx/buffer.h	Tue May 06 12:03:16 2014 +0200
     1.2 +++ b/ucx/buffer.h	Tue May 06 12:30:12 2014 +0200
     1.3 @@ -97,11 +97,11 @@
     1.4   * 
     1.5   * @param space pointer to the memory area, or <code>NULL</code> to allocate
     1.6   * new memory
     1.7 - * @param size the size of the buffer
     1.8 + * @param capacity the capacity of the buffer
     1.9   * @param flags buffer features (see UcxBuffer.flags)
    1.10   * @return the new buffer
    1.11   */
    1.12 -UcxBuffer *ucx_buffer_new(void *space, size_t size, int flags);
    1.13 +UcxBuffer *ucx_buffer_new(void *space, size_t capacity, int flags);
    1.14  
    1.15  /**
    1.16   * Destroys a buffer.

mercurial