mirror of
https://github.com/boostorg/python.git
synced 2026-01-22 05:22:45 +00:00
Merge Trunk changes to RC_1_29_0
[SVN r15732]
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
// "as is" without express or implied warranty, and with no claim as
|
||||
// to its suitability for any purpose.
|
||||
#include <boost/python/class.hpp>
|
||||
#include <boost/python/module_init.hpp>
|
||||
#include <boost/python/module.hpp>
|
||||
#include <boost/python/def.hpp>
|
||||
#include <boost/python/has_back_reference.hpp>
|
||||
#include <boost/python/back_reference.hpp>
|
||||
@@ -87,7 +87,7 @@ bool y_equality(back_reference<Y const&> y1, Y const& y2)
|
||||
return &y1.get() == &y2;
|
||||
}
|
||||
|
||||
BOOST_PYTHON_MODULE_INIT(back_reference_ext)
|
||||
BOOST_PYTHON_MODULE(back_reference_ext)
|
||||
{
|
||||
def("copy_Y", copy_Y, return_value_policy<copy_const_reference>());
|
||||
def("copy_Z", copy_Z, return_value_policy<copy_const_reference>());
|
||||
|
||||
Reference in New Issue
Block a user