|
Boost Users : |
From: Sohail Somani (s.somani_at_[hidden])
Date: 2007-05-23 10:30:19
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net