#pragma once #if defined(_WIN32) #if defined(MODERNGLUE_EXPORTS) #define GLUE_API __declspec(dllexport) #else #define GLUE_API __declspec(dllimport) #endif #else #define GLUE_API #endif #ifdef __cplusplus extern "C" { #endif GLUE_API int mg_random_int(const int &min, const int &max); #ifdef __cplusplus } #endif