summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-05-14 19:22:11 (GMT)
committerGuido van Rossum <guido@python.org>1997-05-14 19:22:11 (GMT)
commit1cbdfb9187d14f88880a7021c1bc94196765ddc4 (patch)
treeeb50d74b5e018d22b01935522c82cb91370dd7b0 /Modules
parent4a0694d23578559cefb49c92ba4107e9997e93ca (diff)
downloadcpython-1cbdfb9187d14f88880a7021c1bc94196765ddc4.zip
cpython-1cbdfb9187d14f88880a7021c1bc94196765ddc4.tar.gz
cpython-1cbdfb9187d14f88880a7021c1bc94196765ddc4.tar.bz2
Add sections for PIL (Fred Lundh).
Diffstat (limited to 'Modules')
-rw-r--r--Modules/tkappinit.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/Modules/tkappinit.c b/Modules/tkappinit.c
index 0821760..1239da5 100644
--- a/Modules/tkappinit.c
+++ b/Modules/tkappinit.c
@@ -27,9 +27,23 @@ Tcl_AppInit (interp)
(ClientData) main, NULL);
}
#endif
+
+#ifdef WITH_PIL /* 0.2b5 and later -- not yet released as of May 14 */
+ {
+ extern void TkImaging_Init(Tcl_Interp *interp);
+ TkImaging_Init(interp);
+ }
+#endif
+
+#ifdef WITH_PIL_OLD /* 0.2b4 and earlier */
+ {
+ extern void TkImaging_Init(void);
+ TkImaging_Init();
+ }
+#endif
+
#ifdef WITH_XXX
#endif
return TCL_OK;
}
-