From 45da326ce268f7731391bade71b8dd2280cdc7a5 Mon Sep 17 00:00:00 2001 From: YuQing <384681@qq.com> Date: Thu, 19 Aug 2021 19:28:15 +0800 Subject: [PATCH] add types int32_array_t and int64_array_t --- src/common_define.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/common_define.h b/src/common_define.h index 315edfa..390b191 100644 --- a/src/common_define.h +++ b/src/common_define.h @@ -243,6 +243,18 @@ typedef struct int count; } key_value_array_t; +typedef struct +{ + int32_t *values; + int count; +} int32_array_t; + +typedef struct +{ + int64_t *values; + int count; +} int64_array_t; + typedef struct { pthread_mutex_t lock;