mirror of
https://github.com/boostorg/python.git
synced 2026-01-26 18:52:26 +00:00
IRIX workarounds, eliminate dead header
[SVN r15526]
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
# include <boost/python/class_fwd.hpp>
|
||||
# include <boost/python/object/class.hpp>
|
||||
# include <boost/python/bases.hpp>
|
||||
# include <boost/python/args.hpp>
|
||||
|
||||
# include <boost/python/object.hpp>
|
||||
|
||||
@@ -38,6 +37,8 @@
|
||||
|
||||
namespace boost { namespace python {
|
||||
|
||||
enum no_init_t { no_init };
|
||||
|
||||
namespace detail
|
||||
{
|
||||
// This function object is used with mpl::for_each to write the id
|
||||
@@ -218,7 +219,7 @@ class class_ : public objects::class_base
|
||||
// def(name, function)
|
||||
// def(name, function, policy)
|
||||
// def(name, function, doc_string)
|
||||
// def(name, signature, stubs)
|
||||
// def(name, signature, overloads)
|
||||
|
||||
dispatch_def(&arg2, name, arg1, arg2);
|
||||
return *this;
|
||||
@@ -318,17 +319,17 @@ class class_ : public objects::class_base
|
||||
|
||||
inline void register_() const;
|
||||
|
||||
template <class StubsT, class SigT>
|
||||
template <class OverloadsT, class SigT>
|
||||
void dispatch_def(
|
||||
detail::overloads_base const*,
|
||||
char const* name,
|
||||
SigT sig,
|
||||
StubsT const& stubs)
|
||||
OverloadsT const& overloads)
|
||||
{
|
||||
// convert sig to a type_list (see detail::get_signature in signature.hpp)
|
||||
// before calling detail::define_with_defaults.
|
||||
detail::define_with_defaults(
|
||||
name, stubs, *this, detail::get_signature(sig));
|
||||
name, overloads, *this, detail::get_signature(sig));
|
||||
}
|
||||
|
||||
template <class Fn, class CallPolicyOrDoc>
|
||||
|
||||
@@ -6,16 +6,9 @@
|
||||
#ifndef CLASS_FWD_DWA200222_HPP
|
||||
# define CLASS_FWD_DWA200222_HPP
|
||||
# include <boost/python/detail/not_specified.hpp>
|
||||
# include <boost/python/args.hpp>
|
||||
# include <boost/python/bases.hpp>
|
||||
|
||||
namespace boost { namespace python {
|
||||
|
||||
namespace detail
|
||||
{
|
||||
struct empty_list;
|
||||
}
|
||||
|
||||
template <
|
||||
class T // class being wrapped
|
||||
// arbitrarily-ordered optional arguments. Full qualification needed for MSVC6
|
||||
|
||||
@@ -210,7 +210,7 @@ class array : public aux::array_base
|
||||
static BOOST_PYTHON_DECL void set_module_and_type(char const* package_name = 0, char const* type_attribute_name = 0);
|
||||
|
||||
public: // implementation detail -- for internal use only
|
||||
BOOST_PYTHON_FORWARD_OBJECT_CONSTRUCTORS(array, array_base);
|
||||
BOOST_PYTHON_FORWARD_OBJECT_CONSTRUCTORS(array, base);
|
||||
};
|
||||
|
||||
} // namespace boost::python::numeric
|
||||
|
||||
Reference in New Issue
Block a user