aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_sink.c
AgeCommit message (Collapse)AuthorFilesLines
2022-01-28Add custom allocator supportDavid Robillard1-6/+33
2022-01-28Make environments and sinks part of the worldDavid Robillard1-4/+10
Although functions/components that require minimal pre-existing state are nice, these allocate memory and could potentially share resources. So, give them a pointer to a world which can be used to configure such things. In particular, this is working towards supporting custom allocators everywhere.
2022-01-28Use more human-readable status codesDavid Robillard1-2/+2
2022-01-13Replace multiple stream callbacks with SerdEventDavid Robillard1-7/+42
This makes plumbing easier since everything goes through the same "stream" and only one callback is required to handling everything. It's also more easily extensible in case more event types need to be added in the future.
2022-01-13Use SerdNodes to simplify some testsDavid Robillard1-10/+11
2022-01-13Add SerdStatementDavid Robillard1-25/+19
2022-01-13Add SerdSink interface and hide implementationsDavid Robillard1-0/+159