2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-23 17:52:17 +00:00

Moved to python_v2_API_restructure branch

[SVN r15354]
This commit is contained in:
Joel de Guzman
2002-09-16 03:01:35 +00:00
parent f355be8ac5
commit 6b96eca21b
22 changed files with 60 additions and 160 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())
;