[Python-Dev] Documenting the ssize_t Python C API changes (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Tue Mar 21 20:09:25 CET 2006
- Previous message: [Python-Dev] Documenting the ssize_t Python C API changes
- Next message: [Python-Dev] Documenting the ssize_t Python C API changes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Fredrik Lundh wrote:
- Usage of the "old" function pointer type name (e.g. intobjargproc) likely also indicates an error, since many of these pointers have changed there types. I believe the only exception for this is inquiry, which still has legit uses, in nbnonzero, tpclear, and tpisgc. is there a complete list of these somewhere ?
This is actually in the PEP: the new types are ssizeargfunc ssizessizeargfunc ssizeobjargproc ssizessizeobjargproc lenfunc readbufferproc writebufferproc segcountproc charbufferproc
These replace intargfunc intintargfunc intobjargproc intintobjargproc inquiry (partial) getreadbufferproc getwritebufferproc getsegcountproc getcharbufferproc
Regards, Martin
- Previous message: [Python-Dev] Documenting the ssize_t Python C API changes
- Next message: [Python-Dev] Documenting the ssize_t Python C API changes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]