summaryrefslogtreecommitdiffstats
path: root/Mac/Modules
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1995-06-03 21:16:40 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1995-06-03 21:16:40 (GMT)
commitf301dcac737bdd38fa919a0cfb9f52b4a1b85ed1 (patch)
tree6467a015e254913580f503a018207d4d21e00bf9 /Mac/Modules
parentc263286bc66b25a15dfa02afa7026009d2360dad (diff)
downloadcpython-f301dcac737bdd38fa919a0cfb9f52b4a1b85ed1.zip
cpython-f301dcac737bdd38fa919a0cfb9f52b4a1b85ed1.tar.gz
cpython-f301dcac737bdd38fa919a0cfb9f52b4a1b85ed1.tar.bz2
Added img stuff (within #ifdef, so they're easy to remove)
Diffstat (limited to 'Mac/Modules')
-rw-r--r--Mac/Modules/config.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/Mac/Modules/config.c b/Mac/Modules/config.c
index 8f5c16f..a802cb5 100644
--- a/Mac/Modules/config.c
+++ b/Mac/Modules/config.c
@@ -289,6 +289,18 @@ extern void initRes();
extern void initSnd();
extern void initWin();
+#define HAVE_IMG
+#ifdef HAVE_IMG
+extern void initimgcolormap();
+extern void initimgformat();
+extern void initimggif();
+extern void initimgjpeg();
+extern void initimgppm();
+extern void initimgpgm();
+extern void initimgtiff();
+extern void initimgop();
+#endif
+
/* -- ADDMODULE MARKER 1 -- */
extern void initmarshal();
@@ -346,6 +358,17 @@ struct {
{"Win", initWin},
{"Res", initRes},
+#ifdef HAVE_IMG
+ {"imgcolormap", initimgcolormap},
+ {"imgformat", initimgformat},
+ {"imggif", initimggif},
+ {"imgjpeg", initimgjpeg},
+ {"imgppm", initimgppm},
+ {"imgpgm", initimgpgm},
+ {"imgtiff", initimgtiff},
+ {"imgop", initimgop},
+#endif
+
/* -- ADDMODULE MARKER 2 -- */
/* This module "lives in" with marshal.c */