diff Objects/unicodeobject.c @ 37655:2f3f2e32dfd9 legacy-trunk

spread the extern "C" { } magic pixie dust around. Python itself builds now using a C++ compiler. Still lots and lots of errors in the modules built by setup.py, and a bunch of warnings from g++ in the core.
author Anthony Baxter <anthonybaxter@gmail.com>
date Thu, 13 Apr 2006 02:06:09 +0000
parents 1b078493d538
children b1c6a3864b1e
line wrap: on
line diff
--- a/Objects/unicodeobject.c	Thu Apr 13 02:04:42 2006 +0000
+++ b/Objects/unicodeobject.c	Thu Apr 13 02:06:09 2006 +0000
@@ -83,6 +83,11 @@
 
 */
 
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* Free list for Unicode objects */
 static PyUnicodeObject *unicode_freelist;
 static int unicode_freelist_size;
@@ -7418,6 +7423,11 @@
     unicode_freelist_size = 0;
 }
 
+#ifdef __cplusplus
+}
+#endif
+
+
 /*
 Local variables:
 c-basic-offset: 4