From 70277ccdb3035db83d81d942777c12a60c4aded3 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 26 Feb 2023 12:39:18 -0500 Subject: Rename string view fields --- include/serd/string_view.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/serd/string_view.h b/include/serd/string_view.h index 767cc6b1..cab25081 100644 --- a/include/serd/string_view.h +++ b/include/serd/string_view.h @@ -24,8 +24,8 @@ SERD_BEGIN_DECLS of strings in-place and to avoid redundant string measurement. */ typedef struct { - const char* SERD_NONNULL buf; ///< Start of string - size_t len; ///< Length of string in bytes + const char* SERD_NONNULL data; ///< Start of string + size_t length; ///< Length of string in bytes } SerdStringView; /// Return a view of an empty string -- cgit v1.2.1