mirror of
https://github.com/boostorg/python.git
synced 2026-01-27 07:02:15 +00:00
includes moved to satisfy the "Python.h first" requirement
[SVN r27386]
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
// Software License, Version 1.0. (See accompanying
|
||||
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#include <boost/python/class.hpp>
|
||||
#include <boost/python/module.hpp>
|
||||
#include <boost/python/def.hpp>
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
|
||||
@@ -23,10 +26,6 @@ namespace { // Avoid cluttering the global namespace.
|
||||
}
|
||||
}
|
||||
|
||||
#include <boost/python/class.hpp>
|
||||
#include <boost/python/module.hpp>
|
||||
#include <boost/python/def.hpp>
|
||||
|
||||
BOOST_PYTHON_MODULE(getting_started2)
|
||||
{
|
||||
using namespace boost::python;
|
||||
|
||||
Reference in New Issue
Block a user