mirror of
https://github.com/boostorg/python.git
synced 2026-01-20 16:52:15 +00:00
Use make_function uniformly to build callable objects.
Fix wstring support so it doesn't break gcc2.95.x, which has no wstring. Modify CallPolicies protocol so it can safely adjust the argument tuple. [SVN r20090]
This commit is contained in:
@@ -31,9 +31,10 @@ BOOST_PYTHON_DECL object const& identity_function()
|
||||
return result;
|
||||
}
|
||||
|
||||
void set_stop_iteration_error()
|
||||
void stop_iteration_error()
|
||||
{
|
||||
PyErr_SetObject(PyExc_StopIteration, Py_None);
|
||||
throw_error_already_set();
|
||||
}
|
||||
|
||||
}}} // namespace boost::python::objects
|
||||
|
||||
Reference in New Issue
Block a user