From eedf74351965f4e144a348e16cb3ad917187d71a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 21 Sep 2018 00:59:13 +0200 Subject: 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. --- src/jalv.c | 2 +- src/jalv_internal.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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, -- cgit v1.2.1