minor lexical and documentation fixes

Thu, 17 Apr 2014 14:33:06 +0200

author
Mike Becker <universe@uap-core.de>
date
Thu, 17 Apr 2014 14:33:06 +0200
changeset 163
5ec9a2ca6328
parent 162
52dfe5f4ecd7
child 164
1fa3f13f774c

minor lexical and documentation fixes

test/buffer_tests.c file | annotate | diff | comparison | revisions
test/buffer_tests.h file | annotate | diff | comparison | revisions
test/main.c file | annotate | diff | comparison | revisions
ucx/buffer.h file | annotate | diff | comparison | revisions
     1.1 --- a/test/buffer_tests.c	Thu Apr 10 11:32:59 2014 +0200
     1.2 +++ b/test/buffer_tests.c	Thu Apr 17 14:33:06 2014 +0200
     1.3 @@ -29,7 +29,7 @@
     1.4  #include "buffer_tests.h"
     1.5  #include "ucx/utils.h"
     1.6  
     1.7 -UCX_TEST(test_ucx_buffer_seektell) {
     1.8 +UCX_TEST(test_ucx_buffer_seek) {
     1.9      UcxBuffer *b = ucx_buffer_new(NULL, 32, UCX_BUFFER_DEFAULT);
    1.10      b->size = 16; // less than capacity
    1.11      int r;
     2.1 --- a/test/buffer_tests.h	Thu Apr 10 11:32:59 2014 +0200
     2.2 +++ b/test/buffer_tests.h	Thu Apr 17 14:33:06 2014 +0200
     2.3 @@ -36,9 +36,7 @@
     2.4  extern "C" {
     2.5  #endif
     2.6  
     2.7 -/* assume open and close to be correct */
     2.8 -
     2.9 -UCX_TEST(test_ucx_buffer_seektell);
    2.10 +UCX_TEST(test_ucx_buffer_seek);
    2.11  UCX_TEST(test_ucx_buffer_putc);
    2.12  UCX_TEST(test_ucx_buffer_putc_ax);
    2.13  UCX_TEST(test_ucx_buffer_getc);
     3.1 --- a/test/main.c	Thu Apr 10 11:32:59 2014 +0200
     3.2 +++ b/test/main.c	Thu Apr 17 14:33:06 2014 +0200
     3.3 @@ -173,7 +173,7 @@
     3.4          ucx_test_register(suite, test_ucx_properties_store);
     3.5          
     3.6          /* UcxBuffer Tests */
     3.7 -        ucx_test_register(suite, test_ucx_buffer_seektell);
     3.8 +        ucx_test_register(suite, test_ucx_buffer_seek);
     3.9          ucx_test_register(suite, test_ucx_buffer_putc);
    3.10          ucx_test_register(suite, test_ucx_buffer_putc_ax);
    3.11          ucx_test_register(suite, test_ucx_buffer_getc);
     4.1 --- a/ucx/buffer.h	Thu Apr 10 11:32:59 2014 +0200
     4.2 +++ b/ucx/buffer.h	Thu Apr 17 14:33:06 2014 +0200
     4.3 @@ -123,7 +123,7 @@
     4.4   * @param length the count of bytes to extract or 0 if all of the remaining
     4.5   * bytes shall be extracted
     4.6   * @param flags feature mask for the new buffer
     4.7 - * @return 
     4.8 + * @return a new buffer containing the extraction
     4.9   */
    4.10  UcxBuffer* ucx_buffer_extract(UcxBuffer *src,
    4.11          size_t start, size_t length, int flags);

mercurial