mirror of
https://github.com/boostorg/python.git
synced 2026-01-22 05:22:45 +00:00
Moved to python_v2_API_restructure branch
[SVN r15354]
This commit is contained in:
@@ -27,7 +27,7 @@ BOOST_PYTHON_MODULE_INIT(implicit_ext)
|
||||
def("x_value", x_value);
|
||||
def("make_x", make_x);
|
||||
|
||||
class_<X>("X", args<int>())
|
||||
class_<X>("X", init<int>())
|
||||
.def("value", &X::value)
|
||||
.def("set", &X::set)
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user