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>2020-06-21 18:12:03 +0200
commit05601551a3e8350da8053f47ceb121c8de0e692c (patch)
treed91c7a81d6b5a0f77d3ec0b4bf4a34513b6ee0a6 /src/writer.c
parent849ed44090f6808124ea77e4354b9d1fe6e57cb4 (diff)
downloadserd-05601551a3e8350da8053f47ceb121c8de0e692c.tar.gz
serd-05601551a3e8350da8053f47ceb121c8de0e692c.tar.bz2
serd-05601551a3e8350da8053f47ceb121c8de0e692c.zip
Rename SerdChunk to SerdStringView
Diffstat (limited to 'src/writer.c')
-rw-r--r--src/writer.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/writer.c b/src/writer.c
index f1baaa40..6c99ea0f 100644
--- a/src/writer.c
+++ b/src/writer.c
@@ -488,8 +488,8 @@ write_uri_node(SerdWriter* const writer,
const Field field,
const SerdStatementFlags flags)
{
- SerdNode prefix;
- SerdChunk suffix;
+ SerdNode prefix;
+ SerdStringView suffix;
if (is_inline_start(writer, field, flags)) {
++writer->indent;
@@ -548,10 +548,9 @@ write_curie(SerdWriter* const writer,
const Field field,
const SerdStatementFlags flags)
{
- SerdChunk prefix = {NULL, 0};
- SerdChunk suffix = {NULL, 0};
- SerdStatus st = SERD_SUCCESS;
-
+ SerdStringView prefix = {NULL, 0};
+ SerdStringView suffix = {NULL, 0};
+ SerdStatus st = SERD_SUCCESS;
switch (writer->syntax) {
case SERD_NTRIPLES:
case SERD_NQUADS: