summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-02-19 00:46:59 +0000
committerDavid Robillard <d@drobilla.net>2007-02-19 00:46:59 +0000
commitd3d736deba06ca2ef655858ac22d8267c5cc6363 (patch)
tree1f21bcdb93d2935a3641c7e150771688bb1b63bb /utils
parent0153919a422e7a520c38f9cd01e9a079f73c80fd (diff)
downloadlilv-d3d736deba06ca2ef655858ac22d8267c5cc6363.tar.gz
lilv-d3d736deba06ca2ef655858ac22d8267c5cc6363.tar.bz2
lilv-d3d736deba06ca2ef655858ac22d8267c5cc6363.zip
Header/API cleanups.
Removed public exposure of raptor/rasqal. Redefined opaque types properly. git-svn-id: http://svn.drobilla.net/lad/slv2@317 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'utils')
-rw-r--r--utils/lv2_inspect.c6
-rw-r--r--utils/lv2_list.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/utils/lv2_inspect.c b/utils/lv2_inspect.c
index 077aefe..31dd2f9 100644
--- a/utils/lv2_inspect.c
+++ b/utils/lv2_inspect.c
@@ -22,7 +22,7 @@
void
-print_port(SLV2Plugin* p, uint32_t index)
+print_port(SLV2Plugin p, uint32_t index)
{
SLV2PortID id = slv2_port_by_index(index);
@@ -76,7 +76,7 @@ print_port(SLV2Plugin* p, uint32_t index)
void
-print_plugin(SLV2Plugin* p)
+print_plugin(SLV2Plugin p)
{
char* str = NULL;
@@ -130,7 +130,7 @@ main(int argc, char** argv)
SLV2Plugins plugins = slv2_plugins_new();
slv2_plugins_load_all(plugins);
- SLV2Plugin* p = slv2_plugins_get_by_uri(plugins, argv[1]);
+ SLV2Plugin p = slv2_plugins_get_by_uri(plugins, argv[1]);
if (!p) {
fprintf(stderr, "Plugin not found.\n");
diff --git a/utils/lv2_list.c b/utils/lv2_list.c
index a1966fd..c8e430d 100644
--- a/utils/lv2_list.c
+++ b/utils/lv2_list.c
@@ -24,7 +24,7 @@ void
list_plugins(SLV2Plugins list)
{
for (unsigned i=0; i < slv2_plugins_size(list); ++i) {
- const SLV2Plugin* const p = slv2_plugins_get_at(list, i);
+ SLV2Plugin p = slv2_plugins_get_at(list, i);
printf("%s\n", slv2_plugin_get_uri(p));
}
}