aboutsummaryrefslogtreecommitdiffstats
path: root/src/system.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-11-12 13:31:24 +0100
committerDavid Robillard <d@drobilla.net>2020-11-12 13:31:24 +0100
commita815f33ec3de9a145a5846e46e6dd2f052dbfd7d (patch)
tree1a9cc47685f86705945c2dfd63c5475099a6e349 /src/system.c
parent1319a748cbb40c4d7257e3dd2537bcfee2a9b164 (diff)
downloadserd-a815f33ec3de9a145a5846e46e6dd2f052dbfd7d.tar.gz
serd-a815f33ec3de9a145a5846e46e6dd2f052dbfd7d.tar.bz2
serd-a815f33ec3de9a145a5846e46e6dd2f052dbfd7d.zip
Relax nullability annotation on allocation functions
In practice almost nobody checks for failed allocation, including unfortunately the serd tests and serdi itself. Adding a struct mode to conditionally define this would be a good idea to support allocation-hardened code, but for now just mark them as unspecified instead. On the bright side, this documents the nature of the returned pointers nicely.
Diffstat (limited to 'src/system.c')
0 files changed, 0 insertions, 0 deletions