LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
convert_from_torch_export.h
Go to the documentation of this file.
1// Copyright 2002-2019 CEA LIST
2// SPDX-FileCopyrightText: 2022 CEA LIST <gael.de-chalendar@cea.fr>
3//
4// SPDX-License-Identifier: MIT
5
6
7#ifndef DEEPLIMA_CONVERTFROMTORCHEXPORT_H
8#define DEEPLIMA_CONVERTFROMTORCHEXPORT_H
9
10#ifdef WIN32
11#ifdef DEEPLIMA_CONVERTFROMTORCH_EXPORTING
12 #define DEEPLIMA_CONVERTFROMTORCH_EXPORT __declspec(dllexport)
13#elif defined(DEEPLIMA_CONVERTFROMTORCH_SHARED) // users of the DLL
14 #define DEEPLIMA_CONVERTFROMTORCH_EXPORT __declspec(dllimport)
15#else // static linking
16 #define DEEPLIMA_CONVERTFROMTORCH_EXPORT
17#endif
18#else // Not WIN32
19#define DEEPLIMA_CONVERTFROMTORCH_EXPORT
20#endif
21#endif