[Python-Dev] Add const to python API (original) (raw)
Barry Scott barry at barrys-emacs.org
Tue Oct 20 23:03:39 CEST 2009
- Previous message: [Python-Dev] Add const to python API - issue 6952
- Next message: [Python-Dev] Add const to python API - issue 6952
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 20 Oct 2009, at 04:35, Martin v. Löwis wrote:
The patch I developed for comment only adds const to the input parameters and used casts to allow output parameters to stay without the const. What specific APIs are you talking about here?
Checking my patch I have two functions that need to have output params changed to const to avoid casting.
PyOS_strtoul - ptr
PyLong_FromString - pend
Barry
- Previous message: [Python-Dev] Add const to python API - issue 6952
- Next message: [Python-Dev] Add const to python API - issue 6952
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]