|
From: debutant <mic...@ho...> - 2008-09-23 13:30:28
|
Hello,
I have a the following class to wrap:
class Foo
{
public:
Foo(const std::vector<int> vint);
....
}
I can do that using the interface std_vector.i. In
that way from python I create a vector and call the
Foo constructor with that vector.
But I would like to use a python object to call the
Foo constructor from python. The object would be
a array from the module Numeric.
Do I have to use what is called a typemap ?
Thanks for any help
Debutant
--
View this message in context: http://www.nabble.com/Help-to-wrap-a-method-with-a-std%3A%3Avector-argument-tp19627706p19627706.html
Sent from the swig-user mailing list archive at Nabble.com.
|