diff options
Diffstat (limited to 'test/test_overflow.c')
-rw-r--r-- | test/test_overflow.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/test/test_overflow.c b/test/test_overflow.c index f2ff184b..39fbd00d 100644 --- a/test/test_overflow.c +++ b/test/test_overflow.c @@ -4,6 +4,7 @@ #undef NDEBUG #include "serd/serd.h" +#include "zix/allocator.h" #include "zix/string_view.h" #include <assert.h> @@ -23,11 +24,11 @@ test_size(SerdWorld* const world, limits.reader_stack_size = stack_size; serd_world_set_limits(world, limits); - SerdNodes* const nodes = serd_world_nodes(world); - SerdAllocator* const alloc = serd_world_allocator(world); - SerdSink* const sink = serd_sink_new(alloc, NULL, NULL, NULL); - SerdEnv* const env = serd_env_new(alloc, zix_empty_string()); - SerdReader* const reader = serd_reader_new(world, syntax, flags, env, sink); + SerdNodes* const nodes = serd_world_nodes(world); + ZixAllocator* const alloc = serd_world_allocator(world); + SerdSink* const sink = serd_sink_new(alloc, NULL, NULL, NULL); + SerdEnv* const env = serd_env_new(alloc, zix_empty_string()); + SerdReader* const reader = serd_reader_new(world, syntax, flags, env, sink); if (!reader) { return SERD_BAD_STACK; } |