From b05036182303879295d8f528c285e437ca70073a Mon Sep 17 00:00:00 2001 From: Andrew Noyes Date: Thu, 5 Jun 2025 10:48:34 -0400 Subject: [PATCH] Sort Parser3 members by size and add consts --- src/parser3.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/parser3.h b/src/parser3.h index 53bfb69..b987eb3 100644 --- a/src/parser3.h +++ b/src/parser3.h @@ -123,14 +123,14 @@ struct Parser3 { char *dataBegin; // Used for unescaping string data in place char *writeBuf; - const WeaselJsonCallbacks *const callbacks; + WeaselJsonCallbacks const *const callbacks; void *const userdata; Symbol *stackPtr; - bool complete; uint32_t utf8Codepoint; uint32_t utf16Surrogate; uint32_t minCodepoint; - int stackSize; + int const stackSize; + bool complete; }; inline PRESERVE_NONE WeaselJsonStatus n_whitespace(Parser3 *self, char *buf,