2
0
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:
Dave Abrahams
2002-05-09 02:00:22 +00:00
parent c5d90745a0
commit aef987d832

View File

@@ -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();