plastimatch
Loading...
Searching...
No Matches
plmutil_config.h
Go to the documentation of this file.
1/* -----------------------------------------------------------------------
2 See COPYRIGHT.TXT and LICENSE.TXT for copyright and license information
3 ----------------------------------------------------------------------- */
4#ifndef __plmutil_config_h__
5#define __plmutil_config_h__
6
7#include "plm_config.h"
8
9#if ((defined(_WIN32) || defined(WIN32)) && (defined (PLM_BUILD_SHARED_LIBS)))
10# ifdef plmutil_EXPORTS
11# define PLMUTIL_C_API EXTERNC __declspec(dllexport)
12# define PLMUTIL_API __declspec(dllexport)
13# else
14# define PLMUTIL_C_API EXTERNC __declspec(dllimport)
15# define PLMUTIL_API __declspec(dllimport)
16# endif
17# ifdef plmutilcuda_EXPORTS
18# define PLMUTILCUDA_C_API EXTERNC __declspec(dllexport)
19# define PLMUTILCUDA_API __declspec(dllexport)
20# else
21# define PLMUTILCUDA_C_API EXTERNC __declspec(dllimport)
22# define PLMUTILCUDA_API __declspec(dllimport)
23# endif
24#else
25# define PLMUTIL_C_API EXTERNC
26# define PLMUTIL_API
27# define PLMUTILCUDA_C_API EXTERNC
28# define PLMUTILCUDA_API
29#endif
30#ifdef SWIG
31#define PLMUTIL_API
32#endif
33
34#endif