dsapi_cdecl.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038 #ifndef ISODE_DSAPI_CDECL_H
00039 #define ISODE_DSAPI_CDECL_H
00040
00041 #ifdef __cplusplus
00042
00043 #define DSAPI_CDECL extern "C"
00044 #define DSAPI_CSPEC extern "C"
00045 #define DSAPI_CTYPE "C"
00046
00047 #else
00048
00049 #define DSAPI_CDECL extern
00050 #define DSAPI_CSPEC
00051 #define DSAPI_CTYPE
00052
00053 #endif
00054
00055 #ifdef _WIN32
00056
00057 # ifdef DSAPI
00058 # define LIBDSAPI_CDECL DSAPI_CSPEC __declspec(dllexport)
00059 # else
00060 # define LIBDSAPI_CDECL DSAPI_CSPEC __declspec(dllimport)
00061 # endif
00062
00063 #else
00064
00065 # define LIBDSAPI_CDECL extern DSAPI_CTYPE
00066
00067 #endif
00068
00069 #endif