2
0
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:
Jonathan Brandmeyer
2004-03-04 16:42:56 +00:00
parent 115f9f0644
commit 476cba228d
3 changed files with 20 additions and 10 deletions

View File

@@ -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)))