Returning a string list output from C to Python

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Returning a string list output from C to Python

Rajagopal NS

I have a C API , the signature of which is

int getStringList ( char *input, char *** pNames, int *pCount);

Here pNames and pCount are output. pNames is a string array output from the
API and pCount is the number of strings in output.

Is there any typemap which converts char*** into python string list

Regards
Raj



--
View this message in context: http://swig.10945.n7.nabble.com/Returning-a-string-list-output-from-C-to-Python-tp14839.html
Sent from the swig-user mailing list archive at Nabble.com.





--
Regards
N.S.Rajagopal

------------------------------------------------------------------------------

_______________________________________________
Swig-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/swig-user