DPF

DISTRHO Plugin Framework
Log | Files | Refs | Submodules | README | LICENSE

commit caaf8ea39ccb5dd9f47621dae84c7fc57e78fcca
parent f90a0c547bcc7a5417965854b22e01ec3e1b9a3f
Author: Jean Pierre Cimalando <jp-dev@inbox.ru>
Date:   Mon, 24 May 2021 19:48:57 +0200

msvc: mark the dssi descriptor as dllexport

Diffstat:
Mdistrho/src/dssi/dssi.h | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/distrho/src/dssi/dssi.h b/distrho/src/dssi/dssi.h @@ -35,6 +35,10 @@ extern "C" { #endif +#ifndef DSSI_PLUGIN_EXPORT +# define DSSI_PLUGIN_EXPORT LADSPA_PLUGIN_EXPORT +#endif + /* There is a need for an API that supports hosted MIDI soft synths with GUIs in Linux audio applications. In time the GMPI initiative @@ -411,7 +415,7 @@ typedef struct _DSSI_Descriptor { * of a distinct plugin type. */ -const DSSI_Descriptor *dssi_descriptor(unsigned long Index); +DSSI_PLUGIN_EXPORT const DSSI_Descriptor *dssi_descriptor(unsigned long Index); typedef const DSSI_Descriptor *(*DSSI_Descriptor_Function)(unsigned long Index);