diff options
author | Dwayne Litzenberger <dlitz@dlitz.net> | 2013-07-14 16:41:02 -0700 |
---|---|---|
committer | Dwayne Litzenberger <dlitz@dlitz.net> | 2013-07-14 19:14:35 -0700 |
commit | 539b46f390d6fe0b67ae059c56d4102935de84ce (patch) | |
tree | 217e5796307a41bc922dccb36492d1dccbaf906e /src/pycrypto_compat.h | |
parent | 96579d92769c47adbaa00f8407b85f93eb856c66 (diff) | |
download | pycrypto-539b46f390d6fe0b67ae059c56d4102935de84ce.tar.gz |
Py3k cleanup: PyVarObject_HEAD_INIT
Diffstat (limited to 'src/pycrypto_compat.h')
-rw-r--r-- | src/pycrypto_compat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pycrypto_compat.h b/src/pycrypto_compat.h index 804e54a..a5a713b 100644 --- a/src/pycrypto_compat.h +++ b/src/pycrypto_compat.h @@ -48,6 +48,7 @@ # define PyLong_MASK MASK # define PyLong_SHIFT SHIFT # define PyUnicode_FromString PyString_FromString +# define PyVarObject_HEAD_INIT(a,b) PyObject_HEAD_INIT(a) 0, # endif # if PY_MINOR_VERSION <= 1 /* Python 2.1 only */ # define METH_O METH_OLDARGS /* METH_O is a subset of what METH_OLDARGS provides */ |