[C++-sig] Exporting STL List to Python
by Andrew Ellem other posts by this author
Oct 23 2003 4:55PM messages near this date
[C++-sig] Re: Exporting STL List to Python
|
[C++-sig] fat class decoration
I'm trying to export a STL list to Python, but I'm having problems
when the list type is a pointer. So, list<int> works, but list<int *>
causes the error:
TypeError: No to_python (by-value) converter found for C++ type: int *
Is there something special I have to do with pointers?
I've attached my sample program (which works as expected if the int*
list is changed to int).
Thanks,
Andrew Ellem
Attachments:
iterator.cpp
unknown2
iterator.cpp
unknown1
unknown2
|