Skip to content

Commit f59ed99

Browse files
committed
VC6 bug workarounds
[SVN r14722]
1 parent 2bdf958 commit f59ed99

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

src/dict.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ namespace
2424
}
2525
}
2626

27-
BOOST_PYTHON_DECL detail::new_reference dict::call(object const& arg)
27+
BOOST_PYTHON_DECL detail::new_reference dict::call(object const& arg_)
2828
{
2929
return (detail::new_reference)PyObject_CallFunction(
3030
(PyObject*)&PyDict_Type, "(O)",
31-
arg.ptr());
31+
arg_.ptr());
3232
}
3333

3434
BOOST_PYTHON_DECL dict::dict()

src/list.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77

88
namespace boost { namespace python {
99

10-
BOOST_PYTHON_DECL detail::new_non_null_reference list::call(object const& arg)
10+
BOOST_PYTHON_DECL detail::new_non_null_reference list::call(object const& arg_)
1111
{
1212
return (detail::new_non_null_reference)
1313
(expect_non_null)(
1414
PyObject_CallFunction(
1515
(PyObject*)&PyList_Type, "(O)",
16-
arg.ptr()));
16+
arg_.ptr()));
1717
}
1818

1919
BOOST_PYTHON_DECL list::list()

src/long.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@
77

88
namespace boost { namespace python {
99

10-
BOOST_PYTHON_DECL detail::new_non_null_reference long_::call(object const& arg)
10+
BOOST_PYTHON_DECL detail::new_non_null_reference long_::call(object const& arg_)
1111
{
1212
return (detail::new_non_null_reference)PyObject_CallFunction(
1313
(PyObject*)&PyLong_Type, "(O)",
14-
arg.ptr());
14+
arg_.ptr());
1515
}
1616

17-
BOOST_PYTHON_DECL detail::new_non_null_reference long_::call(object const& arg, object const& base)
17+
BOOST_PYTHON_DECL detail::new_non_null_reference long_::call(object const& arg_, object const& base)
1818
{
1919
return (detail::new_non_null_reference)PyObject_CallFunction(
2020
(PyObject*)&PyLong_Type, "(OO)",
21-
arg.ptr(), base.ptr());
21+
arg_.ptr(), base.ptr());
2222
}
2323

2424
BOOST_PYTHON_DECL long_::long_()

src/str.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33

44
namespace boost { namespace python {
55

6-
BOOST_PYTHON_DECL detail::new_reference str::call(object const& arg)
6+
BOOST_PYTHON_DECL detail::new_reference str::call(object const& arg_)
77
{
88
return (detail::new_reference)PyObject_CallFunction(
99
(PyObject*)&PyString_Type, "(O)",
10-
arg.ptr());
10+
arg_.ptr());
1111
}
1212

1313
BOOST_PYTHON_DECL str::str(const char* s)

src/tuple.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
namespace boost { namespace python {
44

5-
BOOST_PYTHON_DECL detail::new_reference tuple::call(object const& arg)
5+
BOOST_PYTHON_DECL detail::new_reference tuple::call(object const& arg_)
66
{
77
return (detail::new_reference)PyObject_CallFunction(
88
(PyObject*)&PyTuple_Type, "(O)",
9-
arg.ptr());
9+
arg_.ptr());
1010
}
1111

1212
BOOST_PYTHON_DECL tuple::tuple()

0 commit comments

Comments
 (0)