[Python-Dev] Add const to python API - issue 6952

Barry Scott barry at barrys-emacs.org
Thu Oct 22 21:31:42 CEST 2009


On 21 Oct 2009, at 06:15, Martin v. Löwis wrote:

>> I suggest following POSIX's lead and omitted the const in these  
>> cases.

Ah... Yes I see this in strstr for example.

>
> Thanks, that sounds reasonable.


This is basically what I have done in the patch I hope.
I have updated the patch to include a comment explaining
why output  param is char ** and the need for a cast.

Barry



More information about the Python-Dev mailing list