From e1ef38d6a42ab484e009021e918f8360d4d37188 Mon Sep 17 00:00:00 2001 From: YuQing <384681@qq.com> Date: Fri, 20 Aug 2021 11:01:50 +0800 Subject: [PATCH] add type void_array_t --- src/common_define.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/common_define.h b/src/common_define.h index 390b191..bcc83f1 100644 --- a/src/common_define.h +++ b/src/common_define.h @@ -245,16 +245,22 @@ typedef struct typedef struct { - int32_t *values; + int32_t *elts; int count; } int32_array_t; typedef struct { - int64_t *values; + int64_t *elts; int count; } int64_array_t; +typedef struct +{ + void *elts; + int count; +} void_array_t; + typedef struct { pthread_mutex_t lock;