[Python-Dev] Baffled by PyArg_ParseTupleAndKeywords modification
Tim Peters
tim.peters at gmail.com
Fri Feb 10 18:27:35 CET 2006
[Jeremy]
>> It looks like a solution may be to define it as "const char * const *"
>> rather than "const char **". I'll see if that works.
[Jeremy]
> No. It doesn't work. I'm not sure about this one either, but some
> searching suggests that you can pass a char** to a function taking
> const char* const* in C++ but not in C.
Oops! I think that's right.
> Sigh. I don't see any way to avoid a warning in Jack's case.
Martin's turn ;-)
More information about the Python-Dev
mailing list