aboutsummaryrefslogtreecommitdiffstats
path: root/tools/console.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-12-19 17:55:02 -0500
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:08 -0500
commit0f9816d67bc67a396607291f845ca2a33c2285a7 (patch)
treeb31fd1b344305dc984a2109084fa183573a0ae43 /tools/console.c
parent258ea2ff59bbd2127ea446cf4b9676ad3d7fe53d (diff)
downloadserd-0f9816d67bc67a396607291f845ca2a33c2285a7.tar.gz
serd-0f9816d67bc67a396607291f845ca2a33c2285a7.tar.bz2
serd-0f9816d67bc67a396607291f845ca2a33c2285a7.zip
Use ZixAllocator directly
Diffstat (limited to 'tools/console.c')
-rw-r--r--tools/console.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/console.c b/tools/console.c
index 53e86389..057656d5 100644
--- a/tools/console.c
+++ b/tools/console.c
@@ -10,6 +10,7 @@
#include "serd/syntax.h"
#include "serd/uri.h"
#include "serd/version.h"
+#include "zix/allocator.h"
#include "zix/attributes.h"
#include "zix/string_view.h"
@@ -392,10 +393,10 @@ serd_parse_common_option(OptionIter* const iter, SerdCommonOptions* const opts)
}
SerdEnv*
-serd_create_env(SerdAllocator* const allocator,
- const char* const program,
- const char* const base_string,
- const char* const out_filename)
+serd_create_env(ZixAllocator* const allocator,
+ const char* const program,
+ const char* const base_string,
+ const char* const out_filename)
{
if (serd_uri_string_has_scheme(base_string)) {
return serd_env_new(allocator, zix_string(base_string));