2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-23 05:42:30 +00:00
[SVN r41986]
This commit is contained in:
Ralf W. Grosse-Kunstleve
2007-12-12 05:39:45 +00:00
parent 38cc1a0c15
commit 03a72363a4

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;
}