]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | // |
2 | // Copyright (c) Antony Polukhin, 2012-2015. | |
3 | // | |
4 | // | |
5 | // Distributed under the Boost Software License, Version 1.0. (See accompanying | |
6 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |
7 | // | |
8 | ||
9 | #ifndef BOOST_TYPE_INDEX_TESTS_TEST_LIB_ANONYMOUS_HPP | |
10 | #define BOOST_TYPE_INDEX_TESTS_TEST_LIB_ANONYMOUS_HPP | |
11 | ||
12 | // MS compatible compilers support #pragma once | |
13 | #if defined(_MSC_VER) | |
14 | # pragma once | |
15 | #endif | |
16 | ||
17 | #include <boost/type_index.hpp> | |
18 | ||
19 | // This is ALWAYS a dynamic library | |
20 | #if defined(TEST_LIB_SOURCE) | |
21 | # define TEST_LIB_DECL BOOST_SYMBOL_EXPORT | |
22 | # else | |
23 | # define TEST_LIB_DECL BOOST_SYMBOL_IMPORT | |
24 | # endif | |
25 | ||
26 | namespace test_lib { | |
27 | ||
28 | TEST_LIB_DECL boost::typeindex::type_index get_anonymous_user_defined_class(); | |
29 | TEST_LIB_DECL boost::typeindex::type_index get_const_anonymous_user_defined_class(); | |
30 | ||
31 | } | |
32 | ||
33 | #endif // BOOST_TYPE_INDEX_TESTS_TEST_LIB_ANONYMOUS_HPP | |
34 |