diff options
author | David Robillard <d@drobilla.net> | 2021-10-27 21:51:33 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-10-27 21:51:33 -0400 |
commit | d9ceeea13b1dd0f7ea91b0df747eeaf085bdc88e (patch) | |
tree | 4569e6d70daa1028a15ae003547f565e8447cdf3 /test | |
parent | adb3f8854633fefee0d0e1f6ebe7f3edd91cd5ca (diff) | |
download | sratom-d9ceeea13b1dd0f7ea91b0df747eeaf085bdc88e.tar.gz sratom-d9ceeea13b1dd0f7ea91b0df747eeaf085bdc88e.tar.bz2 sratom-d9ceeea13b1dd0f7ea91b0df747eeaf085bdc88e.zip |
fixup! port to serd1
Diffstat (limited to 'test')
-rw-r--r-- | test/test_sratom.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test_sratom.c b/test/test_sratom.c index 06c3512..4d0a2fe 100644 --- a/test/test_sratom.c +++ b/test/test_sratom.c @@ -81,7 +81,7 @@ test(SerdEnv* env, const char* name, const SratomDumperFlags flags) LV2_Atom_Forge forge; lv2_atom_forge_init(&forge, &map); - SerdWorld* world = serd_world_new(); + SerdWorld* world = serd_world_new(NULL); SratomDumper* dumper = sratom_dumper_new(world, &map, &unmap); SratomLoader* loader = sratom_loader_new(world, &map); @@ -323,7 +323,8 @@ test(SerdEnv* env, const char* name, const SratomDumperFlags flags) int main(void) { - SerdEnv* const env = serd_env_new(SERD_STRING("file:///tmp/base/")); + SerdWorld* const world = serd_world_new(NULL); + SerdEnv* const env = serd_env_new(world, SERD_STRING("file:///tmp/base/")); serd_env_set_prefix( env, SERD_STRING("eg"), SERD_STRING("http://example.org/")); |