mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
frozenmain.c is now also in the library,
with entry point Py_FrozenMain().
This commit is contained in:
parent
b3afce5763
commit
a94145118a
2 changed files with 2 additions and 6 deletions
|
@ -38,7 +38,7 @@ OBJS= \
|
||||||
bltinmodule.o \
|
bltinmodule.o \
|
||||||
ceval.o compile.o \
|
ceval.o compile.o \
|
||||||
errors.o \
|
errors.o \
|
||||||
frozen.o \
|
frozen.o frozenmain.o \
|
||||||
getargs.o getcompiler.o getcopyright.o getmtime.o \
|
getargs.o getcompiler.o getcopyright.o getmtime.o \
|
||||||
getplatform.o getversion.o graminit.o \
|
getplatform.o getversion.o graminit.o \
|
||||||
import.o importdl.o \
|
import.o importdl.o \
|
||||||
|
|
|
@ -33,14 +33,10 @@ PERFORMANCE OF THIS SOFTWARE.
|
||||||
|
|
||||||
#include "Python.h"
|
#include "Python.h"
|
||||||
|
|
||||||
/* Subroutines that live in their own file */
|
|
||||||
extern char *Py_GetVersion();
|
|
||||||
extern char *Py_GetCopyright();
|
|
||||||
|
|
||||||
/* Main program */
|
/* Main program */
|
||||||
|
|
||||||
int
|
int
|
||||||
main(argc, argv)
|
Py_FrozenMain(argc, argv)
|
||||||
int argc;
|
int argc;
|
||||||
char **argv;
|
char **argv;
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue