diff options
author | David Robillard <d@drobilla.net> | 2016-03-16 16:54:49 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-12-02 16:27:02 -0500 |
commit | 19b9f627ba195cab7c7ebea9daca9ead6e4f5d9a (patch) | |
tree | 39da1a30375903d8446250498b5f386fce515e2a /src/env.c | |
parent | 82f8f804773b10c42b17a30872a59ed76b062794 (diff) | |
download | serd-19b9f627ba195cab7c7ebea9daca9ead6e4f5d9a.tar.gz serd-19b9f627ba195cab7c7ebea9daca9ead6e4f5d9a.tar.bz2 serd-19b9f627ba195cab7c7ebea9daca9ead6e4f5d9a.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
@@ -169,7 +169,7 @@ bool serd_env_qualify(const SerdEnv* const env, const SerdNode* const uri, SerdNode* const prefix, - SerdChunk* const suffix) + SerdStringView* const suffix) { if (!env) { return false; @@ -192,8 +192,8 @@ serd_env_qualify(const SerdEnv* const env, SerdStatus serd_env_expand(const SerdEnv* const env, const SerdNode* const curie, - SerdChunk* const uri_prefix, - SerdChunk* const uri_suffix) + SerdStringView* const uri_prefix, + SerdStringView* const uri_suffix) { if (!env) { return SERD_ERR_BAD_CURIE; @@ -233,8 +233,8 @@ serd_env_expand_node(const SerdEnv* const env, const SerdNode* const node) 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; } |