diff options
author | Guido van Rossum <guido@python.org> | 1994-09-14 13:32:22 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1994-09-14 13:32:22 (GMT) |
commit | 602099a7560ab65cd3e0fde9a3defc9e2beb9d87 (patch) | |
tree | dfc4b4549b3466e81bccd5ceac4bc25ae926089e /Modules/_tkinter.c | |
parent | a96720907a040a331f4a75c254a6172daa7273e7 (diff) | |
download | cpython-602099a7560ab65cd3e0fde9a3defc9e2beb9d87.zip cpython-602099a7560ab65cd3e0fde9a3defc9e2beb9d87.tar.gz cpython-602099a7560ab65cd3e0fde9a3defc9e2beb9d87.tar.bz2 |
* various modules: #include "Python.h" and remove most remporary
renaming hacks
Diffstat (limited to 'Modules/_tkinter.c')
-rw-r--r-- | Modules/_tkinter.c | 30 |
1 files changed, 2 insertions, 28 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c index 63a3bf9..03ed827 100644 --- a/Modules/_tkinter.c +++ b/Modules/_tkinter.c @@ -1,35 +1,9 @@ /* tkintermodule.c -- Interface to libtk.a and libtcl.a. Copyright (C) 1994 Steen Lumholt */ -#if 0 -#include <Py/Python.h> -#else - -#include "allobjects.h" -#include "pythonrun.h" -#include "intrcheck.h" -#include "modsupport.h" -#include "sysmodule.h" - -#ifndef PyObject -#define PyObject object -typedef struct methodlist PyMethodDef; -#endif -#define PyInit_tkinter inittkinter - -#undef Py_True -#define Py_True ((object *) &TrueObject) -#undef True - -#undef Py_False -#define Py_False ((object *) &FalseObject) -#undef False +#include <Python.h> -#undef Py_None -#define Py_None (&NoObject) -#undef None - -#endif /* 0 */ +#define PyInit_tkinter inittkinter #include <tcl.h> #include <tk.h> |