[Python-Dev] Multiple Inclusion of Header Files

Guido van Rossum guido@python.org
2002年10月11日 07:48:52 -0400


> > 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?
>> I think they cannot possibly be included multiple times in a correct
> application, since a correct application does not directly include
> them, anyway.

But that's true of any .h file that's included by Python.h, isn't it?
And there's only a handful of .h files that Python.h doesn't include...
--Guido van Rossum (home page: http://www.python.org/~guido/)

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