[Python-checkins] commit of r41781 - python/branches/ssize_t/Include/unicodeobject.h
martin.v.loewis
python-checkins at python.org
Tue Dec 20 23:58:22 CET 2005
Author: martin.v.loewis
Date: Tue Dec 20 23:58:21 2005
New Revision: 41781
Modified:
python/branches/ssize_t/Include/unicodeobject.h
Log:
Make Unicode size Py_ssize_t.
Modified: python/branches/ssize_t/Include/unicodeobject.h
==============================================================================
--- python/branches/ssize_t/Include/unicodeobject.h (original)
+++ python/branches/ssize_t/Include/unicodeobject.h Tue Dec 20 23:58:21 2005
@@ -372,7 +372,7 @@
typedef struct {
PyObject_HEAD
- int length; /* Length of raw Unicode data in buffer */
+ Py_ssize_t length; /* Length of raw Unicode data in buffer */
Py_UNICODE *str; /* Raw Unicode buffer */
long hash; /* Hash value; -1 if not set */
PyObject *defenc; /* (Default) Encoded version as Python
More information about the Python-checkins
mailing list