2
0
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:
Dave Abrahams
2003-09-17 21:36:53 +00:00
parent db192e1e01
commit bec2de08fe
14 changed files with 292 additions and 308 deletions

View File

@@ -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