2016-04-08 04:45:23 +02:00
|
|
|
// Copyright Daniel Wallin 2006. Use, modification and distribution is
|
|
|
|
// subject to the Boost Software License, Version 1.0. (See accompanying
|
|
|
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
|
|
|
|
#ifndef BOOST_PYTHON_HPP
|
|
|
|
#define BOOST_PYTHON_HPP
|
|
|
|
|
2018-04-23 19:08:36 +02:00
|
|
|
#include <cstdio>
|
2016-04-08 04:45:23 +02:00
|
|
|
#include <libtorrent/aux_/disable_warnings_push.hpp>
|
|
|
|
#include <boost/python.hpp>
|
2017-08-14 00:49:49 +02:00
|
|
|
|
|
|
|
#include <boost/bind/placeholders.hpp>
|
|
|
|
|
|
|
|
// in boost 1.60, placeholders moved into a namespace, just like std
|
|
|
|
#if BOOST_VERSION >= 106000
|
|
|
|
using namespace boost::placeholders;
|
|
|
|
#endif
|
|
|
|
|
2017-05-21 14:25:33 +02:00
|
|
|
#include <boost/python/stl_iterator.hpp>
|
2017-08-14 00:49:49 +02:00
|
|
|
#include <boost/get_pointer.hpp>
|
|
|
|
|
2016-04-08 04:45:23 +02:00
|
|
|
#include <libtorrent/aux_/disable_warnings_pop.hpp>
|
|
|
|
|
2017-08-14 00:49:49 +02:00
|
|
|
#include <iostream>
|
|
|
|
|
2016-05-23 14:15:39 +02:00
|
|
|
// something in here creates a define for this, presumably to make older
|
|
|
|
// versions of msvc appear to support snprintf
|
|
|
|
#ifdef snprintf
|
|
|
|
#undef snprintf
|
|
|
|
#endif
|
|
|
|
|
2016-11-26 09:09:01 +01:00
|
|
|
#ifdef vsnprintf
|
|
|
|
#undef vsnprintf
|
|
|
|
#endif
|
|
|
|
|
2016-04-08 04:45:23 +02:00
|
|
|
#endif
|
|
|
|
|