[C++-sig] Exporting STL List to Python
alellem at uwaterloo.ca
Fri Oct 24 01:58:49 CEST 2003
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).
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Cplusplus-sig