aboutsummaryrefslogtreecommitdiffstats
path: root/src/world.h
AgeCommit message (Collapse)AuthorFilesLines
2023-12-02Add support for custom allocatorsDavid Robillard1-4/+9
This makes it explicit in the API where memory is allocated, and allows the user to provide a custom allocator to avoid the use of the default system allocator for whatever reason.
2023-12-02[WIP] Add extensible logging APIDavid Robillard1-20/+6
2023-12-02Simplify input stream APIDavid Robillard1-5/+1
2023-12-02Rename SerdErrorFunc to SerdLogFuncDavid Robillard1-5/+5
2023-12-02Add a set of limits to the worldDavid Robillard1-0/+1
The idea here is to remove the burden of passing things around like stack sizes (where most users don't care and will be happy with a reasonably large default) and keeping the call sites to things like serd_reader_new() clean. The cost is a bit more state, so it's both more powerful and more potentially flaky, since changing the limits has action at a distance that isn't clear from the call site. I think it's worth it for the cleaner API in the common case, and the much better forward compatibility.
2023-12-02Add serd_world_get_blank()David Robillard1-0/+4
2023-12-02Move fopen wrapper to worldDavid Robillard1-1/+5
2023-12-02Move error handling to worldDavid Robillard1-0/+16
2023-12-02Add SerdWorld for shared library stateDavid Robillard1-0/+14