
23 May
2007
23 May
'07
2:30 p.m.
Hi, Given: foo(const std::vector<double> &) Is there anything special I need to do to expose foo above? I have: ..MODULE(test) { def("foo",foo); } I've also tried: ...MODULE(test) { class_<std::vector<double> >("vector_d") .def(vector_indexing_suite<...>) ; def("foo",foo); } In both cases, I get Boost.Python throwing an error saying that the signature doesn't match when being called from Python. If there is some documentation I have overlooked, I would appreciate a pointer. Sohail