aboutsummaryrefslogtreecommitdiffstats
path: root/src/world.c
AgeCommit message (Collapse)AuthorFilesLines
2023-12-02Make r_err take a single line without trailing newlineDavid Robillard1-0/+1
Towards having an actual logging (rather than printing) mechanism.
2023-12-02Add assertions for all non-null pointers in the public APIDavid Robillard1-0/+2
2023-12-02Use a simple type-safe stack in writerDavid Robillard1-0/+1
2023-12-02Add a set of limits to the worldDavid Robillard1-1/+18
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 SerdCaretDavid Robillard1-6/+12
2023-12-02Add serd_world_get_blank()David Robillard1-2/+36
2023-12-02Use thread-safe strerror_r() if availableDavid Robillard1-6/+6
2023-12-02Move fopen wrapper to worldDavid Robillard1-0/+28
2023-12-02Move error handling to worldDavid Robillard1-2/+47
2023-12-02Add SerdWorld for shared library stateDavid Robillard1-0/+29