aboutsummaryrefslogtreecommitdiffstats
path: root/src/writer.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-03-16 16:54:49 -0400
committerDavid Robillard <d@drobilla.net>2023-12-02 16:27:02 -0500
commit19b9f627ba195cab7c7ebea9daca9ead6e4f5d9a (patch)
tree39da1a30375903d8446250498b5f386fce515e2a /src/writer.c
parent82f8f804773b10c42b17a30872a59ed76b062794 (diff)
downloadserd-19b9f627ba195cab7c7ebea9daca9ead6e4f5d9a.tar.gz
serd-19b9f627ba195cab7c7ebea9daca9ead6e4f5d9a.tar.bz2
serd-19b9f627ba195cab7c7ebea9daca9ead6e4f5d9a.zip
Rename SerdChunk to SerdStringView
Diffstat (limited to 'src/writer.c')
-rw-r--r--src/writer.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/writer.c b/src/writer.c
index 241e6fbf..8070392f 100644
--- a/src/writer.c
+++ b/src/writer.c
@@ -717,9 +717,9 @@ write_uri_node(SerdWriter* const writer,
const SerdNode* node,
const Field field)
{
- SerdStatus st = SERD_SUCCESS;
- SerdNode prefix = SERD_NODE_NULL;
- SerdChunk suffix = {NULL, 0U};
+ SerdStatus st = SERD_SUCCESS;
+ SerdNode prefix;
+ SerdStringView suffix;
const bool has_scheme = serd_uri_string_has_scheme(node->buf);
if (supports_abbrev(writer)) {
@@ -778,9 +778,9 @@ write_uri_node(SerdWriter* const writer,
SERD_NODISCARD static SerdStatus
write_curie(SerdWriter* const writer, const SerdNode* const node)
{
- SerdChunk prefix = {NULL, 0};
- SerdChunk suffix = {NULL, 0};
- SerdStatus st = SERD_SUCCESS;
+ SerdStringView prefix = {NULL, 0};
+ SerdStringView suffix = {NULL, 0};
+ SerdStatus st = SERD_SUCCESS;
// In fast-and-loose Turtle/TriG mode CURIEs are simply passed through
const bool fast =