Swig: typemap for string out parameter
Olaf Trygve Berglihn
olafb at pvv.org
Fri Jun 9 07:51:24 EDT 2000
I guess some of you swig'ers can answer this easily:
I want to create a typemap for out parameter strings similar to what
swig does for int with the "int *OUTPUT". I know the length of the
string.
The C prototype would look like this:
int getNewString( const char *pInParameter,
char *pOutString,
int iOutStringLen );
Thanks!
Olaf
--
Olaf Trygve Berglihn <olafb at pvv.org> <olafb at trustix.com>
More information about the Python-list
mailing list