diff options
author | David Robillard <d@drobilla.net> | 2020-11-12 13:31:24 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-12 13:31:24 +0100 |
commit | a815f33ec3de9a145a5846e46e6dd2f052dbfd7d (patch) | |
tree | 1a9cc47685f86705945c2dfd63c5475099a6e349 /test/TriGTests/trig-syntax-struct-02.trig | |
parent | 1319a748cbb40c4d7257e3dd2537bcfee2a9b164 (diff) | |
download | serd-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 'test/TriGTests/trig-syntax-struct-02.trig')
0 files changed, 0 insertions, 0 deletions