2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-22 05:22:45 +00:00

* Updated to new handle_exception() idiom for boost::python

* Made Cygwin archiving reliable, even when the user supplies a path with backslashes

----------------------------------------------------------------------

Modified Files:
	tools/build/gcc-tools.jam tools/build/new/boost-build.jam
	boost/python/detail/config.hpp libs/python/build/Jamfile
	libs/python/example/do_it_yourself_convts.cpp
	libs/python/example/dvect.cpp libs/python/example/example1.cpp
	libs/python/example/getting_started1.cpp
	libs/python/example/getting_started2.cpp
	libs/python/example/ivect.cpp libs/python/example/nested.cpp
	libs/python/example/noncopyable_export.cpp
	libs/python/example/noncopyable_import.cpp
	libs/python/example/pickle1.cpp
	libs/python/example/pickle2.cpp
	libs/python/example/pickle3.cpp
	libs/python/example/richcmp1.cpp
	libs/python/example/richcmp2.cpp
	libs/python/example/richcmp3.cpp libs/python/example/rwgk1.cpp
	libs/python/example/simple_vector.cpp
	libs/python/test/comprehensive.cpp
Added Files:
	libs/python/example/rwgk2.cpp libs/python/example/rwgk3.cpp
----------------------------------------------------------------------


[SVN r11705]
This commit is contained in:
Dave Abrahams
2001-11-15 05:29:22 +00:00
parent e6efa6e13e
commit 0dbb780a2f
22 changed files with 171 additions and 144 deletions

View File

@@ -1128,7 +1128,7 @@ PyObject* raw(const boost::python::tuple& args, const boost::python::dictionary&
return BOOST_PYTHON_CONVERSION::to_python(first->i_ + second + third + fourth);
}
void init_module()
BOOST_PYTHON_MODULE_INIT(boost_python_test)
{
boost::python::module_builder boost_python_test("boost_python_test");
init_module(boost_python_test);
@@ -1137,11 +1137,6 @@ void init_module()
boost_python_test.add(new boost::python::meta_class<boost::python::instance>);
}
BOOST_PYTHON_MODULE_INIT(boost_python_test)
{
boost::python::handle_exception((void (*)())bpl_test::init_module);
}
CompareIntPairPythonClass::CompareIntPairPythonClass(boost::python::module_builder& m)
: boost::python::class_builder<CompareIntPair>(m, "CompareIntPair")
{