summaryrefslogtreecommitdiffstats
path: root/Include/structmember.h
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2005-03-03 23:00:26 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2005-03-03 23:00:26 (GMT)
commit96d743ec8bd6e57430116d154db0f1d9d18d2ce0 (patch)
tree92f1d5a931e85f7fce3ab3c8376f3da0eddfe07f /Include/structmember.h
parent7e78ade6f9c387aa48b595b43478741299dff3bb (diff)
downloadcpython-96d743ec8bd6e57430116d154db0f1d9d18d2ce0.zip
cpython-96d743ec8bd6e57430116d154db0f1d9d18d2ce0.tar.gz
cpython-96d743ec8bd6e57430116d154db0f1d9d18d2ce0.tar.bz2
Patch #1115086: support PY_LONGLONG in structmember.
Diffstat (limited to 'Include/structmember.h')
-rw-r--r--Include/structmember.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/structmember.h b/Include/structmember.h
index 015ca19..96d2331 100644
--- a/Include/structmember.h
+++ b/Include/structmember.h
@@ -65,6 +65,10 @@ typedef struct PyMemberDef {
#define T_OBJECT_EX 16 /* Like T_OBJECT, but raises AttributeError
when the value is NULL, instead of
converting to None. */
+#ifdef HAVE_LONG_LONG
+#define T_LONGLONG 17
+#define T_ULONGLONG 18
+#endif /* HAVE_LONG_LONG */
/* Flags */
#define READONLY 1