mirror of
https://github.com/python/cpython.git
synced 2024-11-24 02:15:30 +08:00
New shell script Addmodule.sh makes it easier to add a new optional
module by editing Makefile and config.c in all the right places. Used it to add most modules currently known. Added markers to help the script to Makefile and config.c.
This commit is contained in:
parent
7c4eb40a1a
commit
3a40ae4ef3
@ -220,6 +220,7 @@ extern void initcl();
|
||||
#ifdef USE_TIME
|
||||
extern void inittime();
|
||||
#endif
|
||||
/* -- ADDMODULE MARKER 1 -- */
|
||||
|
||||
struct {
|
||||
char *name;
|
||||
@ -350,5 +351,7 @@ struct {
|
||||
{"time", inittime},
|
||||
#endif
|
||||
|
||||
/* -- ADDMODULE MARKER 2 -- */
|
||||
|
||||
{0, 0} /* Sentinel */
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user