Sha256: 36061eb873432199e98dfcfff314e76f28606603fbdb825862f3ace407e6151d
Contents?: true
Size: 418 Bytes
Versions: 80
Compression:
Stored size: 418 Bytes
Contents
#ifdef WIN32 #define DLLEXPORT __declspec(dllexport) #else #define DLLEXPORT #endif #if defined(WIN32) || defined(__APPLE__) static int int_val; DLLEXPORT void set_int_val(int val) { int_val = val; } #else extern int int_val; #endif DLLEXPORT int get_val_in_dll() { return int_val; } #define S(suffix) DLLEXPORT int dllfunc_##suffix(int a, int b) { return a * b + suffix; } #include "suffix.list" #undef S
Version data entries
80 entries across 80 versions & 1 rubygems