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 /src/node.c | |
parent | febb30141356df83a56026bbb14099e3cb2c82fc (diff) | |
download | serd-70277ccdb3035db83d81d942777c12a60c4aded3.tar.gz serd-70277ccdb3035db83d81d942777c12a60c4aded3.tar.bz2 serd-70277ccdb3035db83d81d942777c12a60c4aded3.zip |
Rename string view fields
Diffstat (limited to 'src/node.c')
-rw-r--r-- | src/node.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -31,11 +31,11 @@ static size_t serd_uri_string_length(const SerdURIView* const uri) { - size_t len = uri->path_base.len; + size_t len = uri->path_base.length; -#define ADD_LEN(field, n_delims) \ - if ((field).len) { \ - len += (field).len + (n_delims); \ +#define ADD_LEN(field, n_delims) \ + if ((field).length) { \ + len += (field).length + (n_delims); \ } ADD_LEN(uri->path, 1) // + possible leading '/' |