diff options
author | David Robillard <d@drobilla.net> | 2016-03-16 16:54:49 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-06-21 18:12:03 +0200 |
commit | 05601551a3e8350da8053f47ceb121c8de0e692c (patch) | |
tree | d91c7a81d6b5a0f77d3ec0b4bf4a34513b6ee0a6 /src/env.c | |
parent | 849ed44090f6808124ea77e4354b9d1fe6e57cb4 (diff) | |
download | serd-05601551a3e8350da8053f47ceb121c8de0e692c.tar.gz serd-05601551a3e8350da8053f47ceb121c8de0e692c.tar.bz2 serd-05601551a3e8350da8053f47ceb121c8de0e692c.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
@@ -160,7 +160,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; @@ -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) + SerdStringView* uri_prefix, + SerdStringView* 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; + SerdStringView prefix; + SerdStringView suffix; if (serd_env_expand(env, node, &prefix, &suffix)) { return SERD_NODE_NULL; } |