[Python-checkins] r50549 - in python/branches/bcannon-sandboxing: Makefile.pre.in Python/sandbox.c

brett.cannon python-checkins at python.org
Mon Jul 10 23:53:12 CEST 2006


Author: brett.cannon
Date: Mon Jul 10 23:53:12 2006
New Revision: 50549

Added:
   python/branches/bcannon-sandboxing/Python/sandbox.c
Modified:
   python/branches/bcannon-sandboxing/Makefile.pre.in
Log:
Add Python/sandbox.c .


Modified: python/branches/bcannon-sandboxing/Makefile.pre.in
==============================================================================
--- python/branches/bcannon-sandboxing/Makefile.pre.in	(original)
+++ python/branches/bcannon-sandboxing/Makefile.pre.in	Mon Jul 10 23:53:12 2006
@@ -262,6 +262,7 @@
 		Python/mysnprintf.o \
 		Python/pyarena.o \
 		Python/pyfpe.o \
+		Python/sandbox.o \
 		Python/pystate.o \
 		Python/pythonrun.o \
 		Python/structmember.o \
@@ -539,6 +540,7 @@
 		Include/pyfpe.h \
 		Include/pymem.h \
 		Include/pyport.h \
+		Include/sandbox.h \
 		Include/pystate.h \
 		Include/pythonrun.h \
 		Include/rangeobject.h \

Added: python/branches/bcannon-sandboxing/Python/sandbox.c
==============================================================================
--- (empty file)
+++ python/branches/bcannon-sandboxing/Python/sandbox.c	Mon Jul 10 23:53:12 2006
@@ -0,0 +1,13 @@
+#include "Python.h" /* Must be defined before PySandbox_SUPPORTED check */
+
+#ifdef PySandbox_SUPPORTED
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* PySandbox_SUPPORTED */


More information about the Python-checkins mailing list