2
0
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:
Dave Abrahams
2002-09-16 04:01:33 +00:00
parent 06ed9cb5b3
commit 229ea1b679
20 changed files with 49 additions and 56 deletions

View File

@@ -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())
;