aboutsummaryrefslogtreecommitdiffstats
path: root/src/world.c
AgeCommit message (Collapse)AuthorFilesLines
2022-01-28Add custom allocator supportDavid Robillard1-21/+49
2022-01-28Add assertions for all non-null pointers in the public APIDavid Robillard1-0/+4
Clang issues warnings at build time based on the SERD_NONNULL annotations, which is a much better approach in general. However, it does not cover cases where the API is being used with another compiler, or without a compiler that can statically check things at all (such as Python or other dynamic language bindings). In those situations, getting a clear assertion message is a lot less confusing than a random crash somewhere in serd, and it makes it clear that the bug is in the caller, so I think it's worth the tedious verbosity.
2022-01-14Avoid dynamic allocation of world blank nodeDavid Robillard1-6/+8
2022-01-14Expose low-level node construction APIDavid Robillard1-1/+1
2022-01-14Add extensible logging APIDavid Robillard1-39/+37
2022-01-13Make Reader always read from a ByteSourceDavid Robillard1-27/+0
2022-01-13Split up serd_internal.hDavid Robillard1-1/+1
2022-01-13Cache commonly used nodes in the worldDavid Robillard1-0/+26
2022-01-13Add SerdCaretDavid Robillard1-5/+9
2022-01-13Add serd_world_get_blank()David Robillard1-2/+25
2022-01-13Use thread-safe strerror_r() if availableDavid Robillard1-6/+6
2022-01-13Move fopen wrapper to worldDavid Robillard1-0/+28
2022-01-13Move error handling to worldDavid Robillard1-0/+32
2022-01-13Add SerdWorld for shared library stateDavid Robillard1-0/+40