forked from bblanchon/ArduinoJson
Reorder StringNode
's members to reduce code size
This commit is contained in:
@ -22,8 +22,8 @@ struct StringNode {
|
|||||||
using length_type = uint_t<ARDUINOJSON_STRING_LENGTH_SIZE * 8>::type;
|
using length_type = uint_t<ARDUINOJSON_STRING_LENGTH_SIZE * 8>::type;
|
||||||
|
|
||||||
struct StringNode* next;
|
struct StringNode* next;
|
||||||
length_type length;
|
|
||||||
references_type references;
|
references_type references;
|
||||||
|
length_type length;
|
||||||
char data[1];
|
char data[1];
|
||||||
|
|
||||||
static constexpr size_t maxLength = numeric_limits<length_type>::highest();
|
static constexpr size_t maxLength = numeric_limits<length_type>::highest();
|
||||||
|
Reference in New Issue
Block a user