aboutsummaryrefslogtreecommitdiffstats
path: root/src/uri_utils.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-08-30 20:43:05 -0400
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:08 -0500
commit258ea2ff59bbd2127ea446cf4b9676ad3d7fe53d (patch)
treed7be35c7b4b3d466049352f2975e2c88c298f4b8 /src/uri_utils.h
parentb13ad41a4d65b577b4db67660a9edf3056bdf7af (diff)
downloadserd-258ea2ff59bbd2127ea446cf4b9676ad3d7fe53d.tar.gz
serd-258ea2ff59bbd2127ea446cf4b9676ad3d7fe53d.tar.bz2
serd-258ea2ff59bbd2127ea446cf4b9676ad3d7fe53d.zip
Use ZixStringView directly
Diffstat (limited to 'src/uri_utils.h')
-rw-r--r--src/uri_utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/uri_utils.h b/src/uri_utils.h
index 76060d6a..63e67d62 100644
--- a/src/uri_utils.h
+++ b/src/uri_utils.h
@@ -7,8 +7,8 @@
#include "string_utils.h"
#include "serd/attributes.h"
-#include "serd/string_view.h"
#include "serd/uri.h"
+#include "zix/string_view.h"
#include <stdbool.h>
#include <string.h>
@@ -19,7 +19,7 @@ typedef struct {
} SlashIndexes;
static inline bool
-slice_equals(const SerdStringView* a, const SerdStringView* b)
+slice_equals(const ZixStringView* a, const ZixStringView* b)
{
return a->length == b->length && !strncmp(a->data, b->data, a->length);
}