aboutsummaryrefslogtreecommitdiffstats
path: root/src/sink.c
AgeCommit message (Collapse)AuthorFilesLines
2019-04-13Use consistent naming for function typesDavid Robillard1-4/+4
2019-04-13Add Env to SinkDavid Robillard1-3/+17
This isn't technically necessary for any sink, but is a pattern common to every sink implementation in serd, so having it here reduces boilerplate and parameters in user code.
2019-04-13Make SerdSink opaqueDavid Robillard1-6/+54
2019-04-13Add 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.
2019-04-13Make 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.
2019-04-13Add sink interfaceDavid Robillard1-0/+62
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