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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user