aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/libpyside/pysidemacros.h
blob: 46f64b4ed21ba9b2d58012786cfb53eee0601ece (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (C) 2020 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only

#ifndef PYSIDEMACROS_H
#define PYSIDEMACROS_H

#include <shibokenmacros.h>

#define PYSIDE_EXPORT LIBSHIBOKEN_EXPORT
#define PYSIDE_IMPORT LIBSHIBOKEN_IMPORT

#ifdef BUILD_LIBPYSIDE
#  define PYSIDE_API PYSIDE_EXPORT
#else
#  define PYSIDE_API PYSIDE_IMPORT
#endif

#endif // PYSIDEMACROS_H