mirror of
https://github.com/boostorg/python.git
synced 2026-01-24 06:02:14 +00:00
Bug fix
[SVN r14803]
This commit is contained in:
@@ -20,7 +20,7 @@ struct BOOST_PYTHON_DECL argument_error : error_already_set {};
|
||||
|
||||
// Handles exceptions caught just before returning to Python code.
|
||||
// Returns true iff an exception was caught.
|
||||
BOOST_PYTHON_DECL bool handle_exception_impl(function0<void> const&);
|
||||
BOOST_PYTHON_DECL bool handle_exception_impl(function0<void>);
|
||||
|
||||
template <class T>
|
||||
bool handle_exception(T f)
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
namespace boost { namespace python {
|
||||
|
||||
// IMPORTANT: this function may only be called from within a catch block!
|
||||
BOOST_PYTHON_DECL bool handle_exception_impl(function0<void> const& f)
|
||||
BOOST_PYTHON_DECL bool handle_exception_impl(function0<void> f)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user