~ubuntu-branches/ubuntu/saucy/deal.ii/saucy

« back to all changes in this revision

Viewing changes to contrib/boost/include/boost/python/object/add_to_namespace.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Adam C. Powell, IV
  • Date: 2009-05-08 23:13:50 UTC
  • Revision ID: james.westby@ubuntu.com-20090508231350-rrh1ltgi0tifabwc
Tags: upstream-6.2.0
ImportĀ upstreamĀ versionĀ 6.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Copyright David Abrahams 2002.
 
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 ADD_TO_NAMESPACE_DWA200286_HPP
 
6
# define ADD_TO_NAMESPACE_DWA200286_HPP
 
7
 
 
8
# include <boost/python/object_fwd.hpp>
 
9
 
 
10
namespace boost { namespace python { namespace objects { 
 
11
 
 
12
//
 
13
// A setattr that's "smart" about function overloading (and docstrings).
 
14
//
 
15
BOOST_PYTHON_DECL void add_to_namespace(
 
16
    object const& name_space, char const* name, object const& attribute);
 
17
 
 
18
BOOST_PYTHON_DECL void add_to_namespace(
 
19
    object const& name_space, char const* name, object const& attribute, char const* doc);
 
20
 
 
21
}}} // namespace boost::python::objects
 
22
 
 
23
#endif // ADD_TO_NAMESPACE_DWA200286_HPP