On Fri, Oct 11, 2002 at 07:48:52AM -0400, Guido van Rossum wrote: > > > 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... I don't really think there is much to be gained by adding protection. It's unlikely the files would be included directly by an application. Even if the files are included multiple times, the worst that should happen is a redefined warning. Neal
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4