next iteration
This commit is contained in:
parent
01727c5a5d
commit
b5d1a95cf6
14 changed files with 94 additions and 57 deletions
|
|
@ -173,7 +173,7 @@ BOOST_PYTHON_MODULE(PyEO)
|
|||
;
|
||||
|
||||
class_<eoPop<PyEO> >("eoPop", init<>() )
|
||||
.def( init< unsigned, eoInit<PyEO>& >() )
|
||||
.def( init< unsigned, eoInit<PyEO>& >()[with_custodian_and_ward<1,3>()] )
|
||||
.def("append", &eoPop<PyEO>::append)
|
||||
.def("__str__", to_string<eoPop<PyEO> >)
|
||||
.def("__len__", &eoPop<PyEO>::size)
|
||||
|
|
|
|||
Reference in a new issue