summaryrefslogtreecommitdiffstats
path: root/Include/structmember.h
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-02-16 14:23:19 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-02-16 14:23:19 (GMT)
commit44e379d573289c8aa48486910eabe7d54f4f356f (patch)
tree062cdb0860208751d142298a08f830b739f16714 /Include/structmember.h
parent3eaf2b50441a3c6eac87b6dcd4f602de825de64d (diff)
downloadcpython-44e379d573289c8aa48486910eabe7d54f4f356f.zip
cpython-44e379d573289c8aa48486910eabe7d54f4f356f.tar.gz
cpython-44e379d573289c8aa48486910eabe7d54f4f356f.tar.bz2
Allow for ssize_t field offsets.
Diffstat (limited to 'Include/structmember.h')
-rw-r--r--Include/structmember.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/structmember.h b/Include/structmember.h
index 91b23d5..e761f6d 100644
--- a/Include/structmember.h
+++ b/Include/structmember.h
@@ -37,7 +37,7 @@ typedef struct PyMemberDef {
/* Current version, use this */
char *name;
int type;
- int offset;
+ Py_ssize_t offset;
int flags;
char *doc;
} PyMemberDef;