summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-04-22 18:18:37 +0000
committerDavid Robillard <d@drobilla.net>2011-04-22 18:18:37 +0000
commit4c5b521442495c963519c8bcabfe76a6468b108f (patch)
tree142d82d88ec222788a4b99744a0ce4215d873343
parent8a08946324dccca61717080dfe9e1c666afd7b11 (diff)
downloadlilv-4c5b521442495c963519c8bcabfe76a6468b108f.tar.gz
lilv-4c5b521442495c963519c8bcabfe76a6468b108f.tar.bz2
lilv-4c5b521442495c963519c8bcabfe76a6468b108f.zip
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
-rw-r--r--slv2/slv2.h4
1 files changed, 2 insertions, 2 deletions
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.