From 760860f3a34873e00cbf2ccb473f78cf3933a2f2 Mon Sep 17 00:00:00 2001 From: rimio Date: Fri, 2 Mar 2018 00:04:17 +0200 Subject: Added support for boolean and null types; added test case answers --- include/ecbor.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/ecbor.h b/include/ecbor.h index db6786b..0977e4b 100644 --- a/include/ecbor.h +++ b/include/ecbor.h @@ -82,9 +82,11 @@ typedef enum { ECBOR_TYPE_FP16 = 8, ECBOR_TYPE_FP32 = 9, ECBOR_TYPE_FP64 = 10, + ECBOR_TYPE_BOOL = 11, + ECBOR_TYPE_NULL = 12, /* Last type, used for bounds checking */ - ECBOR_TYPE_LAST = 10 + ECBOR_TYPE_LAST = ECBOR_TYPE_NULL } ecbor_type_t; /* -- cgit v1.2.3