[Python-Dev] Multiple Inclusion of Header Files

Neal Norwitz neal@metaslash.com
2002年10月10日 18:59:54 -0400


>From SF #607253, header file problems
( http://python.org/sf/607253 )
is there any reason why these files:
 graminit.h
 patchlevel.h 
 pyconfig.h (aka pyconfig.h.in)
don't protect against being included multiple times?
ie, they don't have:
 #ifndef Py_FILE_H
 #define Py_FILE_H
 /* ... */
 #endif /* !Py_FILE_H */
Neal

AltStyle によって変換されたページ (->オリジナル) /