aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-07-23 00:50:25 -0400
committerDavid Robillard <d@drobilla.net>2022-01-14 19:37:51 -0500
commit1f783d27991dabb3b8312db8970cd1778a6ae3e6 (patch)
tree946ba5bcbfb888bd6f9e166e7078d195a842a456
parenta63a8f19c54dfee75e092819d6622b8d36fe1d39 (diff)
downloadserd-1f783d27991dabb3b8312db8970cd1778a6ae3e6.tar.gz
serd-1f783d27991dabb3b8312db8970cd1778a6ae3e6.tar.bz2
serd-1f783d27991dabb3b8312db8970cd1778a6ae3e6.zip
Make StringView buffer non-nullable
-rw-r--r--include/serd/serd.h4
1 files 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