Fri, 05 Jul 2019 15:07:43 +0200
fixes doxygen doc
src/ucx/array.h | file | annotate | diff | comparison | revisions |
--- a/src/ucx/array.h Fri Jul 05 15:02:04 2019 +0200 +++ b/src/ucx/array.h Fri Jul 05 15:07:43 2019 +0200 @@ -213,7 +213,7 @@ * @return the requested element * @see ucx_array_at() */ -#define ucx_array_at_typed(type, arr, i) (((type*)((arr).data))[i]) +#define ucx_array_at_typed(type, array, index) (((type*)((array).data))[index]) /** * Shorthand for ucx_array_at_typed(). @@ -294,7 +294,7 @@ * * This function uses additional memory for exactly one element. * - * @param the array to sort + * @param array the array to sort * @param cmpfnc the function that shall be used to compare the element data * @param data additional data for the cmp_func() */