aboutsummaryrefslogtreecommitdiffstats
path: root/src/reader.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-02-14 09:41:46 +0100
committerDavid Robillard <d@drobilla.net>2017-02-14 09:41:46 +0100
commitc144df7d92a3e3e9c8343b84ea61588b6889b743 (patch)
tree0ee7d756963e2c7df94c14d0bc3a14703cd849c5 /src/reader.c
parent571dcd54f1e32bb2c671aca199b51201bc37d4a6 (diff)
downloadserd-c144df7d92a3e3e9c8343b84ea61588b6889b743.tar.gz
serd-c144df7d92a3e3e9c8343b84ea61588b6889b743.tar.bz2
serd-c144df7d92a3e3e9c8343b84ea61588b6889b743.zip
Improve struct packing
Diffstat (limited to 'src/reader.c')
-rw-r--r--src/reader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reader.c b/src/reader.c
index af5fb85c..cb39ca91 100644
--- a/src/reader.c
+++ b/src/reader.c
@@ -77,11 +77,11 @@ struct SerdReaderImpl {
FILE* fd;
SerdStack stack;
SerdSyntax syntax;
+ unsigned next_id;
Cursor cur;
uint8_t* buf;
uint8_t* bprefix;
size_t bprefix_len;
- unsigned next_id;
const uint8_t* read_buf;
uint8_t* file_buf;
int32_t read_head; ///< Offset into read_buf