move DLL decl to the logical place, clang x86 fix
This commit is contained in:
parent
26255d3c87
commit
c46936ce48
2 changed files with 7 additions and 6 deletions
|
@ -1,8 +1,3 @@
|
||||||
#ifdef WIN32
|
|
||||||
__declspec(dllexport) const LADSPA_Descriptor *
|
|
||||||
ladspa_descriptor(unsigned long Index);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef M_PI
|
#ifndef M_PI
|
||||||
#define M_PI 3.14159265358979323846264338327
|
#define M_PI 3.14159265358979323846264338327
|
||||||
#endif
|
#endif
|
||||||
|
|
6
ladspa.h
6
ladspa.h
|
@ -107,6 +107,12 @@ typedef struct _LADSPA_Descriptor {
|
||||||
void (*deactivate)(LADSPA_Handle Instance);
|
void (*deactivate)(LADSPA_Handle Instance);
|
||||||
void (*cleanup)(LADSPA_Handle Instance);
|
void (*cleanup)(LADSPA_Handle Instance);
|
||||||
} LADSPA_Descriptor;
|
} LADSPA_Descriptor;
|
||||||
|
#ifdef WIN32
|
||||||
|
// weird clang bug workaround
|
||||||
|
#if (__clang__ != 1) || (_X86_ != 1)
|
||||||
|
__declspec(dllexport)
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
const LADSPA_Descriptor * ladspa_descriptor(unsigned long Index);
|
const LADSPA_Descriptor * ladspa_descriptor(unsigned long Index);
|
||||||
typedef const LADSPA_Descriptor *
|
typedef const LADSPA_Descriptor *
|
||||||
(*LADSPA_Descriptor_Function)(unsigned long Index);
|
(*LADSPA_Descriptor_Function)(unsigned long Index);
|
||||||
|
|
Loading…
Reference in a new issue