mirror of
https://github.com/boostorg/python.git
synced 2026-01-27 07:02:15 +00:00
Automatic class def_init(), abstract class __init__ errors
Fixed line endings Suppressed warnings [SVN r14828]
This commit is contained in:
@@ -26,8 +26,7 @@ BOOST_PYTHON_MODULE_INIT(implicit_ext)
|
||||
.def("x_value", x_value)
|
||||
.def("make_x", make_x)
|
||||
.add(
|
||||
class_<X>("X")
|
||||
.def_init(args<int>())
|
||||
class_<X>("X", args<int>())
|
||||
.def("value", &X::value)
|
||||
.def("set", &X::set)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user