YARP
Yet Another Robot Platform
api.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2006-2020 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_os_API_H
11
#define YARP_os_API_H
12
13
#include <
yarp/conf/api.h
>
14
#ifndef YARP_os_API
15
# ifdef YARP_os_EXPORTS
16
# define YARP_os_API YARP_EXPORT
17
# define YARP_os_EXTERN YARP_EXPORT_EXTERN
18
# else
19
# define YARP_os_API YARP_IMPORT
20
# define YARP_os_EXTERN YARP_IMPORT_EXTERN
21
# endif
22
# define YARP_os_DEPRECATED_API YARP_DEPRECATED_API
23
# define YARP_os_DEPRECATED_API_MSG(X) YARP_DEPRECATED_API_MSG(X)
24
#endif
25
26
#ifndef YARP_init_API
27
# ifdef YARP_init_EXPORTS
28
# define YARP_init_API YARP_EXPORT
29
# define YARP_init_EXTERN YARP_EXPORT_EXTERN
30
# else
31
# define YARP_init_API YARP_IMPORT
32
# define YARP_init_EXTERN YARP_IMPORT_EXTERN
33
# endif
34
# define YARP_init_DEPRECATED_API YARP_DEPRECATED_API
35
# define YARP_init_DEPRECATED_API_MSG(X) YARP_DEPRECATED_API_MSG(X)
36
#endif
37
38
#ifndef YARP_os_impl_API
39
// FIXME YARP should not export symbols from os/impl.
40
// Unfortunately at the moment, methods from impl are used in other
41
// internal libraries, forcing us to export them in the library
42
# ifdef YARP_FILTER_impl
43
# define YARP_os_impl_API
44
# else
45
# define YARP_os_impl_API YARP_os_API
46
# endif
47
#endif
48
49
#ifndef YARP_NO_DEPRECATED // since YARP 3.3
50
# if defined(USING_DEPRECATED_UPPERCASE_YARP_OS_TARGET)
51
# include <
yarp/conf/system.h
>
52
YARP_COMPILER_WARNING
(
"The YARP::YARP_OS target is deprecated. Use YARP::YARP_os instead"
)
53
# endif
54
#endif // YARP_NO_DEPRECATED
55
56
#endif // YARP_os_API_H
system.h
YARP_COMPILER_WARNING
#define YARP_COMPILER_WARNING(x)
Generate a warning at build time on supported compilers.
Definition:
system.h:112
api.h
YARP
3.4.100+20201223.2+gitb8ea4d712
src
libYARP_os
src
yarp
os
api.h
Generated on Sun Jan 3 2021 02:46:21 for YARP by
1.8.20