import.hpp 476 B

12345678910111213141516171819202122
  1. // Copyright Stefan Seefeld 2005.
  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 IMPORT_SS20050624_HPP
  6. # define IMPORT_SS20050624_HPP
  7. # include <boost/python/object.hpp>
  8. # include <boost/python/str.hpp>
  9. namespace boost
  10. {
  11. namespace python
  12. {
  13. // Import the named module and return a reference to it.
  14. object BOOST_PYTHON_DECL import(str name);
  15. }
  16. }
  17. #endif