mirror of
https://github.com/boostorg/python.git
synced 2026-01-26 06:42:27 +00:00
More converter centralization
[SVN r14487]
This commit is contained in:
10
src/list.cpp
10
src/list.cpp
@@ -7,11 +7,13 @@
|
||||
|
||||
namespace boost { namespace python {
|
||||
|
||||
BOOST_PYTHON_DECL detail::new_reference list::call(object const& arg)
|
||||
BOOST_PYTHON_DECL detail::new_non_null_reference list::call(object const& arg)
|
||||
{
|
||||
return (detail::new_reference)PyObject_CallFunction(
|
||||
(PyObject*)&PyList_Type, "(O)",
|
||||
arg.ptr());
|
||||
return (detail::new_non_null_reference)
|
||||
(expect_non_null)(
|
||||
PyObject_CallFunction(
|
||||
(PyObject*)&PyList_Type, "(O)",
|
||||
arg.ptr()));
|
||||
}
|
||||
|
||||
BOOST_PYTHON_DECL list::list()
|
||||
|
||||
Reference in New Issue
Block a user