Browse Source

msvc: mark the dssi descriptor as dllexport

pull/278/head
Jean Pierre Cimalando 4 years ago
parent
commit
caaf8ea39c
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      distrho/src/dssi/dssi.h

+ 5
- 1
distrho/src/dssi/dssi.h View File

@@ -35,6 +35,10 @@
extern "C" { extern "C" {
#endif #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 There is a need for an API that supports hosted MIDI soft synths
with GUIs in Linux audio applications. In time the GMPI initiative with GUIs in Linux audio applications. In time the GMPI initiative
@@ -411,7 +415,7 @@ typedef struct _DSSI_Descriptor {
* of a distinct plugin type. * 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); typedef const DSSI_Descriptor *(*DSSI_Descriptor_Function)(unsigned long Index);




Loading…
Cancel
Save