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/error.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/error.h')
-rw-r--r-- | include/serd/error.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/serd/error.h b/include/serd/error.h index 7495ce3b..16b28e83 100644 --- a/include/serd/error.h +++ b/include/serd/error.h @@ -20,10 +20,10 @@ SERD_BEGIN_DECLS /// An error description typedef struct { - SerdStatus status; ///< Error code - const SerdCaret* SERD_NULLABLE caret; ///< File origin of error - const char* SERD_NONNULL fmt; ///< Printf-style format string - va_list* SERD_NONNULL args; ///< Arguments for fmt + SerdStatus status; ///< Error code + const SerdCaret* ZIX_NULLABLE caret; ///< File origin of error + const char* ZIX_NONNULL fmt; ///< Printf-style format string + va_list* ZIX_NONNULL args; ///< Arguments for fmt } SerdError; /** @@ -32,8 +32,8 @@ typedef struct { @param handle Handle for user data. @param error Error description. */ -typedef SerdStatus (*SerdErrorFunc)(void* SERD_NULLABLE handle, - const SerdError* SERD_NONNULL error); +typedef SerdStatus (*SerdErrorFunc)(void* ZIX_NULLABLE handle, + const SerdError* ZIX_NONNULL error); /** @} |