mirror of
https://github.com/stargieg/bacnet-stack
synced 2025-10-26 23:35:52 +08:00
27 lines
440 B
C
27 lines
440 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 /* __cplusplus */
|
|
|
|
void DLL_EXPORT SomeFunction(
|
|
const LPCSTR sometext);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif /* __cplusplus */
|
|
#endif
|