aboutsummaryrefslogtreecommitdiffstats
path: root/src/sink.c
AgeCommit message (Collapse)AuthorFilesLines
2018-12-31Make SerdSink opaqueDavid Robillard1-6/+54
2018-12-31Add cursor to statementDavid Robillard1-1/+2
This allows the file and position of statements to be used in sinks, for example for more helpful error reporting outside the parser.
2018-12-31Make statement sink take a statement rather than nodesDavid Robillard1-8/+5
This makes the interface more extensible, towards associating more information with statements. The serd_sink_write_nodes wrapper remains so that user code does not need to allocate in order to write statement.
2018-12-31Add sink interfaceDavid Robillard1-0/+61
2011-12-12Make bulk writer internal and inlinable to avoid function call overhead in ↵David Robillard1-83/+0
the writer. git-svn-id: http://svn.drobilla.net/serd/trunk@254 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-11Move all #ifdef gunk to serd_internal.h.David Robillard1-9/+2
Centralise file open and buffer allocation to localize platform tweaks. git-svn-id: http://svn.drobilla.net/serd/trunk@244 490d8e77-9747-427b-9fa3-0b8f29cee8a0
2011-12-11Add SerdBulkSink for writing bulk output and corresponding serdi -B option.David Robillard1-0/+90
git-svn-id: http://svn.drobilla.net/serd/trunk@242 490d8e77-9747-427b-9fa3-0b8f29cee8a0