[Python-checkins] CVS: python/dist/src/PC config.c,1.31,1.31.6.1
Tim Peters
tim_one@users.sourceforge.net
2001年7月02日 18:26:38 -0700
Update of /cvsroot/python/python/dist/src/PC
In directory usw-pr-cvs1:/tmp/cvs-serv25111/python/dist/src/PC
Modified Files:
Tag: descr-branch
config.c
Log Message:
Add spam module to Windows build.
BUG: The spam PyMethodDef list didn't end with a proper sentinel, causing
the Windows Python to run off into outer space (eventually died w/ a memory
error). Repeared that.
Index: config.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/PC/config.c,v
retrieving revision 1.31
retrieving revision 1.31.6.1
diff -C2 -r1.31 -r1.31.6.1
*** config.c 2001年02月02日 00:07:07 1.31
--- config.c 2001年07月03日 01:26:36 1.31.6.1
***************
*** 45,48 ****
--- 45,49 ----
extern void initxreadlines(void);
extern void init_weakref(void);
+ extern void initspam(void);
/* XXX tim: what's the purpose of ADDMODULE MARKER? */
***************
*** 98,101 ****
--- 99,104 ----
{"xreadlines", initxreadlines},
{"_weakref", init_weakref},
+
+ {"spam", initspam},
/* XXX tim: what's the purpose of ADDMODULE MARKER? */