commit | ae479ad38fcaa9009e985c6e531cfad9a43ff497 | [log] [tgz] |
---|---|---|
author | Jean-Paul Calderone <exarkun@divmod.com> | Tue Aug 10 20:04:28 2010 -0400 |
committer | Jean-Paul Calderone <exarkun@divmod.com> | Tue Aug 10 20:04:28 2010 -0400 |
tree | b4e77b9f0bdae0bb1daf8a69b6a1294f1ead54e2 | |
parent | ef853ebb5f344a2395d8ddce287b9e543d73de21 [diff] [blame] |
Plodding onward. This is going to get repetitive.
diff --git a/OpenSSL/py3k.h b/OpenSSL/py3k.h index a9e8e5c..55bcfda 100644 --- a/OpenSSL/py3k.h +++ b/OpenSSL/py3k.h
@@ -16,6 +16,7 @@ #define PyBytes_FromStringAndSize PyString_FromStringAndSize #define PyLong_FromLong PyInt_FromLong +#define PyLong_Check(o) (PyInt_Check(o) || PyLong_Check(o)) #define PyBytes_Size PyString_Size #define PyBytes_Check PyString_Check