Chris@16: // Copyright David Abrahams 2002. Chris@16: // Distributed under the Boost Software License, Version 1.0. (See Chris@16: // accompanying file LICENSE_1_0.txt or copy at Chris@16: // http://www.boost.org/LICENSE_1_0.txt) Chris@16: #ifndef BORROWED_DWA2002614_HPP Chris@16: # define BORROWED_DWA2002614_HPP Chris@16: Chris@16: # include Chris@16: # include Chris@16: Chris@16: namespace boost { namespace python { Chris@16: Chris@16: template Chris@16: inline python::detail::borrowed* borrowed(T* p) Chris@16: { Chris@16: return (detail::borrowed*)p; Chris@16: } Chris@16: Chris@16: }} // namespace boost::python Chris@16: Chris@16: #endif // BORROWED_DWA2002614_HPP