diff options
author | David Robillard <d@drobilla.net> | 2022-12-19 20:26:13 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-12-02 18:49:07 -0500 |
commit | 3d79b6ee36b250644e6cf70eee8e3076d94cbb7f (patch) | |
tree | 0f734bfcfd278d6eef5ca0e82c008b7f2a6f7bba /include/serd/string.h | |
parent | 7fb4c5264b91d5a5ce9f13a9fb4308088b31fcd4 (diff) | |
download | serd-3d79b6ee36b250644e6cf70eee8e3076d94cbb7f.tar.gz serd-3d79b6ee36b250644e6cf70eee8e3076d94cbb7f.tar.bz2 serd-3d79b6ee36b250644e6cf70eee8e3076d94cbb7f.zip |
Use Zix attributes directly
Diffstat (limited to 'include/serd/string.h')
-rw-r--r-- | include/serd/string.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/include/serd/string.h b/include/serd/string.h index f0b8e591..46da939d 100644 --- a/include/serd/string.h +++ b/include/serd/string.h @@ -6,6 +6,7 @@ #include "serd/attributes.h" #include "serd/node.h" +#include "zix/attributes.h" #include <stddef.h> @@ -25,7 +26,7 @@ SERD_BEGIN_DECLS @param flags (Output) Set to the applicable flags. */ SERD_API size_t -serd_strlen(const char* SERD_NONNULL str, SerdNodeFlags* SERD_NULLABLE flags); +serd_strlen(const char* ZIX_NONNULL str, SerdNodeFlags* ZIX_NULLABLE flags); /** Decode a base64 string. @@ -37,10 +38,10 @@ serd_strlen(const char* SERD_NONNULL str, SerdNodeFlags* SERD_NULLABLE flags); @param size Set to the size of the returned blob in bytes. @return A newly allocated blob which must be freed with serd_free(). */ -SERD_API void* SERD_ALLOCATED -serd_base64_decode(const char* SERD_NONNULL str, - size_t len, - size_t* SERD_NONNULL size); +SERD_API void* ZIX_ALLOCATED +serd_base64_decode(const char* ZIX_NONNULL str, + size_t len, + size_t* ZIX_NONNULL size); /** @} |