From 258ea2ff59bbd2127ea446cf4b9676ad3d7fe53d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 30 Aug 2023 20:43:05 -0400 Subject: Use ZixStringView directly --- src/env.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/env.h') diff --git a/src/env.h b/src/env.h index 64a0abc1..54ae84e1 100644 --- a/src/env.h +++ b/src/env.h @@ -6,17 +6,17 @@ #include "serd/env.h" #include "serd/status.h" -#include "serd/string_view.h" #include "serd/uri.h" #include "zix/attributes.h" +#include "zix/string_view.h" /** Return the URI for the prefix with the given name. If no such prefix is known, returns an empty string view. */ -ZIX_PURE_FUNC SerdStringView -serd_env_find_prefix(const SerdEnv* env, SerdStringView name); +ZIX_PURE_FUNC ZixStringView +serd_env_find_prefix(const SerdEnv* env, ZixStringView name); /** Expand `curie`. @@ -25,10 +25,10 @@ serd_env_find_prefix(const SerdEnv* env, SerdStringView name); not defined in `env`. */ SerdStatus -serd_env_expand_in_place(const SerdEnv* env, - SerdStringView curie, - SerdStringView* uri_prefix, - SerdStringView* uri_suffix); +serd_env_expand_in_place(const SerdEnv* env, + ZixStringView curie, + ZixStringView* uri_prefix, + ZixStringView* uri_suffix); ZIX_PURE_FUNC SerdURIView serd_env_base_uri_view(const SerdEnv* env); -- cgit v1.2.1