diff -r 24a012440dee -r 279dd3ca7a77 ucx/buffer.h --- a/ucx/buffer.h Tue May 06 12:03:16 2014 +0200 +++ b/ucx/buffer.h Tue May 06 12:30:12 2014 +0200 @@ -97,11 +97,11 @@ * * @param space pointer to the memory area, or NULL to allocate * new memory - * @param size the size of the buffer + * @param capacity the capacity of the buffer * @param flags buffer features (see UcxBuffer.flags) * @return the new buffer */ -UcxBuffer *ucx_buffer_new(void *space, size_t size, int flags); +UcxBuffer *ucx_buffer_new(void *space, size_t capacity, int flags); /** * Destroys a buffer.