shared_ptr_deleter.hpp 605 B

12345678910111213141516171819202122
  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. namespace boost { namespace python { namespace converter {
  8. struct BOOST_PYTHON_DECL shared_ptr_deleter
  9. {
  10. shared_ptr_deleter(handle<> owner);
  11. ~shared_ptr_deleter();
  12. void operator()(void const*);
  13. handle<> owner;
  14. };
  15. }}} // namespace boost::python::converter
  16. #endif // SHARED_PTR_DELETER_DWA2002121_HPP