We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5d9074 commit aef987dCopy full SHA for aef987d
include/boost/python/errors.hpp
@@ -35,12 +35,12 @@ inline void handle_exception()
35
handle_exception(detail::rethrow);
36
}
37
38
-BOOST_PYTHON_DECL PyObject* expect_non_null(PyObject* x);
+BOOST_PYTHON_DECL PyObject* expect_non_null_impl(PyObject* x);
39
40
template <class T>
41
-T* expect_non_null(T* x)
+inline T* expect_non_null(T* x)
42
{
43
- return (T*)expect_non_null((PyObject*)x);
+ return (T*)expect_non_null_impl((PyObject*)x);
44
45
46
BOOST_PYTHON_DECL void throw_argument_error();
0 commit comments