From 1f783d27991dabb3b8312db8970cd1778a6ae3e6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 23 Jul 2021 00:50:25 -0400 Subject: Make StringView buffer non-nullable --- include/serd/serd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/serd/serd.h b/include/serd/serd.h index fe610fc5..f67752a5 100644 --- a/include/serd/serd.h +++ b/include/serd/serd.h @@ -109,8 +109,8 @@ typedef uint32_t SerdNodeFlags; of strings in-place and to avoid redundant string measurement. */ typedef struct { - const char* SERD_NULLABLE buf; ///< Start of string - size_t len; ///< Length of string in bytes + const char* SERD_NONNULL buf; ///< Start of string + size_t len; ///< Length of string in bytes } SerdStringView; #ifdef __cplusplus -- cgit v1.2.1