summaryrefslogtreecommitdiffstats
path: root/Include/cStringIO.h
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-03-30 08:57:12 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-03-30 08:57:12 (GMT)
commit522cf1f6fb2dab78702af1f1f06b0855fab75149 (patch)
tree335bb4e2454d3f44951890ee32ce7ebbcf3ff2ca /Include/cStringIO.h
parentdf4d1377ed103f157a5ba36601ddd03624d2223d (diff)
downloadcpython-522cf1f6fb2dab78702af1f1f06b0855fab75149.zip
cpython-522cf1f6fb2dab78702af1f1f06b0855fab75149.tar.gz
cpython-522cf1f6fb2dab78702af1f1f06b0855fab75149.tar.bz2
Patch #536908: Add missing #include guards/extern "C".
Diffstat (limited to 'Include/cStringIO.h')
-rw-r--r--Include/cStringIO.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Include/cStringIO.h b/Include/cStringIO.h
index cb8f337..fa3fcd7 100644
--- a/Include/cStringIO.h
+++ b/Include/cStringIO.h
@@ -1,5 +1,8 @@
#ifndef CSTRINGIO_INCLUDED
#define CSTRINGIO_INCLUDED
+#ifdef __cplusplus
+extern "C" {
+#endif
/*
cStringIO.h,v 1.4 1997/12/07 14:27:00 jim Exp
@@ -128,4 +131,7 @@ xxxPyCObject_Import(char *module_name, char *name)
#define PycString_IMPORT \
PycStringIO=(struct PycStringIO_CAPI*)xxxPyCObject_Import("cStringIO", "cStringIO_CAPI")
+#ifdef __cplusplus
+}
+#endif
#endif /* CSTRINGIO_INCLUDED */