mirror of
https://github.com/boostorg/python.git
synced 2026-01-24 18:12:43 +00:00
fixes
[SVN r12146]
This commit is contained in:
@@ -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>
|
||||
@@ -997,7 +999,7 @@ namespace {
|
||||
}
|
||||
}
|
||||
|
||||
void adjust_slice_indices(PyObject* obj, int& start, int& finish)
|
||||
BOOST_PYTHON_DECL void adjust_slice_indices(PyObject* obj, int& start, int& finish)
|
||||
{
|
||||
int length = callback<int>::call_method(obj, "__len__");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user