Add support for extension modules in 3.0 deprection command.
[python.git] / Include / pgenheaders.h
blob2049ae32bb1d4b0342d59c19ee15138f51e0b77f
1 #ifndef Py_PGENHEADERS_H
2 #define Py_PGENHEADERS_H
3 #ifdef __cplusplus
4 extern "C" {
5 #endif
8 /* Include files and extern declarations used by most of the parser. */
10 #include "Python.h"
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)));
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
39 #ifdef __cplusplus
41 #endif
42 #endif /* !Py_PGENHEADERS_H */