aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_cursor.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-10-27 14:15:31 -0400
committerDavid Robillard <d@drobilla.net>2022-01-28 21:57:24 -0500
commit30487c277ac5d4be5786733ca7b98adb4c810ae9 (patch)
treef1b00a7725d74a594fcd91de2aea924485356528 /test/test_cursor.c
parent56cceb103dc633d6af957472945e792187a5dd4e (diff)
downloadserd-30487c277ac5d4be5786733ca7b98adb4c810ae9.tar.gz
serd-30487c277ac5d4be5786733ca7b98adb4c810ae9.tar.bz2
serd-30487c277ac5d4be5786733ca7b98adb4c810ae9.zip
Add custom allocator support
Diffstat (limited to 'test/test_cursor.c')
-rw-r--r--test/test_cursor.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_cursor.c b/test/test_cursor.c
index cade0621..23f4aefd 100644
--- a/test/test_cursor.c
+++ b/test/test_cursor.c
@@ -24,12 +24,12 @@
static void
test_copy(void)
{
- assert(!serd_cursor_copy(NULL));
+ assert(!serd_cursor_copy(NULL, NULL));
- SerdWorld* const world = serd_world_new();
+ SerdWorld* const world = serd_world_new(NULL);
SerdModel* const model = serd_model_new(world, SERD_ORDER_SPO, 0u);
SerdCursor* const begin = serd_model_begin(model);
- SerdCursor* const copy = serd_cursor_copy(begin);
+ SerdCursor* const copy = serd_cursor_copy(NULL, begin);
assert(serd_cursor_equals(copy, begin));
@@ -42,7 +42,7 @@ test_copy(void)
static void
test_comparison(void)
{
- SerdWorld* const world = serd_world_new();
+ SerdWorld* const world = serd_world_new(NULL);
SerdNodes* const nodes = serd_world_nodes(world);
SerdModel* const model = serd_model_new(world, SERD_ORDER_SPO, 0u);