mirror of
https://github.com/JDM170/model_coder
synced 2025-12-10 05:57:19 +07:00
31 lines
521 B
C++
31 lines
521 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
|
|
|
|
//#include <string>
|
|
void DLL_EXPORT SomeFunction(const LPCSTR sometext);
|
|
//std::string DLL_EXPORT Base64Encode(unsigned char const* buf, unsigned int bufLen);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // __MAIN_H__
|