Commits

Anonymous committed 576b7d9

Add sections for PIL (Fred Lundh).

Comments (0)

Files changed (1)

Modules/tkappinit.c

 				  (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;
 }
-