| 1 | diff -ur boost_1_53_0/libs/mpi/src/python/py_environment.cpp boost_1_53_0.2/libs/mpi/src/python/py_environment.cpp
|
|---|
| 2 | --- boost_1_53_0/libs/mpi/src/python/py_environment.cpp 2007-11-25 12:38:02.000000000 -0600
|
|---|
| 3 | +++ boost_1_53_0.2/libs/mpi/src/python/py_environment.cpp 2013-04-04 10:16:05.000000000 -0500
|
|---|
| 4 | @@ -31,7 +31,7 @@
|
|---|
| 5 | */
|
|---|
| 6 | static environment* env;
|
|---|
| 7 |
|
|---|
| 8 | -bool mpi_init(list python_argv, bool abort_on_exception)
|
|---|
| 9 | +bool mpi_init(boost::python::list python_argv, bool abort_on_exception)
|
|---|
| 10 | {
|
|---|
| 11 | // If MPI is already initialized, do nothing.
|
|---|
| 12 | if (environment::initialized())
|
|---|
| 13 | @@ -79,7 +79,7 @@
|
|---|
| 14 | if (!environment::initialized()) {
|
|---|
| 15 | // MPI_Init from sys.argv
|
|---|
| 16 | object sys = object(handle<>(PyImport_ImportModule("sys")));
|
|---|
| 17 | - mpi_init(extract<list>(sys.attr("argv")), true);
|
|---|
| 18 | + mpi_init(extract<boost::python::list>(sys.attr("argv")), true);
|
|---|
| 19 |
|
|---|
| 20 | // Setup MPI_Finalize call when the program exits
|
|---|
| 21 | object atexit = object(handle<>(PyImport_ImportModule("atexit")));
|
|---|