libqi-api  release-2.5.3-2016-11-18
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
api.hpp
Go to the documentation of this file.
1 #pragma once
2 /*
3  * Copyright (c) 2012 Aldebaran Robotics. All rights reserved.
4  * Use of this source code is governed by a BSD-style license that can be
5  * found in the COPYING file.
6  */
7 
13 #ifndef _QI_API_HPP_
14 # define _QI_API_HPP_
15 
16 # include <qi/macro.hpp>
17 # include <qi/config.hpp>
18 
33 # define QI_API QI_LIB_API(qi)
34 
35 # define QI_API_LEVEL 2
36 
37 /* dynamic_casting template partial specializations
38  * between shared objects poses problems with
39  * clang under macos.
40  * This macro is a workaround that seems to work
41  * for now.
42  */
43 #ifdef __clang__
44 # define QITYPE_TEMPLATE_API QI_API
45 #else
46 # define QITYPE_TEMPLATE_API
47 #endif
48 
49 
50 
51 #endif // _QI_API_HPP_
Various macros for qi. (deprecated, export API, disallow copy, ..) <includename>qi/macro.hpp</includename> .