[Python-Dev] ssize_t question: longs in header files
Neal Norwitz
nnorwitz at gmail.com
Mon May 29 08:15:34 CEST 2006
$ grep long */*.h
minus comments, etc yields several questions about whether some
values should use Py_ssize_t rather than C longs. In particular:
* hash values
Include/abstract.h: long PyObject_Hash(PyObject *o); // also in object.h
Include/object.h:typedef long (*hashfunc)(PyObject *);
* ints: Include/intobject.h: long ob_ival;
* thread values (probably no need to change since platform dependent)
Attached is the whole list. This is just for C longs. The int list
is much bigger and coming in a different msg.
n
-------------- next part --------------
A non-text attachment was scrubbed...
Name: header-longs
Type: application/octet-stream
Size: 5349 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-dev/attachments/20060528/0039611c/attachment.obj
More information about the Python-Dev
mailing list