From d4b9adc1d16cea45b30c9e4f6b8b020ef2b4a41a Mon Sep 17 00:00:00 2001 From: Jonas Kulla Date: Thu, 21 Mar 2019 08:00:47 +0100 Subject: [PATCH] fluid-fun: Adjust function signature to fluidsynth 2.0 This breaks compilation with FLUID_SHARED against <2.0 versions, which should be reasonable given that the default mode can still dynamically load both variants. Fixes #219. --- src/fluid-fun.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fluid-fun.h b/src/fluid-fun.h index f26f9fe..8521348 100644 --- a/src/fluid-fun.h +++ b/src/fluid-fun.h @@ -19,7 +19,7 @@ typedef int (*FLUIDSYNTHPROGRAMCHANGEPROC)(fluid_synth_t* synth, int chan, int p typedef fluid_settings_t* (*NEWFLUIDSETTINGSPROC)(void); typedef fluid_synth_t* (*NEWFLUIDSYNTHPROC)(fluid_settings_t* settings); typedef void (*DELETEFLUIDSETTINGSPROC)(fluid_settings_t* settings); -typedef int (*DELETEFLUIDSYNTHPROC)(fluid_synth_t* synth); +typedef void (*DELETEFLUIDSYNTHPROC)(fluid_synth_t* synth); #define FLUID_FUNCS \ FLUID_FUN(settings_setnum, FLUIDSETTINGSSETNUMPROC) \