mirror of
https://github.com/boostorg/python.git
synced 2026-01-21 05:02:17 +00:00
Changes to support MSVC 6.0.
[SVN r22430]
This commit is contained in:
@@ -8,6 +8,12 @@
|
||||
|
||||
namespace boost { namespace python {
|
||||
|
||||
object
|
||||
slice::new_slice(PyObject* start, PyObject* stop, PyObject* step)
|
||||
{
|
||||
return object(detail::new_reference( PySlice_New(start, stop, step)));
|
||||
}
|
||||
|
||||
slice::slice()
|
||||
: object( boost::python::detail::new_reference(
|
||||
PySlice_New( NULL, NULL, NULL)))
|
||||
|
||||
Reference in New Issue
Block a user