diff --git a/src/dict.cpp b/src/dict.cpp index c8829505..6cd72c27 100644 --- a/src/dict.cpp +++ b/src/dict.cpp @@ -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() diff --git a/src/list.cpp b/src/list.cpp index 484ae121..ee8bceb3 100644 --- a/src/list.cpp +++ b/src/list.cpp @@ -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() diff --git a/src/long.cpp b/src/long.cpp index 43d4526d..2cf98610 100644 --- a/src/long.cpp +++ b/src/long.cpp @@ -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_() diff --git a/src/str.cpp b/src/str.cpp index fc045d9f..12031548 100644 --- a/src/str.cpp +++ b/src/str.cpp @@ -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) diff --git a/src/tuple.cpp b/src/tuple.cpp index 92e0df92..d6a33a56 100644 --- a/src/tuple.cpp +++ b/src/tuple.cpp @@ -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()