diff options
| author | rimio <vasi.vilvoiu@gmail.com> | 2018-03-01 23:33:16 +0200 |
|---|---|---|
| committer | rimio <vasi.vilvoiu@gmail.com> | 2018-03-01 23:33:16 +0200 |
| commit | 3d821056f53edcf6fc8786f0d156fa56720a0c5a (patch) | |
| tree | c44fa080dfeaef8458519219bb9db0786c125d3e /src/ecbor_internal.h | |
| parent | 85e583715c02dcd9edb0875943327957e53227f8 (diff) | |
Refactor major_type->type; hide major type 7 from user
Diffstat (limited to 'src/ecbor_internal.h')
| -rw-r--r-- | src/ecbor_internal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ecbor_internal.h b/src/ecbor_internal.h index e5e4179..7b29546 100644 --- a/src/ecbor_internal.h +++ b/src/ecbor_internal.h @@ -15,6 +15,11 @@ #define false 0 #define true 1 +/* CBOR major type 7 must not be exposed to user, but translated to other types */ +enum { + ECBOR_TYPE_SPECIAL = 7 +}; + /* Additional value meanings */ enum { ECBOR_ADDITIONAL_1BYTE = 24, |
