diff --git a/doc/v2/def_visitor.html b/doc/v2/def_visitor.html
index fa39b8a6..91361a25 100644
--- a/doc/v2/def_visitor.html
+++ b/doc/v2/def_visitor.html
@@ -129,7 +129,8 @@ void visit(classT& c, char const* name, OptionalArgs const& options) con
Example
- class my_def_visitor : boost::python::def_visitor<my_def_visitor>
+ class X {/*...*/};
+ class my_def_visitor : boost::python::def_visitor<my_def_visitor>
{
friend class def_visitor_access;
@@ -142,11 +143,10 @@ void visit(classT& c, char const* name, OptionalArgs const& options) con
;
}
- static void foo(object self);
- static void bar(object self);
+ static void foo(X& self);
+ static void bar(X& self);
};
- class X {/*...*/};
BOOST_PYTHON_MODULE(my_ext)
{
diff --git a/doc/v2/reference.html b/doc/v2/reference.html
index 9d5e3a63..5d38a223 100644
--- a/doc/v2/reference.html
+++ b/doc/v2/reference.html
@@ -96,193 +96,158 @@
-
- - class.hpp/class_fwd.hpp
-
- -
+
+
+ - class.hpp/class_fwd.hpp
+ -
+
+ - Classes
+ -
- - Classes
-
- -
-
- - class_
-
- - bases
-
-
-
-
-
- - def.hpp
-
- -
-
- - Functions
-
- -
-
- - def
-
-
-
-
-
- - enum.hpp
-
- -
-
- - Classes
-
- -
-
- - enum_
-
-
-
-
-
- - errors.hpp
-
- -
-
- - Classes
-
- -
-
- - error_already_set
-
-
-
- - Functions
-
- -
-
- - handle_exception
-
- - expect_non_null
-
- - throw_error_already_set
-
-
-
-
-
- - exception_translator.hpp
-
- -
-
- - Functions
-
- -
-
- - register_exception_translator
-
-
-
-
-
- - init.hpp
-
- -
-
- - Classes
-
- -
-
- - init
-
- - optional
-
-
-
-
-
- - iterator.hpp
-
- -
-
- - Classes
-
- -
-
- - iterator
-
- - iterators
-
-
-
- - Functions
-
- -
-
- - range
-
-
-
-
-
- - module.hpp
-
- -
-
- - Macros
-
- -
-
- - BOOST_PYTHON_MODULE
-
-
-
-
-
- - operators.hpp
-
- -
-
- - Classes
-
- -
-
- - self_t
-
- - other
-
- - operator_
-
-
-
- - Objects
-
- -
-
- - self
-
-
-
-
-
- - scope.hpp
-
- -
-
- - Classes
-
- -
-
- - scope
-
-
+ - class_
+ - bases
+
+ - def.hpp
+ -
+
+ - Functions
+ -
+
+ - def
+
+
+
+
+ - def_visitor.hpp
+ -
+
+ - Classes
+
+
+ - enum.hpp
+ -
+
+ - Classes
+ -
+
+ - enum_
+
+
+
+
+ - errors.hpp
+ -
+
+ - Classes
+ -
+
+ - error_already_set
+
+
+ - Functions
+ -
+
+ - handle_exception
+ - expect_non_null
+ - throw_error_already_set
+
+
+
+
+ - exception_translator.hpp
+ -
+
+ - Functions
+ -
+
+ - register_exception_translator
+
+
+
+
+ - init.hpp
+ -
+
+ - Classes
+ -
+
+ - init
+ - optional
+
+
+
+
+ - iterator.hpp
+ -
+
+ - Classes
+ -
+
+ - iterator
+ - iterators
+
+
+ - Functions
+ -
+
+ - range
+
+
+
+
+ - module.hpp
+ -
+
+ - Macros
+ -
+
+ - BOOST_PYTHON_MODULE
+
+
+
+
+ - operators.hpp
+ -
+
+ - Classes
+ -
+
+ - self_t
+ - other
+ - operator_
+
+
+ - Objects
+ -
+
+ - self
+
+
+
+
+ - scope.hpp
+ -
+
+ - Classes
+ -
+
+ - scope
+
+
+
+
+