2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-26 18:52:26 +00:00

Integrating Andreas Zieringer's shared lib changes

Modified Files:
	build/Jamfile build/win32_mwcc_setup.bat src/classes.cpp
	src/conversions.cpp src/cross_module.cpp
	src/extension_class.cpp src/functions.cpp
	src/init_function.cpp src/module_builder.cpp src/objects.cpp
	src/types.cpp


[SVN r12084]
This commit is contained in:
Dave Abrahams
2001-12-17 17:00:53 +00:00
parent 1a13387012
commit d4b215a66b
10 changed files with 25 additions and 1 deletions

View File

@@ -84,7 +84,13 @@ lib libboost_python : ../src/$(CPP_SOURCES).cpp
<shared-linkable>true
$(PYTHON_PROPERTIES) ;
dll libboost_python$(SUFDLL[1]) : ../src/$(CPP_SOURCES).cpp
# requirements
: $(BOOST_PYTHON_INCLUDES)
<shared-linkable>true
<define>BOOST_RE_BUILD_DLL=1
$(PYTHON_PROPERTIES) ;
############# comprehensive module and test ###########
bpl-test boost_python_test
: ../test/comprehensive.cpp ;

View File

@@ -11,6 +11,8 @@
// 03 Mar 01 added: pickle safety measures (Ralf W. Grosse-Kunstleve)
// 03 Mar 01 bug fix: use bound_function::create() (instead of new bound_function)
#define BOOST_PYTHON_SOURCE
#include <boost/python/classes.hpp>
#include <boost/python/detail/functions.hpp>
#include <boost/python/detail/singleton.hpp>

View File

@@ -13,6 +13,8 @@
// 04 Mar 01 std::complex<> fixes for MSVC (Dave Abrahams)
// 03 Mar 01 added: converters for [plain] char (Ralf W. Grosse-Kunstleve)
#define BOOST_PYTHON_SOURCE
#include <boost/python/conversions.hpp>
#include <boost/python/detail/void_adaptor.hpp>
#include <typeinfo>

View File

@@ -8,6 +8,8 @@
17 Apr 01 merged into boost CVS trunk (Ralf W. Grosse-Kunstleve)
*/
#define BOOST_PYTHON_SOURCE
# include <boost/python/cross_module.hpp>
namespace python = boost::python;
# include <stdio.h> // MSVC6.0SP4 does not know std::fprintf

View File

@@ -9,6 +9,8 @@
// Revision History:
// 04 Mar 01 Use PyObject_INIT() instead of trying to hand-initialize (David Abrahams)
#define BOOST_PYTHON_SOURCE
#include <boost/python/detail/extension_class.hpp>
#include <boost/utility.hpp>
#include <boost/bind.hpp>

View File

@@ -9,6 +9,8 @@
// Revision History:
// Mar 01 01 Use PyObject_INIT() instead of trying to hand-initialize (David Abrahams)
#define BOOST_PYTHON_SOURCE
#include <boost/python/detail/functions.hpp>
#include <boost/python/detail/types.hpp>
#include <boost/python/detail/singleton.hpp>

View File

@@ -6,6 +6,8 @@
// The author gratefully acknowleges the support of Dragon Systems, Inc., in
// producing this work.
#define BOOST_PYTHON_SOURCE
#include <boost/python/detail/init_function.hpp>
#include <boost/python/objects.hpp>
#include <boost/python/detail/extension_class.hpp>

View File

@@ -6,6 +6,8 @@
// The author gratefully acknowleges the support of Dragon Systems, Inc., in
// producing this work.
#define BOOST_PYTHON_SOURCE
#include <boost/python/module_builder.hpp>
namespace boost { namespace python {

View File

@@ -8,6 +8,8 @@
// TODO: Move inline implementations from objects.cpp here
#define BOOST_PYTHON_SOURCE
#include <boost/python/objects.hpp>
#include <boost/python/detail/none.hpp>

View File

@@ -6,6 +6,8 @@
// The author gratefully acknowleges the support of Dragon Systems, Inc., in
// producing this work.
#define BOOST_PYTHON_SOURCE
#include <boost/python/detail/types.hpp>
#include <boost/python/reference.hpp> // for handle_exception()
#include <boost/python/conversions.hpp>