diff options
author | David Robillard <d@drobilla.net> | 2016-03-16 16:54:49 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-10-27 13:13:58 +0100 |
commit | 3eff44c4784c6f0cfdc8c857ff47f8bdd3ae713c (patch) | |
tree | 87346d71b5aa60b980055620597f1a6119c226b0 /src/writer.c | |
parent | 085e63e53502adfc16c3830ed6b0b941314b8f8a (diff) | |
download | serd-3eff44c4784c6f0cfdc8c857ff47f8bdd3ae713c.tar.gz serd-3eff44c4784c6f0cfdc8c857ff47f8bdd3ae713c.tar.bz2 serd-3eff44c4784c6f0cfdc8c857ff47f8bdd3ae713c.zip |
Rename SerdChunk to SerdStringView
Diffstat (limited to 'src/writer.c')
-rw-r--r-- | src/writer.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/writer.c b/src/writer.c index 39acd75b..bf4ccaa8 100644 --- a/src/writer.c +++ b/src/writer.c @@ -500,8 +500,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; @@ -560,10 +560,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: |