27 lines
387 B
C
27 lines
387 B
C
#ifndef __MAIN_H__
|
|
#define __MAIN_H__
|
|
|
|
#include <windows.h>
|
|
|
|
/* To use this exported function of dll, include this header
|
|
* in your project.
|
|
*/
|
|
|
|
#ifdef BUILD_DLL
|
|
#define DLL_EXPORT __declspec(dllexport)
|
|
#else
|
|
#define DLL_EXPORT __declspec(dllimport)
|
|
#endif
|
|
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // __MAIN_H__
|