2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-26 06:42:27 +00:00

Moved to python_v2_API_restructure branch

[SVN r15354]
This commit is contained in:
Joel de Guzman
2002-09-16 03:01:35 +00:00
parent f355be8ac5
commit 6b96eca21b
22 changed files with 60 additions and 160 deletions

View File

@@ -137,8 +137,8 @@ BOOST_PYTHON_MODULE_INIT(callbacks_ext)
def("apply_to_string_literal", apply_to_string_literal);
class_<X>("X", args<int>())
.def_init(args<X const&>())
class_<X>("X", init<int>())
.def(init<X const&>())
.def("value", &X::value)
.def("set", &X::set)
;