diff options
Diffstat (limited to 'Modules/ccpython.cc')
-rw-r--r-- | Modules/ccpython.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Modules/ccpython.cc b/Modules/ccpython.cc new file mode 100644 index 0000000..a6e97ff --- /dev/null +++ b/Modules/ccpython.cc @@ -0,0 +1,11 @@ +/* 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); +} |