diff options
author | David Robillard <d@drobilla.net> | 2023-08-30 20:43:05 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-12-02 18:49:08 -0500 |
commit | 258ea2ff59bbd2127ea446cf4b9676ad3d7fe53d (patch) | |
tree | d7be35c7b4b3d466049352f2975e2c88c298f4b8 /src/log.c | |
parent | b13ad41a4d65b577b4db67660a9edf3056bdf7af (diff) | |
download | serd-258ea2ff59bbd2127ea446cf4b9676ad3d7fe53d.tar.gz serd-258ea2ff59bbd2127ea446cf4b9676ad3d7fe53d.tar.bz2 serd-258ea2ff59bbd2127ea446cf4b9676ad3d7fe53d.zip |
Use ZixStringView directly
Diffstat (limited to 'src/log.c')
-rw-r--r-- | src/log.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -10,9 +10,9 @@ #include "serd/log.h" #include "serd/node.h" #include "serd/status.h" -#include "serd/string_view.h" #include "serd/world.h" #include "zix/attributes.h" +#include "zix/string_view.h" #if USE_ISATTY # include <unistd.h> @@ -120,7 +120,7 @@ serd_quiet_log_func(void* const handle, const SerdLogLevel level, const size_t n_fields, const SerdLogField* const fields, - const SerdStringView message) + const ZixStringView message) { (void)handle; (void)level; @@ -219,7 +219,7 @@ serd_vxlogf(const SerdWorld* const world, level, n_fields, fields, - serd_substring(message, (size_t)r)); + zix_substring(message, (size_t)r)); } return serd_default_vxlogf( |