2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-30 20:12:37 +00:00

Changed args<...> to init<...> and changed class_(no_init) to class_("name", no_init)

[SVN r15345]
This commit is contained in:
Joel de Guzman
2002-09-15 21:42:49 +00:00
parent 604928adc4
commit b37198106d
20 changed files with 45 additions and 52 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)
;