From 3b9f21c6c3f06fd5049aa43f116906417d92e11f Mon Sep 17 00:00:00 2001 From: Alice Frosi Date: Mon, 5 Jun 2023 16:54:12 +0200 Subject: cooker: use unsigned short for family with connect --- cooker/cooker.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cooker/cooker.h') diff --git a/cooker/cooker.h b/cooker/cooker.h index 40277c2..7a14221 100644 --- a/cooker/cooker.h +++ b/cooker/cooker.h @@ -64,6 +64,7 @@ enum type { UNDEF = 0, NONE, + USHORT, INT, U32, U64, @@ -107,7 +108,7 @@ enum flags { #define TYPE_IS_COMPOUND(t) \ ((t) == STRUCT || (t) == SELECT) #define TYPE_IS_NUM(t) \ - ((t) == INT || (t) == U32 || (t) == U64 || (t) == LONG) + ((t) == INT || (t) == U32 || (t) == U64 || (t) == LONG || (t) == USHORT) /** * struct num - A numeric value and its label -- cgit v1.2.3