aboutsummaryrefslogtreecommitdiffstats
path: root/src/uri_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/uri_utils.h')
-rw-r--r--src/uri_utils.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/uri_utils.h b/src/uri_utils.h
index 36db5fb5..004129d2 100644
--- a/src/uri_utils.h
+++ b/src/uri_utils.h
@@ -46,7 +46,7 @@ uri_path_at(const SerdURIView* uri, size_t i)
slash is the last in the root, then the URI is a child of the root,
otherwise it may merely share some leading path components).
*/
-static inline SERD_PURE_FUNC SlashIndexes
+static inline ZIX_PURE_FUNC SlashIndexes
uri_rooted_index(const SerdURIView* uri, const SerdURIView* root)
{
SlashIndexes indexes = {SIZE_MAX, SIZE_MAX};
@@ -84,7 +84,7 @@ uri_rooted_index(const SerdURIView* uri, const SerdURIView* root)
}
/** Return true iff `uri` shares path components with `root` */
-static inline SERD_PURE_FUNC bool
+static inline ZIX_PURE_FUNC bool
uri_is_related(const SerdURIView* uri, const SerdURIView* root)
{
return root && root->scheme.length &&
@@ -93,7 +93,7 @@ uri_is_related(const SerdURIView* uri, const SerdURIView* root)
}
/** Return true iff `uri` is within the base of `root` */
-static inline SERD_PURE_FUNC bool
+static inline ZIX_PURE_FUNC bool
uri_is_under(const SerdURIView* uri, const SerdURIView* root)
{
const SlashIndexes indexes = uri_rooted_index(uri, root);