summaryrefslogtreecommitdiffstats
path: root/src/plugins.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-02-11 01:07:33 +0000
committerDavid Robillard <d@drobilla.net>2011-02-11 01:07:33 +0000
commitad69b46ed592c3f8b680f29653702b03b0559963 (patch)
tree1c4e355074dddbc9c7795c0402b4c11669cc05f7 /src/plugins.c
parent7cc22c3fd0ee9f931a43d6f54be2b3be1cb09050 (diff)
downloadlilv-ad69b46ed592c3f8b680f29653702b03b0559963.tar.gz
lilv-ad69b46ed592c3f8b680f29653702b03b0559963.tar.bz2
lilv-ad69b46ed592c3f8b680f29653702b03b0559963.zip
Use `static' and `SLV2_API' explicitly/consistently.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2915 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/plugins.c')
-rw-r--r--src/plugins.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins.c b/src/plugins.c
index a8c7e81..0f9587f 100644
--- a/src/plugins.c
+++ b/src/plugins.c
@@ -34,6 +34,7 @@ slv2_plugins_new()
return g_ptr_array_new();
}
+SLV2_API
void
slv2_plugins_free(SLV2World world, SLV2Plugins list)
{
@@ -41,12 +42,14 @@ slv2_plugins_free(SLV2World world, SLV2Plugins list)
g_ptr_array_unref(list);
}
+SLV2_API
unsigned
slv2_plugins_size(SLV2Plugins list)
{
return (list ? ((GPtrArray*)list)->len : 0);
}
+SLV2_API
SLV2Plugin
slv2_plugins_get_by_uri(SLV2Plugins list, SLV2Value uri)
{
@@ -75,6 +78,7 @@ slv2_plugins_get_by_uri(SLV2Plugins list, SLV2Value uri)
return NULL;
}
+SLV2_API
SLV2Plugin
slv2_plugins_get_at(SLV2Plugins list, unsigned index)
{