mirror of
https://github.com/python/cpython.git
synced 2024-11-30 05:15:14 +08:00
12 lines
220 B
C++
12 lines
220 B
C++
|
/* Minimal main program -- everything is loaded from the library */
|
||
|
|
||
|
#include "Python.h"
|
||
|
|
||
|
extern "C"
|
||
|
DL_EXPORT(int) Py_Main( int argc, char *argv[] );
|
||
|
|
||
|
int main( int argc, char *argv[] )
|
||
|
{
|
||
|
return Py_Main(argc, argv);
|
||
|
}
|