My Project
Loading...
Searching...
No Matches
Functions
intvec_wrap.h File Reference

Go to the source code of this file.

Functions

void export_intvec ()
 

Function Documentation

◆ export_intvec()

void export_intvec ( )

Definition at line 30 of file intvec_wrap.cc.

30 {
31boost::python::class_<Intvec>("IntVector")
32 .def("__str__", intvec_as_str)
33 .def(boost::python::init <>())
34 .def(boost::python::vector_indexing_suite<Intvec>());
35}
static boost::python::object intvec_as_str(const Intvec &p)
Definition: intvec_wrap.cc:10