diff --git a/src/util/inc/tarray.h b/src/util/inc/tarray.h index 10aebe2b8fbebd56d40a0727bb56be5922fa2f39..be2afef4f5382671feaf6495c9dfcea380bd2225 100644 --- a/src/util/inc/tarray.h +++ b/src/util/inc/tarray.h @@ -36,10 +36,10 @@ typedef struct SArray { } SArray; /** - * - * @param size - * @param elemSize - * @return + * Initializes a heap-allocated array with `size` elements, the size of element is `elemSize`. + * @param size the number of element. + * @param elemSize the size of element. + * @return the pointer points to the array. */ void* taosArrayInit(size_t size, size_t elemSize);