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:
@@ -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)
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user