From 3564a10fec009e2a3b5d6e9c0e2794e45d64de65 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 4 Nov 2006 02:23:48 +0000 Subject: Made public inline functions static inline. git-svn-id: http://svn.drobilla.net/lad/slv2@196 a436a847-0d15-0410-975c-d299462d15a1 --- slv2/plugininstance.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'slv2/plugininstance.h') 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); -- cgit v1.2.1