From 4c5b521442495c963519c8bcabfe76a6468b108f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 22 Apr 2011 18:18:37 +0000 Subject: Fix incorrect function pointer typedef syntax (and broken SWIG build). git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3191 a436a847-0d15-0410-975c-d299462d15a1 --- slv2/slv2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'slv2/slv2.h') diff --git a/slv2/slv2.h b/slv2/slv2.h index 40e0da1..4cb4e98 100644 --- a/slv2/slv2.h +++ b/slv2/slv2.h @@ -1346,8 +1346,8 @@ slv2_ui_is_a(SLV2UI ui, SLV2Value class_uri); This is provided by the user and must return non-zero iff using a UI of type @c ui_type_uri in a container of type @c container_type_uri is supported. */ -typedef unsigned (SLV2UISupportedFunc)(const char* container_type_uri, - const char* ui_type_uri); +typedef unsigned (*SLV2UISupportedFunc)(const char* container_type_uri, + const char* ui_type_uri); /** Return true iff a Plugin UI is supported as a given widget type. -- cgit v1.2.1