https://github.com/python/cpython
Raw File
Tip revision: 812245ecce2d8344c3748228047bab456816180a authored by jkriegshauser on 27 March 2024, 15:24:34 UTC
[3.10] gh-116773: Fix overlapped memory corruption crash (GH-116774) (GH-117079)
Tip revision: 812245e
compile.h
#ifndef Py_COMPILE_H
#define Py_COMPILE_H
#ifdef __cplusplus
extern "C" {
#endif

/* These definitions must match corresponding definitions in graminit.h. */
#define Py_single_input 256
#define Py_file_input 257
#define Py_eval_input 258
#define Py_func_type_input 345

/* This doesn't need to match anything */
#define Py_fstring_input 800

#ifndef Py_LIMITED_API
#  define Py_CPYTHON_COMPILE_H
#  include "cpython/compile.h"
#  undef Py_CPYTHON_COMPILE_H
#endif

#ifdef __cplusplus
}
#endif
#endif /* !Py_COMPILE_H */
back to top