aboutsummaryrefslogtreecommitdiffstats
path: root/src/log.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-08-30 20:43:05 -0400
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:08 -0500
commit258ea2ff59bbd2127ea446cf4b9676ad3d7fe53d (patch)
treed7be35c7b4b3d466049352f2975e2c88c298f4b8 /src/log.c
parentb13ad41a4d65b577b4db67660a9edf3056bdf7af (diff)
downloadserd-258ea2ff59bbd2127ea446cf4b9676ad3d7fe53d.tar.gz
serd-258ea2ff59bbd2127ea446cf4b9676ad3d7fe53d.tar.bz2
serd-258ea2ff59bbd2127ea446cf4b9676ad3d7fe53d.zip
Use ZixStringView directly
Diffstat (limited to 'src/log.c')
-rw-r--r--src/log.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/log.c b/src/log.c
index 6ba885c6..a13bfd9a 100644
--- a/src/log.c
+++ b/src/log.c
@@ -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(