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

Version Path
contrast-agent-6.9.0 funchook/test/libfunchook_test.c
contrast-agent-6.8.0 funchook/test/libfunchook_test.c
contrast-agent-6.7.0 funchook/test/libfunchook_test.c
contrast-agent-6.6.5 funchook/test/libfunchook_test.c
contrast-agent-6.6.4 funchook/test/libfunchook_test.c
contrast-agent-6.6.3 funchook/test/libfunchook_test.c
contrast-agent-6.6.2 funchook/test/libfunchook_test.c
contrast-agent-6.6.1 funchook/test/libfunchook_test.c
contrast-agent-6.6.0 funchook/test/libfunchook_test.c
contrast-agent-6.5.1 funchook/test/libfunchook_test.c
contrast-agent-6.5.0 funchook/test/libfunchook_test.c
contrast-agent-6.4.0 funchook/test/libfunchook_test.c
contrast-agent-6.3.0 funchook/test/libfunchook_test.c
contrast-agent-6.2.0 funchook/test/libfunchook_test.c
contrast-agent-6.1.2 funchook/test/libfunchook_test.c
contrast-agent-6.1.1 funchook/test/libfunchook_test.c
contrast-agent-6.1.0 funchook/test/libfunchook_test.c
contrast-agent-6.0.0 funchook/test/libfunchook_test.c
contrast-agent-5.3.0 funchook/test/libfunchook_test.c
contrast-agent-5.2.0 funchook/test/libfunchook_test.c