mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00: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
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue