2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-22 05:22:45 +00:00

Stick Joel's revisions on a branch

[SVN r15358]
This commit is contained in:
Dave Abrahams
2002-09-16 04:01:33 +00:00
parent 06ed9cb5b3
commit 229ea1b679
20 changed files with 49 additions and 56 deletions

View File

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