2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-19 16:32:16 +00:00
[SVN r10584]
This commit is contained in:
Dave Abrahams
2001-07-10 17:57:06 +00:00
parent 819db1524f
commit 26aa8b69f9

View File

@@ -85,7 +85,7 @@ code before the last Python reference to it disappears:
BOOST_PYTHON_BEGIN_CONVERSION_NAMESPACE // this is a gcc 2.95.2 bug workaround
PyObject* to_python(Foo* p)
{
return boost::python::python_extension_class_converters<Foo>::ptr_to_python(p);
return boost::python::python_extension_class_converters<Foo>::smart_ptr_to_python(p);
}
PyObject* to_python(const Foo* p)