mirror of
https://github.com/boostorg/python.git
synced 2026-01-28 19:32:14 +00:00
work around OSF linker problem
[SVN r13768]
This commit is contained in:
@@ -35,12 +35,12 @@ inline void handle_exception()
|
||||
handle_exception(detail::rethrow);
|
||||
}
|
||||
|
||||
BOOST_PYTHON_DECL PyObject* expect_non_null(PyObject* x);
|
||||
BOOST_PYTHON_DECL PyObject* expect_non_null_impl(PyObject* x);
|
||||
|
||||
template <class T>
|
||||
T* expect_non_null(T* x)
|
||||
inline T* expect_non_null(T* x)
|
||||
{
|
||||
return (T*)expect_non_null((PyObject*)x);
|
||||
return (T*)expect_non_null_impl((PyObject*)x);
|
||||
}
|
||||
|
||||
BOOST_PYTHON_DECL void throw_argument_error();
|
||||
|
||||
Reference in New Issue
Block a user