ass_ >("PyVec")
.def(boost::python::vector_indexing_suite >());
}
Is this all I need? Do I need to define __getitem__ ? If this is all I
need how do I use it in main()?
Also does anyone know of any good resources for embedding in boost.python?
Thanks!
On Sat, Jan 9
Hello,
I'm trying to expose some data that I develop in C++ to python. Basically,
the reverse of this sample code:
#include
#include
#include
#include
int main(){
Py_Initialize();
object main_module = import("__main__");
object main_namespace = main_module.attr("__d