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/missing_plugin.lv2 | |
parent | 6f36b5a3fb181f6b9f9b1538d894efe24a0e92c7 (diff) | |
download | lilv-42c4705bbcdf0a638aca6923325ed9a5660bfc26.tar.gz lilv-42c4705bbcdf0a638aca6923325ed9a5660bfc26.tar.bz2 lilv-42c4705bbcdf0a638aca6923325ed9a5660bfc26.zip |
fixup! WIP: Port to serd1
Diffstat (limited to 'test/missing_plugin.lv2')
-rw-r--r-- | test/missing_plugin.lv2/test_missing_plugin.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/missing_plugin.lv2/test_missing_plugin.c b/test/missing_plugin.lv2/test_missing_plugin.c index 4143f36..a50f7cc 100644 --- a/test/missing_plugin.lv2/test_missing_plugin.c +++ b/test/missing_plugin.lv2/test_missing_plugin.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); |