Document the rule that Python.h must be included before any standard

headers.  This is the final checkin for SF bug #458768.
This commit is contained in:
Fred Drake 2001-09-06 16:30:30 +00:00
parent 9b88b4c9e8
commit 396ca574dd
2 changed files with 7 additions and 2 deletions

View file

@ -76,6 +76,9 @@ API are included in your code by the following line:
This implies inclusion of the following standard headers:
\code{<stdio.h>}, \code{<string.h>}, \code{<errno.h>},
\code{<limits.h>}, and \code{<stdlib.h>} (if available).
Since Python may define some pre-processor definitions which affect
the standard headers on some systems, you must include \file{Python.h}
before any standard headers are included.
All user visible names defined by Python.h (except those defined by
the included standard headers) have one of the prefixes \samp{Py} or