2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-24 18:12:43 +00:00
[SVN r12146]
This commit is contained in:
Dave Abrahams
2001-12-24 19:27:39 +00:00
parent c494649dde
commit 1f78c74085
73 changed files with 5947 additions and 581 deletions

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>
@@ -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__");