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 SHARED_PTR_DELETER_DWA2002121_HPP Chris@16: # define SHARED_PTR_DELETER_DWA2002121_HPP Chris@16: Chris@16: namespace boost { namespace python { namespace converter { Chris@16: Chris@16: struct BOOST_PYTHON_DECL shared_ptr_deleter Chris@16: { Chris@16: shared_ptr_deleter(handle<> owner); Chris@16: ~shared_ptr_deleter(); Chris@16: Chris@16: void operator()(void const*); Chris@16: Chris@16: handle<> owner; Chris@16: }; Chris@16: Chris@16: }}} // namespace boost::python::converter Chris@16: Chris@16: #endif // SHARED_PTR_DELETER_DWA2002121_HPP