[Python-Dev] Missing #include guards/extern "C"

David Abrahams David Abrahams" <david.abrahams@rcn.com
Fri, 29 Mar 2002 16:29:28 -0500


It appears the following were missing
    #ifdef __cplusplus
    extern "C" {
    #endif

some were also missing #include guards; I didn't check all headers for
missing #include guards, just the ones without extern "C" support.

    CStringIO.h
    descrobject.h
    iterobject.h

I uploaded a patch to address the problem.

+---------------------------------------------------------------+
                  David Abrahams
      C++ Booster (http://www.boost.org)               O__  ==
      Pythonista (http://www.python.org)              c/ /'_ ==
  resume: http://users.rcn.com/abrahams/resume.html  (*) \(*) ==
          email: david.abrahams@rcn.com
+---------------------------------------------------------------+