mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
Patch #536908: Add missing #include guards/extern "C".
This commit is contained in:
parent
df4d1377ed
commit
522cf1f6fb
3 changed files with 26 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue