Use pragma aux to export valid names from DLL in Watcom

This commit is contained in:
z3APA3A committed 2016-12-12 19:49:58 +03:00
1 parent a9fb0ea969
commit 945c30c5ee
13 files changed
+88 -41

No files matched your search

+15 -3
View File
@@ -162,7 +162,21 @@ typedef void (*TRAFCOUNTFUNC)(struct clientparam * param);
typedef void * (*EXTENDFUNC) (struct node *node);
typedef void (*CBFUNC)(void *cb, char * buf, int inbuf);
typedef void (*PRINTFUNC) (struct node *node, CBFUNC cbf, void*cb);
typedef int (*PLUGINFUNC) (struct pluginlink *pluginlink, int argc, char** argv);
#ifdef WIN32
#define PLUGINAPI __declspec(dllexport)
typedef int (__cdecl *PLUGINFUNC) (struct pluginlink *pluginlink, int argc, char** argv);
#define PLUGINCALL __cdecl
#else
#define PLUGINCALL
#define PLUGINAPI
typedef int (*PLUGINFUNC)(struct pluginlink *pluginlink, int argc, char** argv);
#endif
struct auth {
struct auth *next;
@@ -752,8 +766,6 @@ typedef enum {
TYPE_SERVER
}DATA_TYPE;
#ifdef __cplusplus
}
#endif