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-7.6.1 funchook/test/libfunchook_test.c
contrast-agent-7.6.0 funchook/test/libfunchook_test.c
contrast-agent-7.5.0 funchook/test/libfunchook_test.c
contrast-agent-7.4.1 funchook/test/libfunchook_test.c
contrast-agent-7.4.0 funchook/test/libfunchook_test.c
contrast-agent-7.3.2 funchook/test/libfunchook_test.c
contrast-agent-7.3.1 funchook/test/libfunchook_test.c
contrast-agent-7.3.0 funchook/test/libfunchook_test.c
contrast-agent-7.2.0 funchook/test/libfunchook_test.c
contrast-agent-7.1.0 funchook/test/libfunchook_test.c
contrast-agent-7.0.0 funchook/test/libfunchook_test.c
contrast-agent-6.15.3 funchook/test/libfunchook_test.c
contrast-agent-6.15.2 funchook/test/libfunchook_test.c
contrast-agent-6.15.1 funchook/test/libfunchook_test.c
contrast-agent-6.15.0 funchook/test/libfunchook_test.c
contrast-agent-6.14.0 funchook/test/libfunchook_test.c
contrast-agent-6.13.0 funchook/test/libfunchook_test.c
contrast-agent-6.12.0 funchook/test/libfunchook_test.c
contrast-agent-6.11.0 funchook/test/libfunchook_test.c
contrast-agent-6.10.0 funchook/test/libfunchook_test.c