summaryrefslogtreecommitdiffstats
path: root/utils/lv2info.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-04-30 01:40:20 +0000
committerDavid Robillard <d@drobilla.net>2011-04-30 01:40:20 +0000
commit054c39b12cb610d79006f0b51153cb2c4aa5a0b7 (patch)
tree3f96f5d9f17a61bba50f12227e510a033cda5e8a /utils/lv2info.c
parent2aebf86c27288254da4765116686101a88840cbd (diff)
downloadlilv-054c39b12cb610d79006f0b51153cb2c4aa5a0b7.tar.gz
lilv-054c39b12cb610d79006f0b51153cb2c4aa5a0b7.tar.bz2
lilv-054c39b12cb610d79006f0b51153cb2c4aa5a0b7.zip
Cache port RDF node on load instead of searching for it repeatedly.
Consistent namespace and URI define names. git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3240 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'utils/lv2info.c')
-rw-r--r--utils/lv2info.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/lv2info.c b/utils/lv2info.c
index f1f3fab..53d9b05 100644
--- a/utils/lv2info.c
+++ b/utils/lv2info.c
@@ -327,8 +327,8 @@ main(int argc, char** argv)
#define NS_PSET "http://lv2plug.in/ns/ext/presets#"
#define NS_EV "http://lv2plug.in/ns/ext/event#"
- control_class = lilv_new_uri(world, LILV_PORT_CLASS_CONTROL);
- event_class = lilv_new_uri(world, LILV_PORT_CLASS_EVENT);
+ control_class = lilv_new_uri(world, LILV_URI_CONTROL_PORT);
+ event_class = lilv_new_uri(world, LILV_URI_EVENT_PORT);
in_group_pred = lilv_new_uri(world, NS_PG "inGroup");
preset_pred = lilv_new_uri(world, NS_PSET "hasPreset");
role_pred = lilv_new_uri(world, NS_PG "role");