aboutsummaryrefslogtreecommitdiffstats
path: root/include/serd/writer.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-03-27 05:39:26 -0400
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:08 -0500
commit7ffa2c0488fcd96c3c12713e5650633eb03e91f7 (patch)
tree9ca96bb40f71b6c37789ae641af75e39a2751c18 /include/serd/writer.h
parent5e4538756d601e6a941c5290777af95ea8848e1a (diff)
downloadserd-7ffa2c0488fcd96c3c12713e5650633eb03e91f7.tar.gz
serd-7ffa2c0488fcd96c3c12713e5650633eb03e91f7.tar.bz2
serd-7ffa2c0488fcd96c3c12713e5650633eb03e91f7.zip
[WIP] Move SerdEnv mutation from writer to reader
Writing having side-effects seems questionable in general, and this prepares things for expanding URIs in the reader.
Diffstat (limited to 'include/serd/writer.h')
-rw-r--r--include/serd/writer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/serd/writer.h b/include/serd/writer.h
index 41ffb8cd..b85c7b82 100644
--- a/include/serd/writer.h
+++ b/include/serd/writer.h
@@ -51,7 +51,7 @@ SERD_API SerdWriter* ZIX_ALLOCATED
serd_writer_new(SerdWorld* ZIX_NONNULL world,
SerdSyntax syntax,
SerdWriterFlags flags,
- SerdEnv* ZIX_NONNULL env,
+ const SerdEnv* ZIX_NONNULL env,
SerdOutputStream* ZIX_NONNULL output,
size_t block_size);