mirror of
https://github.com/boostorg/contract.git
synced 2026-02-27 04:52:22 +00:00
28 lines
720 B
C++
28 lines
720 B
C++
|
|
#ifndef BOOST_CONTRACT_TEST_LIB_X_HPP_
|
|
#define BOOST_CONTRACT_TEST_LIB_X_HPP_
|
|
|
|
// Test contracts in .cpp so never has post (because NO_POST in its Jamfile).
|
|
|
|
#include "../detail/oteststream.hpp"
|
|
#include <boost/config.hpp>
|
|
#include <string>
|
|
|
|
#ifdef BOOST_CONTRACT_TEST_LIB_X_DYN_LINK
|
|
#ifdef BOOST_CONTRACT_TEST_LIB_X_SOURCE
|
|
#define BOOST_CONTRACT_TEST_LIB_X_DECLSPEC BOOST_SYMBOL_EXPORT
|
|
#else
|
|
#define BOOST_CONTRACT_TEST_LIB_X_DECLSPEC BOOST_SYMBOL_IMPORT
|
|
#endif
|
|
#else
|
|
#define BOOST_CONTRACT_TEST_LIB_X_DECLSPEC /* nothing */
|
|
#endif
|
|
|
|
BOOST_CONTRACT_TEST_DETAIL_OTESTSTREAM_STR_DECL(
|
|
BOOST_CONTRACT_TEST_LIB_X_DECLSPEC, out)
|
|
|
|
void BOOST_CONTRACT_TEST_LIB_X_DECLSPEC x();
|
|
|
|
#endif
|
|
|