From 07c3b4ce3ed385368147bd4f2e058f83d9064b0d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 9 Feb 2007 19:19:31 +0000 Subject: Removed data type stuff from SLV2. Reworked event system in FlowCanvas to use signals. Added straight connections and arrowheads to FlowCanvas, Ellipse fixes. git-svn-id: http://svn.drobilla.net/lad/slv2@293 a436a847-0d15-0410-975c-d299462d15a1 --- src/port.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/port.c') diff --git a/src/port.c b/src/port.c index f64dbbe..a7691ea 100644 --- a/src/port.c +++ b/src/port.c @@ -98,23 +98,6 @@ slv2_port_get_class(SLV2Plugin* p, } -char* -slv2_port_get_data_type(SLV2Plugin* p, - SLV2PortID id) -{ - SLV2Value type = slv2_port_get_value(p, id, "lv2:datatype"); - assert(type); - assert(type->num_values == 1); - assert(type->values); - - char* ret = type->values[0]; - type->values[0] = NULL; // prevent deletion - - slv2_value_free(type); - return ret; -} - - SLV2Value slv2_port_get_value(SLV2Plugin* p, SLV2PortID id, -- cgit v1.2.1