summaryrefslogtreecommitdiffstats
path: root/slv2/port.h
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 /slv2/port.h
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 'slv2/port.h')
-rw-r--r--slv2/port.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/slv2/port.h b/slv2/port.h
index 9106a9c..546a713 100644
--- a/slv2/port.h
+++ b/slv2/port.h
@@ -47,7 +47,7 @@ slv2_port_by_symbol(const char* symbol);
/** Port equivalent to slv2_plugin_get_value.
*/
SLV2Strings
-slv2_port_get_value(SLV2Plugin* plugin,
+slv2_port_get_value(SLV2Plugin plugin,
SLV2PortID id,
const char* property);
@@ -55,14 +55,14 @@ slv2_port_get_value(SLV2Plugin* plugin,
/** Port equivalent to slv2_plugin_get_properties.
*/
SLV2Strings
-slv2_port_get_properties(const SLV2Plugin* p,
+slv2_port_get_properties(SLV2Plugin p,
SLV2PortID id);
/** Port equivalent to slv2_plugin_get_hints.
*/
SLV2Strings
-slv2_port_get_hints(const SLV2Plugin* p,
+slv2_port_get_hints(SLV2Plugin p,
SLV2PortID id);
@@ -74,7 +74,7 @@ slv2_port_get_hints(const SLV2Plugin* p,
* \return NULL when index is out of range
*/
char*
-slv2_port_get_symbol(SLV2Plugin* plugin,
+slv2_port_get_symbol(SLV2Plugin plugin,
SLV2PortID id);
/** Get the name of a port.
@@ -84,14 +84,14 @@ slv2_port_get_symbol(SLV2Plugin* plugin,
* the caller.
*/
char*
-slv2_port_get_name(SLV2Plugin* plugin,
+slv2_port_get_name(SLV2Plugin plugin,
SLV2PortID id);
/** Get the class (input/output, data type, rate...) of a port.
*/
SLV2PortClass
-slv2_port_get_class(SLV2Plugin* plugin,
+slv2_port_get_class(SLV2Plugin plugin,
SLV2PortID id);
@@ -100,7 +100,7 @@ slv2_port_get_class(SLV2Plugin* plugin,
* Only valid for ports with a data type of lv2:float.
*/
float
-slv2_port_get_default_value(SLV2Plugin* plugin,
+slv2_port_get_default_value(SLV2Plugin plugin,
SLV2PortID id);
@@ -109,7 +109,7 @@ slv2_port_get_default_value(SLV2Plugin* plugin,
* Only valid for ports with a data type of lv2:float.
*/
float
-slv2_port_get_minimum_value(SLV2Plugin* plugin,
+slv2_port_get_minimum_value(SLV2Plugin plugin,
SLV2PortID id);
@@ -118,7 +118,7 @@ slv2_port_get_minimum_value(SLV2Plugin* plugin,
* Only valid for ports with a data type of lv2:float.
*/
float
-slv2_port_get_maximum_value(SLV2Plugin* plugin,
+slv2_port_get_maximum_value(SLV2Plugin plugin,
SLV2PortID id);