os/ossrv/ossrv_pub/boost_apis/boost/python/import.hpp
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/ossrv/ossrv_pub/boost_apis/boost/python/import.hpp	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,22 @@
     1.4 +// Copyright Stefan Seefeld 2005.
     1.5 +// Distributed under the Boost Software License, Version 1.0. (See
     1.6 +// accompanying file LICENSE_1_0.txt or copy at
     1.7 +// http://www.boost.org/LICENSE_1_0.txt)
     1.8 +#ifndef IMPORT_SS20050624_HPP
     1.9 +# define IMPORT_SS20050624_HPP
    1.10 +
    1.11 +# include <boost/python/object.hpp>
    1.12 +# include <boost/python/str.hpp>
    1.13 +
    1.14 +namespace boost 
    1.15 +{ 
    1.16 +namespace python 
    1.17 +{
    1.18 +
    1.19 +// Import the named module and return a reference to it.
    1.20 +object BOOST_PYTHON_DECL import(str name);
    1.21 +
    1.22 +}
    1.23 +}
    1.24 +
    1.25 +#endif