Commit 0e1915fc authored by Robert Bradshaw's avatar Robert Bradshaw

Define PyBoolObject for Py3.

This is cleaner and has consistancy with how we handle removed PyInt* stuff.
parent afff93a1
......@@ -571,6 +571,11 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
#define PyInt_AsUnsignedLongMask PyLong_AsUnsignedLongMask
#define PyInt_AsUnsignedLongLongMask PyLong_AsUnsignedLongLongMask
#endif
#if PY_MAJOR_VERSION >= 3
#define PyBoolObject PyLongObject
#endif
""")
code.put("""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment