From 4e08379891ba67b93fb9d238e4c064ab92c81787 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 16 Dec 1999 17:52:08 +0000 Subject: Patch and new file by Geoff Furnish for C++ compilation. --- Modules/ccpython.cc | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Modules/ccpython.cc (limited to 'Modules/ccpython.cc') diff --git a/Modules/ccpython.cc b/Modules/ccpython.cc new file mode 100644 index 0000000000..a6e97ff6a5 --- /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); +} -- cgit v1.2.1