shared_ptr.cpp 529 B

12345678910111213141516171819
  1. // Copyright David Abrahams 2002.
  2. // Copyright Stefan Seefeld 2016.
  3. // Distributed under the Boost Software License, Version 1.0. (See
  4. // accompanying file LICENSE_1_0.txt or copy at
  5. // http://www.boost.org/LICENSE_1_0.txt)
  6. #include <boost/python/module.hpp>
  7. #include <boost/python/class.hpp>
  8. #include <boost/python/call_method.hpp>
  9. #include <boost/python/extract.hpp>
  10. #include <boost/python/def.hpp>
  11. #include <memory>
  12. using std::shared_ptr;
  13. #define MODULE shared_ptr_ext
  14. #include "shared_ptr.hpp"
  15. #include "module_tail.cpp"