Kaydet (Commit) 52ae6f67 authored tarafından Martin v. Löwis's avatar Martin v. Löwis

Fake bool API for Python 2.2.

üst 89feabc7
......@@ -46,6 +46,11 @@ Copyright (C) 1994 Steen Lumholt.
#define PyMODINIT_FUNC void
#endif
#ifndef PyBool_Check
#define PyBool_Check(o) 0
#define PyBool_FromLong PyInt_FromLong
#endif
/* Starting with Tcl 8.4, many APIs offer const-correctness. Unfortunately,
making _tkinter correct for this API means to break earlier
versions. USE_COMPAT_CONST allows to make _tkinter work with both 8.4 and
......
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