diff options
author | David Robillard <d@drobilla.net> | 2020-12-15 21:30:27 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-12-15 21:30:27 +0100 |
commit | ea5778afa33b094215c18dfb19ff3a38bb560c26 (patch) | |
tree | 7fbee3145d618249769274f73b8749a0fb3331f6 /include/serd | |
parent | aac7b8d830146a6453218a1016e7126500f4cecb (diff) | |
download | serd-ea5778afa33b094215c18dfb19ff3a38bb560c26.tar.gz serd-ea5778afa33b094215c18dfb19ff3a38bb560c26.tar.bz2 serd-ea5778afa33b094215c18dfb19ff3a38bb560c26.zip |
Fix nullable annotations on allocating function return values
Diffstat (limited to 'include/serd')
-rw-r--r-- | include/serd/serd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/serd/serd.h b/include/serd/serd.h index e71defe9..e465809c 100644 --- a/include/serd/serd.h +++ b/include/serd/serd.h @@ -303,7 +303,7 @@ serd_strtod(const char* SERD_NONNULL str, @return A newly allocated blob which must be freed with serd_free(). */ SERD_API -void* SERD_NULLABLE +void* SERD_ALLOCATED serd_base64_decode(const uint8_t* SERD_NONNULL str, size_t len, size_t* SERD_NONNULL size); @@ -899,7 +899,7 @@ serd_writer_free(SerdWriter* SERD_NULLABLE writer); /// Return the env used by `writer` SERD_PURE_API -SerdEnv* SERD_NULLABLE +SerdEnv* SERD_NONNULL serd_writer_get_env(SerdWriter* SERD_NONNULL writer); /** |