[Python-checkins] r45335 - python/trunk/Modules/config.c.in

anthony.baxter python-checkins at python.org
Thu Apr 13 06:49:25 CEST 2006


Author: anthony.baxter
Date: Thu Apr 13 06:49:25 2006
New Revision: 45335

Modified:
   python/trunk/Modules/config.c.in
Log:
whoops. missed one in an auto-generated file. another extern "C" {} for C++ compiler compatibility

Modified: python/trunk/Modules/config.c.in
==============================================================================
--- python/trunk/Modules/config.c.in	(original)
+++ python/trunk/Modules/config.c.in	Thu Apr 13 06:49:25 2006
@@ -17,6 +17,10 @@
 
 #include "Python.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 
 /* -- ADDMODULE MARKER 1 -- */
 
@@ -50,3 +54,9 @@
 	/* Sentinel */
 	{0, 0}
 };
+
+
+#ifdef __cplusplus
+}
+#endif
+


More information about the Python-checkins mailing list