Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-01-28 | Add custom allocator support | David Robillard | 1 | -14/+37 | |
2022-01-28 | Make environments and sinks part of the world | David Robillard | 1 | -1/+1 | |
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-28 | Use more human-readable status codes | David Robillard | 1 | -1/+1 | |
2022-01-28 | Add assertions for all non-null pointers in the public API | David Robillard | 1 | -0/+3 | |
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-14 | Add support for converting literals to canonical form | David Robillard | 1 | -0/+192 | |