mirror of
https://github.com/boostorg/python.git
synced 2026-01-30 08:02:38 +00:00
VC6 bug workarounds
[SVN r14722]
This commit is contained in:
@@ -24,11 +24,11 @@ namespace
|
||||
}
|
||||
}
|
||||
|
||||
BOOST_PYTHON_DECL detail::new_reference dict::call(object const& arg)
|
||||
BOOST_PYTHON_DECL detail::new_reference dict::call(object const& arg_)
|
||||
{
|
||||
return (detail::new_reference)PyObject_CallFunction(
|
||||
(PyObject*)&PyDict_Type, "(O)",
|
||||
arg.ptr());
|
||||
arg_.ptr());
|
||||
}
|
||||
|
||||
BOOST_PYTHON_DECL dict::dict()
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
|
||||
namespace boost { namespace python {
|
||||
|
||||
BOOST_PYTHON_DECL detail::new_non_null_reference list::call(object const& arg)
|
||||
BOOST_PYTHON_DECL detail::new_non_null_reference list::call(object const& arg_)
|
||||
{
|
||||
return (detail::new_non_null_reference)
|
||||
(expect_non_null)(
|
||||
PyObject_CallFunction(
|
||||
(PyObject*)&PyList_Type, "(O)",
|
||||
arg.ptr()));
|
||||
arg_.ptr()));
|
||||
}
|
||||
|
||||
BOOST_PYTHON_DECL list::list()
|
||||
|
||||
@@ -7,18 +7,18 @@
|
||||
|
||||
namespace boost { namespace python {
|
||||
|
||||
BOOST_PYTHON_DECL detail::new_non_null_reference long_::call(object const& arg)
|
||||
BOOST_PYTHON_DECL detail::new_non_null_reference long_::call(object const& arg_)
|
||||
{
|
||||
return (detail::new_non_null_reference)PyObject_CallFunction(
|
||||
(PyObject*)&PyLong_Type, "(O)",
|
||||
arg.ptr());
|
||||
arg_.ptr());
|
||||
}
|
||||
|
||||
BOOST_PYTHON_DECL detail::new_non_null_reference long_::call(object const& arg, object const& base)
|
||||
BOOST_PYTHON_DECL detail::new_non_null_reference long_::call(object const& arg_, object const& base)
|
||||
{
|
||||
return (detail::new_non_null_reference)PyObject_CallFunction(
|
||||
(PyObject*)&PyLong_Type, "(OO)",
|
||||
arg.ptr(), base.ptr());
|
||||
arg_.ptr(), base.ptr());
|
||||
}
|
||||
|
||||
BOOST_PYTHON_DECL long_::long_()
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
namespace boost { namespace python {
|
||||
|
||||
BOOST_PYTHON_DECL detail::new_reference str::call(object const& arg)
|
||||
BOOST_PYTHON_DECL detail::new_reference str::call(object const& arg_)
|
||||
{
|
||||
return (detail::new_reference)PyObject_CallFunction(
|
||||
(PyObject*)&PyString_Type, "(O)",
|
||||
arg.ptr());
|
||||
arg_.ptr());
|
||||
}
|
||||
|
||||
BOOST_PYTHON_DECL str::str(const char* s)
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
|
||||
namespace boost { namespace python {
|
||||
|
||||
BOOST_PYTHON_DECL detail::new_reference tuple::call(object const& arg)
|
||||
BOOST_PYTHON_DECL detail::new_reference tuple::call(object const& arg_)
|
||||
{
|
||||
return (detail::new_reference)PyObject_CallFunction(
|
||||
(PyObject*)&PyTuple_Type, "(O)",
|
||||
arg.ptr());
|
||||
arg_.ptr());
|
||||
}
|
||||
|
||||
BOOST_PYTHON_DECL tuple::tuple()
|
||||
|
||||
Reference in New Issue
Block a user