diff options
author | David Robillard <d@drobilla.net> | 2021-08-01 17:23:24 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-01-28 21:57:07 -0500 |
commit | 5a39e907a9a1fad87c35a94ea1e534deeb2316f9 (patch) | |
tree | 9c7779da725f178d12c6b9c8e786e9143eb71b1c /include/serd/serd.h | |
parent | 633300d4f09f9c6000923dce35bb4a7302d6d92c (diff) | |
download | serd-5a39e907a9a1fad87c35a94ea1e534deeb2316f9.tar.gz serd-5a39e907a9a1fad87c35a94ea1e534deeb2316f9.tar.bz2 serd-5a39e907a9a1fad87c35a94ea1e534deeb2316f9.zip |
Make serd_writer_set_root_uri() take a string view
This is generally more convenient, and the node was just being copied anyway.
Diffstat (limited to 'include/serd/serd.h')
-rw-r--r-- | include/serd/serd.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/serd/serd.h b/include/serd/serd.h index f9a60354..790dfde0 100644 --- a/include/serd/serd.h +++ b/include/serd/serd.h @@ -2556,8 +2556,7 @@ serd_writer_set_base_uri(SerdWriter* SERD_NONNULL writer, */ SERD_API SerdStatus -serd_writer_set_root_uri(SerdWriter* SERD_NONNULL writer, - const SerdNode* SERD_NULLABLE uri); +serd_writer_set_root_uri(SerdWriter* SERD_NONNULL writer, SerdStringView uri); /** Finish a write. |