Patch #536908: Add missing #include guards/extern "C".

This commit is contained in:
Martin v. Löwis 2002-03-30 08:57:12 +00:00
parent df4d1377ed
commit 522cf1f6fb
3 changed files with 26 additions and 0 deletions

View file

@ -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 */