sl@0
|
1 |
// Copyright Stefan Seefeld 2005.
|
sl@0
|
2 |
// Distributed under the Boost Software License, Version 1.0. (See
|
sl@0
|
3 |
// accompanying file LICENSE_1_0.txt or copy at
|
sl@0
|
4 |
// http://www.boost.org/LICENSE_1_0.txt)
|
sl@0
|
5 |
#ifndef IMPORT_SS20050624_HPP
|
sl@0
|
6 |
# define IMPORT_SS20050624_HPP
|
sl@0
|
7 |
|
sl@0
|
8 |
# include <boost/python/object.hpp>
|
sl@0
|
9 |
# include <boost/python/str.hpp>
|
sl@0
|
10 |
|
sl@0
|
11 |
namespace boost
|
sl@0
|
12 |
{
|
sl@0
|
13 |
namespace python
|
sl@0
|
14 |
{
|
sl@0
|
15 |
|
sl@0
|
16 |
// Import the named module and return a reference to it.
|
sl@0
|
17 |
object BOOST_PYTHON_DECL import(str name);
|
sl@0
|
18 |
|
sl@0
|
19 |
}
|
sl@0
|
20 |
}
|
sl@0
|
21 |
|
sl@0
|
22 |
#endif
|