Skip to content

Commit 1627275

Browse files
author
Bruno da Silva de Oliveira
committed
- moved register_ptr_to_python up one level.
[SVN r19123]
1 parent 7e15984 commit 1627275

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

doc/v2/register_ptr_to_python.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ <h2>Contents</h2>
3333
<hr>
3434
<h2><a name="introduction"></a>Introduction</h2>
3535
<p>
36-
<code>&lt;boost/python/converter/register_ptr_to_python.hpp&gt;</code>
36+
<code>&lt;boost/python/register_ptr_to_python.hpp&gt;</code>
3737
supplies <code>register_ptr_to_python</code>, a function template
3838
which registers a conversion for smart pointers to Python. The
3939
resulting Python object holds a copy of the converted smart pointer,
@@ -48,8 +48,8 @@ <h2><a name="introduction"></a>Introduction</h2>
4848
<code>smart_ptr&lt;X&gt;&amp;</code> (non-const reference), the embedded C++
4949
object must be held by <code>smart_ptr&lt;X&gt;</code>, and that when wrapped
5050
objects are created by calling the constructor from Python, how they are held
51-
is determined by the <code>HeldType</code> parameter to class_&lt;...&gt;
52-
instances.
51+
is determined by the <code>HeldType</code> parameter to
52+
<code>class_&lt;...&gt;</code> instances.
5353
</p>
5454

5555
<h2><a name="functions"></a>Functions</h2>

include/boost/python.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,14 @@
4343
# include <boost/python/object.hpp>
4444
# include <boost/python/object_protocol.hpp>
4545
# include <boost/python/object_protocol_core.hpp>
46-
# include <boost/python/operators.hpp>
4746
# include <boost/python/opaque_pointer_converter.hpp>
47+
# include <boost/python/operators.hpp>
4848
# include <boost/python/other.hpp>
4949
# include <boost/python/overloads.hpp>
5050
# include <boost/python/pointee.hpp>
5151
# include <boost/python/ptr.hpp>
5252
# include <boost/python/reference_existing_object.hpp>
53+
# include <boost/python/register_ptr_to_python.hpp>
5354
# include <boost/python/return_internal_reference.hpp>
5455
# include <boost/python/return_opaque_pointer.hpp>
5556
# include <boost/python/return_value_policy.hpp>
@@ -63,6 +64,5 @@
6364
# include <boost/python/tuple.hpp>
6465
# include <boost/python/type_id.hpp>
6566
# include <boost/python/with_custodian_and_ward.hpp>
66-
# include <boost/python/converter/register_ptr_to_python.hpp>
6767

6868
#endif // PYTHON_DWA2002810_HPP
File renamed without changes.

0 commit comments

Comments
 (0)