aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/pysidetest/pysidetest_macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/pysidetest/pysidetest_macros.h')
-rw-r--r--sources/pyside6/tests/pysidetest/pysidetest_macros.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/sources/pyside6/tests/pysidetest/pysidetest_macros.h b/sources/pyside6/tests/pysidetest/pysidetest_macros.h
new file mode 100644
index 000000000..29bd0dc39
--- /dev/null
+++ b/sources/pyside6/tests/pysidetest/pysidetest_macros.h
@@ -0,0 +1,18 @@
+// Copyright (C) 2020 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
+
+#ifndef PYSIDETEST_MACROS_H
+#define PYSIDETEST_MACROS_H
+
+#include <pysidemacros.h>
+
+#define PYSIDETEST_EXPORT PYSIDE_EXPORT
+#define PYSIDETEST_IMPORT PYSIDE_IMPORT
+
+#ifdef BUILD_PYSIDETEST
+# define PYSIDETEST_API PYSIDETEST_EXPORT
+#else
+# define PYSIDETEST_API PYSIDETEST_IMPORT
+#endif
+
+#endif // PYSIDETEST_MACROS_H