1 // Copyright David Abrahams 2002. 2 // Distributed under the Boost Software License, Version 1.0. (See 3 // accompanying file LICENSE_1_0.txt or copy at 4 // http://www.boost.org/LICENSE_1_0.txt) 5 #ifndef SHARED_PTR_DELETER_DWA2002121_HPP 6 # define SHARED_PTR_DELETER_DWA2002121_HPP 7 8 namespace boost { namespace python { namespace converter { 9 10 struct BOOST_PYTHON_DECL shared_ptr_deleter 11 { 12 shared_ptr_deleter(handle<> owner); 13 ~shared_ptr_deleter(); 14 15 void operator()(void const*); 16 17 handle<> owner; 18 }; 19 20 }}} // namespace boost::python::converter 21 22 #endif // SHARED_PTR_DELETER_DWA2002121_HPP 23