diff options
author | David Robillard <d@drobilla.net> | 2023-02-26 12:39:18 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-12-02 16:27:02 -0500 |
commit | 70277ccdb3035db83d81d942777c12a60c4aded3 (patch) | |
tree | 401d570c44167148cb282d1013ec1eaf4abe6283 /include | |
parent | febb30141356df83a56026bbb14099e3cb2c82fc (diff) | |
download | serd-70277ccdb3035db83d81d942777c12a60c4aded3.tar.gz serd-70277ccdb3035db83d81d942777c12a60c4aded3.tar.bz2 serd-70277ccdb3035db83d81d942777c12a60c4aded3.zip |
Rename string view fields
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 |