Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/boost/python/object/add_to_namespace.hpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // Copyright David Abrahams 2002.
0002 // Distributed under the Boost Software License, Version 1.0. (See
0003 // accompanying file LICENSE_1_0.txt or copy at
0004 // http://www.boost.org/LICENSE_1_0.txt)
0005 #ifndef ADD_TO_NAMESPACE_DWA200286_HPP
0006 # define ADD_TO_NAMESPACE_DWA200286_HPP
0007 
0008 # include <boost/python/object_fwd.hpp>
0009 
0010 namespace boost { namespace python { namespace objects { 
0011 
0012 //
0013 // A setattr that's "smart" about function overloading (and docstrings).
0014 //
0015 BOOST_PYTHON_DECL void add_to_namespace(
0016     object const& name_space, char const* name, object const& attribute);
0017 
0018 BOOST_PYTHON_DECL void add_to_namespace(
0019     object const& name_space, char const* name, object const& attribute, char const* doc);
0020 
0021 }}} // namespace boost::python::objects
0022 
0023 #endif // ADD_TO_NAMESPACE_DWA200286_HPP