Chris@16: // Copyright David Abrahams 2002. Chris@16: // Distributed under the Boost Software License, Version 1.0. (See Chris@16: // accompanying file LICENSE_1_0.txt or copy at Chris@16: // http://www.boost.org/LICENSE_1_0.txt) Chris@16: #ifndef ADD_TO_NAMESPACE_DWA200286_HPP Chris@16: # define ADD_TO_NAMESPACE_DWA200286_HPP Chris@16: Chris@16: # include Chris@16: Chris@16: namespace boost { namespace python { namespace objects { Chris@16: Chris@16: // Chris@16: // A setattr that's "smart" about function overloading (and docstrings). Chris@16: // Chris@16: BOOST_PYTHON_DECL void add_to_namespace( Chris@16: object const& name_space, char const* name, object const& attribute); Chris@16: Chris@16: BOOST_PYTHON_DECL void add_to_namespace( Chris@16: object const& name_space, char const* name, object const& attribute, char const* doc); Chris@16: Chris@16: }}} // namespace boost::python::objects Chris@16: Chris@16: #endif // ADD_TO_NAMESPACE_DWA200286_HPP