bpo-38353: Cleanup includes in the internal C API (GH-16548)
Use forward declaration of types to avoid includes in the internal C API. Add also comment to justify other includes.
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
#include "Python-ast.h"
|
||||
#undef Yield /* undefine macro conflicting with <winbase.h> */
|
||||
#include "pycore_initconfig.h"
|
||||
#include "pycore_pyerrors.h"
|
||||
#include "pycore_pyhash.h"
|
||||
#include "pycore_pylifecycle.h"
|
||||
|
||||
Reference in New Issue
Block a user