diff options
author | David Robillard <d@drobilla.net> | 2021-10-27 21:48:48 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-10-27 21:48:48 -0400 |
commit | 42c4705bbcdf0a638aca6923325ed9a5660bfc26 (patch) | |
tree | 85a2f4f19f512e74ea80803c55964c7447dcbde7 /test/failed_instantiation.lv2/test_failed_instantiation.c | |
parent | 6f36b5a3fb181f6b9f9b1538d894efe24a0e92c7 (diff) | |
download | lilv-42c4705bbcdf0a638aca6923325ed9a5660bfc26.tar.gz lilv-42c4705bbcdf0a638aca6923325ed9a5660bfc26.tar.bz2 lilv-42c4705bbcdf0a638aca6923325ed9a5660bfc26.zip |
fixup! WIP: Port to serd1
Diffstat (limited to 'test/failed_instantiation.lv2/test_failed_instantiation.c')
-rw-r--r-- | test/failed_instantiation.lv2/test_failed_instantiation.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/failed_instantiation.lv2/test_failed_instantiation.c b/test/failed_instantiation.lv2/test_failed_instantiation.c index 7e910c2..64e7a80 100644 --- a/test/failed_instantiation.lv2/test_failed_instantiation.c +++ b/test/failed_instantiation.lv2/test_failed_instantiation.c @@ -25,10 +25,11 @@ main(int argc, char** argv) // Load test plugin bundle char* abs_bundle = lilv_path_absolute(bundle_path); SerdNode* bundle = - serd_new_file_uri(SERD_STRING(abs_bundle), SERD_EMPTY_STRING()); + serd_new_file_uri(NULL, SERD_STRING(abs_bundle), SERD_EMPTY_STRING()); + lilv_world_load_bundle(world, bundle); free(abs_bundle); - serd_node_free(bundle); + serd_node_free(NULL, bundle); LilvNode* plugin_uri = lilv_new_uri(world, PLUGIN_URI); const LilvPlugins* plugins = lilv_world_get_all_plugins(world); |