--- a/test/buffer_tests.c Wed Oct 10 09:54:57 2012 +0200 +++ b/test/buffer_tests.c Wed Oct 10 10:04:01 2012 +0200 @@ -9,7 +9,7 @@ memset(buffer, 32, 7); buffer[7] = 0; - UcxBuffer *b = ucx_buffer_new(buffer, 16); + UcxBuffer *b = ucx_buffer_new(buffer, 16, UCX_BUFFER_DEFAULT); int r; UCX_TEST_BEGIN @@ -51,7 +51,7 @@ char *buffer = malloc(16); memset(buffer, 32, 16); - UcxBuffer *b = ucx_buffer_new(buffer, 16); + UcxBuffer *b = ucx_buffer_new(buffer, 16, UCX_BUFFER_DEFAULT); int r; UCX_TEST_BEGIN @@ -79,7 +79,7 @@ buffer[i] = 40+i; } - UcxBuffer *b = ucx_buffer_new(buffer, 16); + UcxBuffer *b = ucx_buffer_new(buffer, 16, UCX_BUFFER_DEFAULT); int r; UCX_TEST_BEGIN @@ -109,7 +109,7 @@ buffer[i] = 40+i; } - UcxBuffer *b = ucx_buffer_new(buffer, 16); + UcxBuffer *b = ucx_buffer_new(buffer, 16, UCX_BUFFER_DEFAULT); int r; UCX_TEST_BEGIN @@ -151,7 +151,7 @@ buffer[i] = 40+i; } - UcxBuffer *b = ucx_buffer_new(buffer, 16); + UcxBuffer *b = ucx_buffer_new(buffer, 16, UCX_BUFFER_DEFAULT); int r; UCX_TEST_BEGIN