mirror of
https://github.com/boostorg/python.git
synced 2026-01-23 17:52:17 +00:00
bug fix
[SVN r14075]
This commit is contained in:
@@ -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> >())
|
||||
|
||||
Reference in New Issue
Block a user