summaryrefslogtreecommitdiffstats
path: root/slv2
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-11-04 02:23:48 +0000
committerDavid Robillard <d@drobilla.net>2006-11-04 02:23:48 +0000
commit3564a10fec009e2a3b5d6e9c0e2794e45d64de65 (patch)
tree190639da28c6bb48c103da0a33a29c4e798b96aa /slv2
parent75473961a3322945dc11ddcff6d6498ec1e4d94d (diff)
downloadlilv-3564a10fec009e2a3b5d6e9c0e2794e45d64de65.tar.gz
lilv-3564a10fec009e2a3b5d6e9c0e2794e45d64de65.tar.bz2
lilv-3564a10fec009e2a3b5d6e9c0e2794e45d64de65.zip
Made public inline functions static inline.
git-svn-id: http://svn.drobilla.net/lad/slv2@196 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'slv2')
-rw-r--r--slv2/plugininstance.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/slv2/plugininstance.h b/slv2/plugininstance.h
index 553bb74..cb35c02 100644
--- a/slv2/plugininstance.h
+++ b/slv2/plugininstance.h
@@ -81,7 +81,7 @@ slv2_instance_free(SLV2Instance* instance);
*
* Returned string is shared and must not be modified or deleted.
*/
-inline const char*
+static inline const char*
slv2_instance_get_uri(SLV2Instance* instance)
{
assert(instance);
@@ -96,7 +96,7 @@ slv2_instance_get_uri(SLV2Instance* instance)
* This may be called regardless of whether the plugin is activated,
* activation and deactivation does not destroy port connections.
*/
-inline void
+static inline void
slv2_instance_connect_port(SLV2Instance* instance,
uint32_t port_index,
void* data_location)
@@ -116,7 +116,7 @@ slv2_instance_connect_port(SLV2Instance* instance,
* locations (as set by slv2instance_connect_port). This MUST be called
* before calling slv2instance_run.
*/
-inline void
+static inline void
slv2_instance_activate(SLV2Instance* instance)
{
assert(instance);
@@ -132,7 +132,7 @@ slv2_instance_activate(SLV2Instance* instance)
* If the hint lv2:realtimeSafe is set for this plugin, this function is
* guaranteed not to block.
*/
-inline void
+static inline void
slv2_instance_run(SLV2Instance* instance,
uint32_t sample_count)
{
@@ -150,7 +150,7 @@ slv2_instance_run(SLV2Instance* instance,
* Note that to run the plugin after this you must activate it, which will
* reset all state information (except port connections).
*/
-inline void
+static inline void
slv2_instance_deactivate(SLV2Instance* instance)
{
assert(instance);
@@ -169,7 +169,7 @@ slv2_instance_deactivate(SLV2Instance* instance)
*
* The returned descriptor is shared and must not be deleted.
*/
-inline const LV2_Descriptor*
+static inline const LV2_Descriptor*
slv2_instance_get_descriptor(SLV2Instance* instance)
{
assert(instance);
@@ -186,7 +186,7 @@ slv2_instance_get_descriptor(SLV2Instance* instance)
*
* The returned handle is shared and must not be deleted.
*/
-inline LV2_Handle
+static inline LV2_Handle
slv2_instance_get_handle(SLV2Instance* instance)
{
assert(instance);