#define DLLExport extern "C" __declspec(dllexport) DLLExport void* c_smth (const int num) { return 0; }