We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e2ab71 commit ede085fCopy full SHA for ede085f
supervisor/shared/translate.c
@@ -87,11 +87,15 @@ STATIC int put_utf8(char *buf, int u) {
87
}
88
89
uint16_t decompress_length(const compressed_string_t *compressed) {
90
+ #if defined(compress_max_length_bits)
91
#if (compress_max_length_bits <= 8)
92
return 1 + (compressed->data >> (8 - compress_max_length_bits));
93
#else
94
return 1 + ((compressed->data * 256 + compressed->tail[0]) >> (16 - compress_max_length_bits));
95
#endif
96
+ #else
97
+ // generating qstrs
98
+ #endif
99
100
101
char *decompress(const compressed_string_t *compressed, char *decompressed) {
0 commit comments