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