diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/serd/string_view.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 |