Loading...
Searching...
No Matches
api.hpp
1/*---------------------------------------------------------------------------*\
2 *
3 * bitpit
4 *
5 * Copyright (C) 2015-2024 OPTIMAD engineering Srl
6 *
7 * -------------------------------------------------------------------------
8 * License
9 * This file is part of bitpit.
10 *
11 * bitpit is free software: you can redistribute it and/or modify it
12 * under the terms of the GNU Lesser General Public License v3 (LGPL)
13 * as published by the Free Software Foundation.
14 *
15 * bitpit is distributed in the hope that it will be useful, but WITHOUT
16 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
17 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
18 * License for more details.
19 *
20 * You should have received a copy of the GNU Lesser General Public License
21 * along with bitpit. If not, see <http://www.gnu.org/licenses/>.
22 *
23 \*---------------------------------------------------------------------------*/
24
25#ifndef __BITPIT_PUBLIC_API_HPP__
26#define __BITPIT_PUBLIC_API_HPP__
27
28/* API keyword definition for lib import/export */
29#if defined(_MSC_VER)
30# if defined(BITPIT_SHARED_COMPILATION)
31# define BITPIT_PUBLIC_API __declspec(dllexport)
32# else
33# define BITPIT_PUBLIC_API __declspec(dllimport)
34# endif
35#else
36# define BITPIT_PUBLIC_API
37#endif
38
39#endif
--- layout: doxygen_footer ---