$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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