mirror of
https://github.com/boostorg/python.git
synced 2026-01-24 06:02:14 +00:00
bugfix
[SVN r14022]
This commit is contained in:
@@ -105,7 +105,7 @@ using namespace boost::python;
|
||||
BOOST_PYTHON_MODULE_INIT(my_module)
|
||||
{
|
||||
module("my_module")
|
||||
.def("make_foo", make_foo)
|
||||
.def("make_foo", make_foo, return_value_policy<manage_new_object>)
|
||||
.add(
|
||||
class_<Foo>()
|
||||
.def("get_x", &Foo::get_x)
|
||||
|
||||
Reference in New Issue
Block a user