aboutsummaryrefslogtreecommitdiffstats
path: root/src/reader.h
AgeCommit message (Collapse)AuthorFilesLines
2018-11-25Simplify reader stack pushing codeDavid Robillard1-14/+16
2018-11-25Remove serd_reader_set_default_graphDavid Robillard1-1/+0
This is easily handled by the sink. In particular, the inserter already contains this functionality.
2018-11-25Clean up reader error handlingDavid Robillard1-9/+11
2018-11-25Fix UTF-8 round trippingDavid Robillard1-1/+1
2018-11-25Remove datatype and language from reader contextDavid Robillard1-2/+0
2018-11-25Remove unused parameters from emit_statementDavid Robillard1-5/+1
2018-11-25Simplify stack management by popping in bulk at higher levelsDavid Robillard1-3/+1
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.
2018-11-25Use fixed size stackDavid Robillard1-36/+41
2018-11-25Clean up includes and improve source file separationDavid Robillard1-2/+7
2018-11-25Add SerdWorld for shared library stateDavid Robillard1-1/+2
2018-11-25Add SerdSink interface and hide individual function implementationsDavid Robillard1-24/+19
2018-11-25Clean up and separate internal headersDavid Robillard1-0/+87
2018-11-25Make serd_strtod API const-correctDavid Robillard1-1/+1
This is an API breakage, but a minor one (particularly since NULL is allowed) that avoids the flaw in the C API.
2018-11-25Use char* for strings in public APIDavid Robillard1-1/+1
The constant casting just makes user code a mess, for no benefit.
2018-11-25Remove useless character countingDavid Robillard1-3/+0
2018-02-04Factor out syntax-specific reader implementationDavid Robillard1-0/+86