diff options
author | David Robillard <d@drobilla.net> | 2016-03-16 16:54:49 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-10-27 13:13:58 +0100 |
commit | 3eff44c4784c6f0cfdc8c857ff47f8bdd3ae713c (patch) | |
tree | 87346d71b5aa60b980055620597f1a6119c226b0 /src/env.c | |
parent | 085e63e53502adfc16c3830ed6b0b941314b8f8a (diff) | |
download | serd-3eff44c4784c6f0cfdc8c857ff47f8bdd3ae713c.tar.gz serd-3eff44c4784c6f0cfdc8c857ff47f8bdd3ae713c.tar.bz2 serd-3eff44c4784c6f0cfdc8c857ff47f8bdd3ae713c.zip |
Rename SerdChunk to SerdStringView
Diffstat (limited to 'src/env.c')
-rw-r--r-- | src/env.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -166,7 +166,7 @@ bool serd_env_qualify(const SerdEnv* env, const SerdNode* uri, SerdNode* prefix, - SerdChunk* suffix) + SerdStringView* suffix) { for (size_t i = 0; i < env->n_prefixes; ++i) { const SerdNode* const prefix_uri = &env->prefixes[i].uri; @@ -185,8 +185,8 @@ serd_env_qualify(const SerdEnv* env, SerdStatus serd_env_expand(const SerdEnv* env, const SerdNode* curie, - SerdChunk* uri_prefix, - SerdChunk* uri_suffix) + SerdStringView* uri_prefix, + SerdStringView* uri_suffix) { const char* const colon = (const char*)memchr( curie->buf, ':', curie->n_bytes + 1); @@ -219,8 +219,8 @@ serd_env_expand_node(const SerdEnv* env, return serd_node_new_uri_from_node(node, &env->base_uri, &ignored); } case SERD_CURIE: { - SerdChunk prefix; - SerdChunk suffix; + SerdStringView prefix; + SerdStringView suffix; if (serd_env_expand(env, node, &prefix, &suffix)) { return SERD_NODE_NULL; } |