mirror of
https://github.com/boostorg/python.git
synced 2026-01-24 06:02:14 +00:00
Stick Joel's revisions on a branch
[SVN r15358]
This commit is contained in:
@@ -98,7 +98,7 @@ namespace { // Avoid cluttering the global namespace.
|
||||
BOOST_PYTHON_MODULE_INIT(pickle3_ext)
|
||||
{
|
||||
boost::python::class_<world>(
|
||||
"world", boost::python::args<const std::string&>())
|
||||
"world", boost::python::init<const std::string&>())
|
||||
.def("greet", &world::greet)
|
||||
.def("get_secret_number", &world::get_secret_number)
|
||||
.def("set_secret_number", &world::set_secret_number)
|
||||
|
||||
Reference in New Issue
Block a user