libqi-api  2.4.3.28
 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 
34 # define QI_API QI_LIB_API(qi)
35 
36 # define QI_API_LEVEL 2
37 
38 /* dynamic_casting template partial specializations
39  * between shared objects poses problems with
40  * clang under macos.
41  * This macro is a workaround that seems to work
42  * for now.
43  */
44 #ifdef __clang__
45 # define QITYPE_TEMPLATE_API QI_API
46 #else
47 # define QITYPE_TEMPLATE_API
48 #endif
49 
50 
51 
52 #endif // _QI_API_HPP_
Various macros for qi. (deprecated, export API, disallow copy, ..) <includename>qi/macro.hpp</includename> .