1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-18 08:31:13 +02:00

Don't duplicate defs of DLL_IMPORT, DLL_API, ModuleDispatchTypes

This commit is contained in:
Paul Licameli
2020-09-22 12:34:13 -04:00
parent dcd8bca896
commit fd94b66483
7 changed files with 39 additions and 58 deletions

View File

@@ -37,25 +37,7 @@ and replace the main project window with our own wxFrame.
*/
#ifdef _MSC_VER
#define DLL_API _declspec(dllexport)
#define DLL_IMPORT _declspec(dllimport)
#else
#define DLL_API __attribute__ ((visibility("default")))
#define DLL_IMPORT
#endif
typedef enum
{
ModuleInitialize,
ModuleTerminate,
AppInitialized,
AppQuiting,
ProjectInitialized,
ProjectClosing
} ModuleDispatchTypes;
#include "ModuleConstants.h"
extern void PipeServer();
typedef DLL_IMPORT int (*tpExecScriptServerFunc)( wxString * pIn, wxString * pOut);