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:
@@ -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