aboutsummaryrefslogtreecommitdiffstats
path: root/src/stack.h
AgeCommit message (Collapse)AuthorFilesLines
2020-06-21Fix node alignment on 32-bit ARMDavid Robillard1-1/+3
2020-06-21Fix various warnings and conversion issuesDavid Robillard1-1/+1
2020-06-21Zero node padding before passing to reader sinksDavid Robillard1-0/+1
2020-06-21Simplify stack management by popping in bulk at higher levelsDavid Robillard1-22/+11
Since all memory used by the reader is POD in the stack, there is no benefit to forcing code to explicitly pop everything pushed to the stack, since any function can record an offset and pop back down to it regardless of what its callers pushed if it knows that it does not need those items.
2020-06-21Use a fixed-size reader stackDavid Robillard1-4/+7
This improves performance, and makes the reader more suitable for embedded or network-facing applications, at the cost of requiring the user to specify a maximum stack size.
2020-06-21Clean up includes and improve source file separationDavid Robillard1-2/+2
2020-06-21Clean up and separate internal headersDavid Robillard1-0/+113