YARP
Yet Another Robot Platform
api.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2006-2021 Istituto Italiano di Tecnologia (IIT)
3  * Copyright (C) 2006-2010 RobotCub Consortium
4  * All rights reserved.
5  *
6  * This software may be modified and distributed under the terms of the
7  * BSD-3-Clause license. See the accompanying LICENSE file for details.
8  */
9 
10 #ifndef YARP_DEV_API_H
11 #define YARP_DEV_API_H
12 
13 #include <yarp/conf/api.h>
14 #ifndef YARP_dev_API
15 # ifdef YARP_dev_EXPORTS
16 # define YARP_dev_API YARP_EXPORT
17 # define YARP_dev_EXTERN YARP_EXPORT_EXTERN
18 # define YARP_dev_DEPRECATED_API YARP_DEPRECATED_EXPORT
19 # define YARP_dev_DEPRECATED_API_MSG(X) YARP_DEPRECATED_MSG_EXPORT(X)
20 # else
21 # define YARP_dev_API YARP_IMPORT
22 # define YARP_dev_EXTERN YARP_IMPORT_EXTERN
23 # define YARP_dev_DEPRECATED_API YARP_DEPRECATED_IMPORT
24 # define YARP_dev_DEPRECATED_API_MSG(X) YARP_DEPRECATED_MSG_IMPORT(X)
25 # endif
26 #endif
27 
28 #endif // YARP_DEV_API_H