From 42b64aa5153c608d8a5ff25a90700369561e2078 Mon Sep 17 00:00:00 2001 From: zhihaop Date: Sat, 2 Jul 2022 15:16:54 +0800 Subject: [PATCH] docs: add docs to taosArrayInit() in tarray.h --- src/util/inc/tarray.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/util/inc/tarray.h b/src/util/inc/tarray.h index 10aebe2b8f..be2afef4f5 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); -- GitLab