From 397a395a3e441628aaa3f5a19141a1dcda1c827b Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Sat, 16 Jul 2022 01:03:00 +0000 Subject: [PATCH] added HIO_UECS_CS() and HIO_BECS_CS() --- hio/lib/hio-ecs.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hio/lib/hio-ecs.h b/hio/lib/hio-ecs.h index ddf30d3..12b64e0 100644 --- a/hio/lib/hio-ecs.h +++ b/hio/lib/hio-ecs.h @@ -30,6 +30,7 @@ /** string pointer and length as a aggregate */ #define HIO_BECS_BCS(s) (&((s)->val)) +#define HIO_BECS_CS(s) (&((s)->val)) /** string length */ #define HIO_BECS_LEN(s) ((s)->val.len) /** string pointer */ @@ -45,6 +46,7 @@ /** string pointer and length as a aggregate */ #define HIO_UECS_UCS(s) (&((s)->val)) +#define HIO_UECS_CS(s ) (&((s)->val)) /** string length */ #define HIO_UECS_LEN(s) ((s)->val.len) /** string pointer */