diff options
author | David Robillard <d@drobilla.net> | 2018-09-21 00:59:13 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-09-21 09:30:31 +0200 |
commit | eedf74351965f4e144a348e16cb3ad917187d71a (patch) | |
tree | 1409caea5e61750e15307f7c68fe7208f30bcd27 | |
parent | 43ecc5721251c968b1fad47019df20ee4b450533 (diff) | |
download | jalv-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.c | 2 | ||||
-rw-r--r-- | src/jalv_internal.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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, |