2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-29 19:52:16 +00:00

separate overloads.hpp

BOOST_PYTHON_MODULE_INIT -> BOOST_PYTHON_MODULE


[SVN r15609]
This commit is contained in:
Dave Abrahams
2002-10-01 14:40:41 +00:00
parent c6cba55667
commit 5cd513859d
64 changed files with 130 additions and 229 deletions

View File

@@ -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>());