summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-04-19 18:29:16 +0000
committerDavid Robillard <d@drobilla.net>2007-04-19 18:29:16 +0000
commitc625507d8a3101742c083dd030cbd1e1e295a9a0 (patch)
tree038277c2016d99c02b80500f928c25b6af4eb9f1 /utils
parent45fa5e4b4cd73edadf656471f0557603096d8874 (diff)
downloadlilv-c625507d8a3101742c083dd030cbd1e1e295a9a0.tar.gz
lilv-c625507d8a3101742c083dd030cbd1e1e295a9a0.tar.bz2
lilv-c625507d8a3101742c083dd030cbd1e1e295a9a0.zip
Renamed SLV2Model SLV2World.
Updated Ingen for SLV2 API changes. git-svn-id: http://svn.drobilla.net/lad/slv2@459 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'utils')
-rw-r--r--utils/lv2_inspect.c8
-rw-r--r--utils/lv2_list.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/utils/lv2_inspect.c b/utils/lv2_inspect.c
index 593cc00..a6a949d 100644
--- a/utils/lv2_inspect.c
+++ b/utils/lv2_inspect.c
@@ -138,15 +138,15 @@ print_plugin(SLV2Plugin p)
int
main(int argc, char** argv)
{
- SLV2Model model = slv2_model_new();
- slv2_model_load_all(model);
+ SLV2World world = slv2_world_new();
+ slv2_world_load_all(world);
if (argc != 2) {
fprintf(stderr, "Usage: %s PLUGIN_URI\n", argv[0]);
return -1;
}
- SLV2Plugins plugins = slv2_model_get_all_plugins(model);
+ SLV2Plugins plugins = slv2_world_get_all_plugins(world);
SLV2Plugin p = slv2_plugins_get_by_uri(plugins, argv[1]);
@@ -158,7 +158,7 @@ main(int argc, char** argv)
}
slv2_plugins_free(plugins);
- slv2_model_free(model);
+ slv2_world_free(world);
return (p != NULL ? 0 : -1);
}
diff --git a/utils/lv2_list.c b/utils/lv2_list.c
index 5c2a1dd..56afe4a 100644
--- a/utils/lv2_list.c
+++ b/utils/lv2_list.c
@@ -33,15 +33,15 @@ list_plugins(SLV2Plugins list)
int
main()//int argc, char** argv)
{
- SLV2Model model = slv2_model_new();
- slv2_model_load_all(model);
+ SLV2World world = slv2_world_new();
+ slv2_world_load_all(world);
- SLV2Plugins plugins = slv2_model_get_all_plugins(model);
+ SLV2Plugins plugins = slv2_world_get_all_plugins(world);
list_plugins(plugins);
slv2_plugins_free(plugins);
- slv2_model_free(model);
+ slv2_world_free(world);
return 0;
}