A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-October/029511.html below:

[Python-Dev] Multiple Inclusion of Header Files

[Python-Dev] Multiple Inclusion of Header Files [Python-Dev] Multiple Inclusion of Header FilesGuido van Rossum guido@python.org
Thu, 10 Oct 2002 19:58:36 -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 */

Could've been an oversight.  I notice that graminit.h and pyconfig.h
are generated files.  patchlevel.h was originally a one-liner.

Is there anything that is gained by adding those?

--Guido van Rossum (home page: http://www.python.org/~guido/)



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