Go to the documentation of this file.
10#define HWY_DLLEXPORT_H
12#if !defined(HWY_SHARED_DEFINE)
14#define HWY_CONTRIB_DLLEXPORT
15#define HWY_TEST_DLLEXPORT
19#if defined(hwy_EXPORTS)
22#define HWY_DLLEXPORT __declspec(dllexport)
24#define HWY_DLLEXPORT __attribute__((visibility("default")))
29#define HWY_DLLEXPORT __declspec(dllimport)
31#define HWY_DLLEXPORT __attribute__((visibility("default")))
36#ifndef HWY_CONTRIB_DLLEXPORT
37#if defined(hwy_contrib_EXPORTS)
40#define HWY_CONTRIB_DLLEXPORT __declspec(dllexport)
42#define HWY_CONTRIB_DLLEXPORT __attribute__((visibility("default")))
47#define HWY_CONTRIB_DLLEXPORT __declspec(dllimport)
49#define HWY_CONTRIB_DLLEXPORT __attribute__((visibility("default")))
54#ifndef HWY_TEST_DLLEXPORT
55#if defined(hwy_test_EXPORTS)
58#define HWY_TEST_DLLEXPORT __declspec(dllexport)
60#define HWY_TEST_DLLEXPORT __attribute__((visibility("default")))
65#define HWY_TEST_DLLEXPORT __declspec(dllimport)
67#define HWY_TEST_DLLEXPORT __attribute__((visibility("default")))