mirror of
https://github.com/boostorg/python.git
synced 2026-01-26 18:52:26 +00:00
Stick Joel's revisions on a branch
[SVN r15358]
This commit is contained in:
@@ -48,7 +48,7 @@ namespace {
|
||||
BOOST_PYTHON_MODULE_INIT(pickle1_ext)
|
||||
{
|
||||
using namespace boost::python;
|
||||
class_<world>("world", args<const std::string&>())
|
||||
class_<world>("world", init<const std::string&>())
|
||||
.def("greet", &world::greet)
|
||||
.def_pickle(world_pickle_suite())
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user