diff options
author | David Robillard <d@drobilla.net> | 2016-03-16 16:54:49 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-12-30 17:56:22 -0500 |
commit | cedc9530cee8518f92d949984d173be1e707e31e (patch) | |
tree | 71ef784f07a444789a5074d075f33339128b998d /src/env.c | |
parent | 65efdce71c3f77286a9416dc81b6041c51584b77 (diff) | |
download | serd-cedc9530cee8518f92d949984d173be1e707e31e.tar.gz serd-cedc9530cee8518f92d949984d173be1e707e31e.tar.bz2 serd-cedc9530cee8518f92d949984d173be1e707e31e.zip |
Rename SerdChunk to SerdSlice
Diffstat (limited to 'src/env.c')
-rw-r--r-- | src/env.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -158,7 +158,7 @@ bool serd_env_qualify(const SerdEnv* env, const SerdNode* uri, SerdNode* prefix, - SerdChunk* suffix) + SerdSlice* suffix) { for (size_t i = 0; i < env->n_prefixes; ++i) { const SerdNode* const prefix_uri = &env->prefixes[i].uri; @@ -179,8 +179,8 @@ serd_env_qualify(const SerdEnv* env, SerdStatus serd_env_expand(const SerdEnv* env, const SerdNode* curie, - SerdChunk* uri_prefix, - SerdChunk* uri_suffix) + SerdSlice* uri_prefix, + SerdSlice* uri_suffix) { const char* const colon = (const char*)memchr( curie->buf, ':', curie->n_bytes + 1); @@ -206,8 +206,8 @@ serd_env_expand_node(const SerdEnv* env, { switch (node->type) { case SERD_CURIE: { - SerdChunk prefix; - SerdChunk suffix; + SerdSlice prefix; + SerdSlice suffix; if (serd_env_expand(env, node, &prefix, &suffix)) { return SERD_NODE_NULL; } |