FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

frozenmain.c is now also in the library, · python/cpython@a941451 · GitHub

Repository navigation

Commit a941451

Browse files
committed
frozenmain.c is now also in the library,
with entry point Py_FrozenMain().
1 parent b3afce5 commit a941451

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

‎Python/Makefile.in‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ OBJS= \
3838
bltinmodule.o \
3939
ceval.o compile.o \
4040
errors.o \
41-
frozen.o \
41+
frozen.o frozenmain.o \
4242
getargs.o getcompiler.o getcopyright.o getmtime.o \
4343
getplatform.o getversion.o graminit.o \
4444
import.o importdl.o \

‎Python/frozenmain.c‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,10 @@ PERFORMANCE OF THIS SOFTWARE.
3333

3434
#include "Python.h"
3535

36-
/* Subroutines that live in their own file */
37-
extern char *Py_GetVersion();
38-
extern char *Py_GetCopyright();
39-
4036
/* Main program */
4137

4238
int
43-
main(argc, argv)
39+
Py_FrozenMain(argc, argv)
4440
int argc;
4541
char **argv;
4642
{

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL