• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 freegrammar _Py_freegrammar
27 #define mergebitset _Py_mergebitset
28 #define meta_grammar _Py_meta_grammar
29 #define newbitset _Py_newbitset
30 #define newgrammar _Py_newgrammar
31 #define pgen _Py_pgen
32 #define printgrammar _Py_printgrammar
33 #define printnonterminals _Py_printnonterminals
34 #define printtree _Py_printtree
35 #define samebitset _Py_samebitset
36 #define showtree _Py_showtree
37 #define tok_dump _Py_tok_dump
38 #define translatelabels _Py_translatelabels
39 
40 #ifdef __cplusplus
41 }
42 #endif
43 #endif /* !Py_PGENHEADERS_H */
44