mirror of
https://github.com/boostorg/python.git
synced 2026-01-23 05:42:30 +00:00
Compare commits
5 Commits
svn-branch
...
svn-branch
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b5ced485e1 | ||
|
|
03a72363a4 | ||
|
|
38cc1a0c15 | ||
|
|
ff44521920 | ||
|
|
0ac7e3f858 |
@@ -32,7 +32,7 @@ struct implicit
|
||||
|
||||
arg_from_python<Source> get_source(obj);
|
||||
bool convertible = get_source.convertible();
|
||||
BOOST_ASSERT(convertible);
|
||||
BOOST_VERIFY(convertible);
|
||||
|
||||
new (storage) Target(get_source());
|
||||
|
||||
|
||||
@@ -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