2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-23 17:52:17 +00:00
[SVN r14075]
This commit is contained in:
Dave Abrahams
2002-06-04 03:22:37 +00:00
parent 1a0baef147
commit e36aba8c66

View File

@@ -336,7 +336,7 @@ The first form creates a Python callable
using namespace boost::python;
BOOST_PYTHON_MODULE_INIT(demo)
{
module m("demo")
module("demo")
.add(
class_<std::vector<double> >("dvec")
.def("__iter__", iterator<std::vector<double> >())