aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-09-21 00:59:13 +0200
committerDavid Robillard <d@drobilla.net>2018-09-21 09:30:31 +0200
commiteedf74351965f4e144a348e16cb3ad917187d71a (patch)
tree1409caea5e61750e15307f7c68fe7208f30bcd27
parent43ecc5721251c968b1fad47019df20ee4b450533 (diff)
downloadjalv-eedf74351965f4e144a348e16cb3ad917187d71a.tar.gz
jalv-eedf74351965f4e144a348e16cb3ad917187d71a.tar.bz2
jalv-eedf74351965f4e144a348e16cb3ad917187d71a.zip
Remove use of SuilController type in jalv_ui_port_index() interface
Towards making Suil dependency optional, this type is just void* anyway, so no other changes are required.
-rw-r--r--src/jalv.c2
-rw-r--r--src/jalv_internal.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/jalv.c b/src/jalv.c
index f7c1e29..38baa5f 100644
--- a/src/jalv.c
+++ b/src/jalv.c
@@ -589,7 +589,7 @@ jalv_apply_ui_events(Jalv* jalv, uint32_t nframes)
}
uint32_t
-jalv_ui_port_index(SuilController controller, const char* symbol)
+jalv_ui_port_index(void* const controller, const char* symbol)
{
Jalv* const jalv = (Jalv*)controller;
struct Port* port = jalv_port_by_symbol(jalv, symbol);
diff --git a/src/jalv_internal.h b/src/jalv_internal.h
index 873e16b..9108b47 100644
--- a/src/jalv_internal.h
+++ b/src/jalv_internal.h
@@ -394,7 +394,7 @@ void
jalv_apply_ui_events(Jalv* jalv, uint32_t nframes);
uint32_t
-jalv_ui_port_index(SuilController controller, const char* symbol);
+jalv_ui_port_index(void* const controller, const char* symbol);
void
jalv_ui_port_event(Jalv* jalv,