mirror of
https://github.com/boostorg/python.git
synced 2026-01-23 17:52:17 +00:00
Stick Joel's revisions on a branch
[SVN r15358]
This commit is contained in:
@@ -259,8 +259,8 @@ BOOST_PYTHON_MODULE_INIT(m1)
|
||||
;
|
||||
|
||||
class_<complicated>("complicated",
|
||||
args<simple const&,int>())
|
||||
.def_init(args<simple const&>())
|
||||
init<simple const&,int>())
|
||||
.def(init<simple const&>())
|
||||
.def("get_n", &complicated::get_n)
|
||||
;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user