1 #ifndef Py_PGENHEADERS_H 2 #define Py_PGENHEADERS_H 3 #ifdef __cplusplus 4 extern "C" { 5 #endif 6 7 8 /* Include files and extern declarations used by most of the parser. */ 9 10 #include "Python.h" 11 12 PyAPI_FUNC(void) PySys_WriteStdout(const char *format, ...) 13 Py_GCC_ATTRIBUTE((format(printf, 1, 2))); 14 PyAPI_FUNC(void) PySys_WriteStderr(const char *format, ...) 15 Py_GCC_ATTRIBUTE((format(printf, 1, 2))); 16 17 #define addarc _Py_addarc 18 #define addbit _Py_addbit 19 #define adddfa _Py_adddfa 20 #define addfirstsets _Py_addfirstsets 21 #define addlabel _Py_addlabel 22 #define addstate _Py_addstate 23 #define delbitset _Py_delbitset 24 #define dumptree _Py_dumptree 25 #define findlabel _Py_findlabel 26 #define mergebitset _Py_mergebitset 27 #define meta_grammar _Py_meta_grammar 28 #define newbitset _Py_newbitset 29 #define newgrammar _Py_newgrammar 30 #define pgen _Py_pgen 31 #define printgrammar _Py_printgrammar 32 #define printnonterminals _Py_printnonterminals 33 #define printtree _Py_printtree 34 #define samebitset _Py_samebitset 35 #define showtree _Py_showtree 36 #define tok_dump _Py_tok_dump 37 #define translatelabels _Py_translatelabels 38 39 #ifdef __cplusplus 40 } 41 #endif 42 #endif /* !Py_PGENHEADERS_H */ 43