aboutsummaryrefslogtreecommitdiff
path: root/pow/pywrap/python.c
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2010-11-21 03:32:03 +0000
committerRob Austein <sra@hactrn.net>2010-11-21 03:32:03 +0000
commit2c4a0322ab62542e8554ce5bdfe83272cdd1f0a5 (patch)
tree901ce68d7623c3638d53475a7e58457a2c8f742b /pow/pywrap/python.c
parent4883b7e3e7147526a13b6adca85bed451ece63b1 (diff)
Add Michael's pywrap hack
svn path=/configure; revision=3558
Diffstat (limited to 'pow/pywrap/python.c')
-rw-r--r--pow/pywrap/python.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/pow/pywrap/python.c b/pow/pywrap/python.c
new file mode 100644
index 00000000..10638721
--- /dev/null
+++ b/pow/pywrap/python.c
@@ -0,0 +1,6 @@
+#include <Python.h>
+
+int main(int argc, char **argv)
+{
+ return Py_Main(argc, argv);
+}