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