2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-22 17:32:55 +00:00

Merge from trunk.

[SVN r42243]
This commit is contained in:
Daniel James
2007-12-22 15:36:31 +00:00
parent cb1b967c39
commit 2b1967c72d

View File

@@ -565,11 +565,7 @@ BOOST_PYTHON_DECL void add_to_namespace(
}
namespace detail
/* Cannot be anonymous namespace:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34094
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34229
*/
namespace
{
struct bind_return
{
@@ -614,8 +610,7 @@ extern "C"
function_call(PyObject *func, PyObject *args, PyObject *kw)
{
PyObject* result = 0;
handle_exception(
detail::bind_return(result, static_cast<function*>(func), args, kw));
handle_exception(bind_return(result, static_cast<function*>(func), args, kw));
return result;
}