2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-23 05:42:30 +00:00

Removing V1 Artifacts

[SVN r15592]
This commit is contained in:
Joel de Guzman
2002-10-01 00:31:57 +00:00
parent f4ba587b19
commit 7da5d6344d
28 changed files with 119 additions and 8469 deletions

View File

@@ -6,8 +6,8 @@
// The author gratefully acknowleges the support of Dragon Systems, Inc., in
// producing this work.
#include <boost/python/object/function_object.hpp>
#include <boost/python/detail/module_base.hpp>
#include <boost/python/object/function.hpp>
#include <boost/python/cast.hpp>
#include <boost/python/scope.hpp>
#include <boost/python/borrowed.hpp>
@@ -35,7 +35,7 @@ void module_base::setattr_doc(const char* name, python::object const& x, char co
{
// Use function::add_to_namespace to achieve overloading if
// appropriate.
objects::function::add_to_namespace(python::object(m_module), name, x, doc);
objects::add_to_namespace(python::object(m_module), name, x, doc);
}
void BOOST_PYTHON_DECL scope_setattr_doc(char const* name, object const& x, char const* doc)
@@ -43,7 +43,7 @@ void BOOST_PYTHON_DECL scope_setattr_doc(char const* name, object const& x, char
// Use function::add_to_namespace to achieve overloading if
// appropriate.
scope current;
objects::function::add_to_namespace(current, name, x, doc);
objects::add_to_namespace(current, name, x, doc);
}
void module_base::add(type_handle const& x)