mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 08:52:18 +01:00
Tweak std/cbor token bits
This commit is contained in:
1 parent
850dc18d16
commit
900926b464
2 files changed
+17
-9
No files matched your search
@@ -5545,9 +5545,11 @@ extern const char wuffs_cbor__error__bad_input[];
|
||||
|
||||
#define WUFFS_CBOR__TOKEN_VALUE_MAJOR 787997
|
||||
|
||||
#define WUFFS_CBOR__TOKEN_VALUE_MINOR__TAG 1
|
||||
#define WUFFS_CBOR__TOKEN_VALUE_MINOR__DETAIL_MASK 262143
|
||||
|
||||
#define WUFFS_CBOR__TOKEN_VALUE_MINOR__MINUS_1_MINUS_X 2
|
||||
#define WUFFS_CBOR__TOKEN_VALUE_MINOR__TAG 16777216
|
||||
|
||||
#define WUFFS_CBOR__TOKEN_VALUE_MINOR__MINUS_1_MINUS_X 8388608
|
||||
|
||||
// ---------------- Struct Declarations
|
||||
|
||||
@@ -16578,7 +16580,7 @@ wuffs_cbor__decoder__decode_tokens(
|
||||
} else {
|
||||
*iop_a_dst++ = wuffs_base__make_token(
|
||||
(((uint64_t)(787997)) << WUFFS_BASE__TOKEN__VALUE_MAJOR__SHIFT) |
|
||||
(((uint64_t)(2)) << WUFFS_BASE__TOKEN__VALUE_MINOR__SHIFT) |
|
||||
(((uint64_t)(8388608)) << WUFFS_BASE__TOKEN__VALUE_MINOR__SHIFT) |
|
||||
(((uint64_t)(9)) << WUFFS_BASE__TOKEN__LENGTH__SHIFT));
|
||||
}
|
||||
goto label__goto_parsed_a_leaf_value__break;
|
||||
|
||||
Reference in new issue
Block a user